diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-06-09 18:32:17 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-06-13 14:10:31 +0200 |
commit | b27012d9754fd5e4c6013b2e96f0226b724a1ac3 (patch) | |
tree | 3173ff9aa6489d9705fd6622142923dad3d8d19a /doc/ci/api/runners.md | |
parent | 30ee4ea6659c91ac6a249d700a9fcdd266676942 (diff) | |
download | gitlab-ce-update-ci-api-docs.tar.gz |
Update CI API docsupdate-ci-api-docs
- Move ci/api under api/ci
- Clean up builds.md and runners.md
- Replace old links with new ones
- Add CI API links in ci/README.md
Diffstat (limited to 'doc/ci/api/runners.md')
-rw-r--r-- | doc/ci/api/runners.md | 45 |
1 files changed, 1 insertions, 44 deletions
diff --git a/doc/ci/api/runners.md b/doc/ci/api/runners.md index 2f01da4bd76..b14ea99db76 100644 --- a/doc/ci/api/runners.md +++ b/doc/ci/api/runners.md @@ -1,46 +1,3 @@ # Runners API -API used by runners to register and delete themselves. - -_**Note:** This API is intended to be used only by Runners as their own -communication channel. For the consumer API see the -[new Runners API](../../api/runners.md)._ - -## Authentication - -This API uses two types of authentication: - -1. Unique runner's token - - Token assigned to runner after it has been registered. - -2. Using runners' registration token - - This is a token that can be found in project's settings. - It can be also found in Admin area » Runners settings. - - There are two types of tokens you can pass - shared runner registration - token or project specific registration token. - -## Runners - -### Register a new runner - -Used to make GitLab CI aware of available runners. - - POST /ci/api/v1/runners/register - -Parameters: - - * `token` (required) - Registration token - - -### Delete a runner - -Used to remove runner. - - DELETE /ci/api/v1/runners/delete - -Parameters: - - * `token` (required) - Unique runner token +This document was moved to a [new location](../../api/ci/runners.md). |