summaryrefslogtreecommitdiff
path: root/doc/api/pipeline_triggers.md
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-03-06 12:00:15 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-03-06 12:00:15 +0100
commitd5f7060400a06d98f9e7107949aca8d89eaba7a8 (patch)
tree59654b4ea96870ebb3bf1bf8f56e18509adc5924 /doc/api/pipeline_triggers.md
parent01f99bd26910bb2b0480c44e752bdc7de107cfb1 (diff)
downloadgitlab-ce-d5f7060400a06d98f9e7107949aca8d89eaba7a8.tar.gz
Rename `/take` to `/take_ownership`, expose `owner` in `v3`.
Diffstat (limited to 'doc/api/pipeline_triggers.md')
-rw-r--r--doc/api/pipeline_triggers.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/pipeline_triggers.md b/doc/api/pipeline_triggers.md
index a26bdfdbfca..fdb41a1d615 100644
--- a/doc/api/pipeline_triggers.md
+++ b/doc/api/pipeline_triggers.md
@@ -128,7 +128,7 @@ curl --request PUT --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" --form descrip
Update an owner of a project trigger.
```
-POST /projects/:id/triggers/:trigger_id/take
+POST /projects/:id/triggers/:trigger_id/take_ownership
```
| Attribute | Type | required | Description |
@@ -136,7 +136,7 @@ POST /projects/:id/triggers/:trigger_id/take
| `trigger_id` | integer | yes | The trigger id |
```
-curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/triggers/10/take"
+curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/triggers/10/take_ownership"
```
```json