diff options
author | Thomas Wood <grand.edgemaster@gmail.com> | 2016-05-08 09:38:24 +0100 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@users.noreply.github.com> | 2016-05-08 11:38:24 +0300 |
commit | e129df53e1760b678b8c478787bf69253f8a1eaf (patch) | |
tree | c2e429f0294d5bdd6bfc477b278c61950e766a20 /doc/api | |
parent | b0131f779338d00e3a742e3c9dd1d9e44251a063 (diff) | |
download | gitlab-ce-e129df53e1760b678b8c478787bf69253f8a1eaf.tar.gz |
Update build triggers API documentation (#10153)
Update build triggers API documentation
[ci skip]
* Ensure updated/deleted timestamps are consistent
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/build_triggers.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/api/build_triggers.md b/doc/api/build_triggers.md index 4a12e962b62..0881a7d7a90 100644 --- a/doc/api/build_triggers.md +++ b/doc/api/build_triggers.md @@ -101,8 +101,18 @@ DELETE /projects/:id/triggers/:token | Attribute | Type | required | Description | |-----------|---------|----------|--------------------------| | `id` | integer | yes | The ID of a project | -| `token` | string | yes | The `token` of a project | +| `token` | string | yes | The `token` of a trigger | ``` curl -X DELETE -H "PRIVATE_TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/triggers/7b9148c158980bbd9bcea92c17522d" ``` + +```json +{ + "created_at": "2015-12-23T16:25:56.760Z", + "deleted_at": "2015-12-24T12:32:20.100Z", + "last_used": null, + "token": "7b9148c158980bbd9bcea92c17522d", + "updated_at": "2015-12-24T12:32:20.100Z" +} +``` |