summaryrefslogtreecommitdiff
path: root/doc/api/pipeline_triggers.md
diff options
context:
space:
mode:
authorJohan Brandhorst <johan@cognitivelogic.com>2017-03-22 12:18:06 +0000
committerJohan Brandhorst <johan@cognitivelogic.com>2017-03-22 12:18:06 +0000
commit7f94bdda59c7127fcb2bc7a211d8fdc53dbbb0a0 (patch)
tree1e2c5fd2839456459b25ed4763d51929e4f2d0b9 /doc/api/pipeline_triggers.md
parent85ffd85a2bde09691784adb32395ad2c5a3ff909 (diff)
downloadgitlab-ce-7f94bdda59c7127fcb2bc7a211d8fdc53dbbb0a0.tar.gz
Correct pipeline trigger GET functionality.
This was ambiguously defined, update parameters to match the example and the definition.
Diffstat (limited to 'doc/api/pipeline_triggers.md')
-rw-r--r--doc/api/pipeline_triggers.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/pipeline_triggers.md b/doc/api/pipeline_triggers.md
index fdb41a1d615..c554e5f1964 100644
--- a/doc/api/pipeline_triggers.md
+++ b/doc/api/pipeline_triggers.md
@@ -41,10 +41,10 @@ Get details of project's build trigger.
GET /projects/:id/triggers/:trigger_id
```
-| Attribute | Type | required | Description |
-|-----------|---------|----------|--------------------------|
-| `id` | integer | yes | The ID of a project |
-| `token` | string | yes | The `token` of a trigger |
+| Attribute | Type | required | Description |
+|--------------|---------|----------|--------------------------|
+| `id` | integer | yes | The ID of a project |
+| `trigger_id` | integer | yes | The trigger id |
```
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/triggers/5"