diff --git a/docs/notifications.md b/docs/notifications.md index 31aba6bb1..494c18d5a 100644 --- a/docs/notifications.md +++ b/docs/notifications.md @@ -36,6 +36,11 @@ notify: headers: [{'Content-Type': 'application/json'}] endpoint: https://usagge.hipchat.com/v2/room/3729485/notification?auth_token=mySecretToken content: '{"color":"green","message":"New package published: * {{ name }}*","notify":true,"message_format":"text"}' + 'example-stride': + method: POST + headers: [{'Content-Type': 'application/json'}, {'authorization': 'Bearer secretToken'}] + endpoint: https://api.atlassian.com/site/{cloudId}/conversation/{conversationId}/message + content: '{"body": {"version": 1,"type": "doc","content": [{"type": "paragraph","content": [{"type": "text","text": "New package published: * {{ name }}* Publisher name: * {{ publisher.name }}"}]}]}}' ``` ### Publisher information @@ -73,4 +78,4 @@ packagePattern| string | No | all | | Only run this notification if the package packagePatternFlags| string | No | all | | Any flags to be used with the regular expression headers| array/object | Yes | all | | If this endpoint requires specific headers, set them here as an array of key: value objects. endpoint| string | Yes | all | | set the URL endpoint for this call -content| string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions \ No newline at end of file +content| string | Yes | all | | any [handlebar](https://handlebarsjs.com/) expressions