Correct pipeline trigger GET functionality.

This was ambiguously defined, update parameters to match the example and the definition.
This commit is contained in:
Johan Brandhorst 2017-03-22 12:18:06 +00:00
parent 85ffd85a2b
commit 7f94bdda59
1 changed files with 4 additions and 4 deletions

View File

@ -41,10 +41,10 @@ Get details of project's build trigger.
GET /projects/:id/triggers/:trigger_id GET /projects/:id/triggers/:trigger_id
``` ```
| Attribute | Type | required | Description | | Attribute | Type | required | Description |
|-----------|---------|----------|--------------------------| |--------------|---------|----------|--------------------------|
| `id` | integer | yes | The ID of a project | | `id` | integer | yes | The ID of a project |
| `token` | string | yes | The `token` of a trigger | | `trigger_id` | integer | yes | The trigger id |
``` ```
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/triggers/5" curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/triggers/5"