summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-07 11:55:50 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-07 11:55:50 -0800
commitb1556fb6954e13dafa168b63cc163fbbd525b5b4 (patch)
tree4bcc18fe1e65dce017996c29bf588fdcaf4d8871 /doc/api
parentbc888be80a83aa1955c1fec218ed03a9c3c99a20 (diff)
downloadgitlab-ci-b1556fb6954e13dafa168b63cc163fbbd525b5b4.tar.gz
Update docs
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/runners.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/api/runners.md b/doc/api/runners.md
index c82703c..9e33f7b 100644
--- a/doc/api/runners.md
+++ b/doc/api/runners.md
@@ -29,7 +29,7 @@ Returns:
### Register a new runner
-__Authentication is done by GitLab CI runners registration token__
+__Authentication is done by GitLab CI runners registration token or CI project token__
Used to make Gitlab CI aware of available runners.
@@ -37,7 +37,10 @@ Used to make Gitlab CI aware of available runners.
Parameters:
- * `token` (required) - The unique token of runner
+ * `token` (required) - The registration token. It is 2 types of token you can pass here.
+
+1. Global registration token (admins only) at /admin/runners
+2. Project token for project-specific runners
Returns: