Correct pipeline trigger GET functionality.
This was ambiguously defined, update parameters to match the example and the definition.
This commit is contained in:
parent
85ffd85a2b
commit
7f94bdda59
|
@ -42,9 +42,9 @@ 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"
|
||||||
|
|
Loading…
Reference in New Issue