summaryrefslogtreecommitdiff
path: root/doc/api/notification_settings.md
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-11-08 23:52:45 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-11-08 23:52:45 +0800
commit62735ef8fafd941ffe34432c0685078a4b4c4744 (patch)
tree6bb3bfb15839f31cb42ab65cf2bcf0879eef0c5b /doc/api/notification_settings.md
parent3744d629e894afa3cb54c7edd2b61e0f17deb34f (diff)
downloadgitlab-ce-62735ef8fafd941ffe34432c0685078a4b4c4744.tar.gz
Add failed_pipeline and success_pipeline to API doc
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6342#note_17981448
Diffstat (limited to 'doc/api/notification_settings.md')
-rw-r--r--doc/api/notification_settings.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/api/notification_settings.md b/doc/api/notification_settings.md
index b3ceaf296a2..aea1c12a392 100644
--- a/doc/api/notification_settings.md
+++ b/doc/api/notification_settings.md
@@ -79,6 +79,8 @@ curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab
| `close_merge_request` | boolean | no | Enable/disable this notification |
| `reassign_merge_request` | boolean | no | Enable/disable this notification |
| `merge_merge_request` | boolean | no | Enable/disable this notification |
+| `failed_pipeline` | boolean | no | Enable/disable this notification |
+| `success_pipeline` | boolean | no | Enable/disable this notification |
Example response:
@@ -143,6 +145,8 @@ curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab
| `close_merge_request` | boolean | no | Enable/disable this notification |
| `reassign_merge_request` | boolean | no | Enable/disable this notification |
| `merge_merge_request` | boolean | no | Enable/disable this notification |
+| `failed_pipeline` | boolean | no | Enable/disable this notification |
+| `success_pipeline` | boolean | no | Enable/disable this notification |
Example responses:
@@ -163,7 +167,9 @@ Example responses:
"reopen_merge_request": false,
"close_merge_request": false,
"reassign_merge_request": false,
- "merge_merge_request": false
+ "merge_merge_request": false,
+ "failed_pipeline": false,
+ "success_pipeline": false
}
}
```