Documentation for the info property of /runners missing
The file "doc/api/runners.md" is lacking documentation for the "info" property within the "Register a new Runner" section.
And here is an example request sent to the server by the current gitlab-runner
POST https://gitlab.example.com/api/v4/runners HTTP/1.1
Host: gitlab.example.com
User-Agent: gitlab-runner 10.8.0 (; go1.8.7; linux/amd64)
Content-Length: 359
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip
{"description":"myRunnerDescription","tag_list":"myRunnerTags,docker","run_untagged":true,"locked":false,"info":{"name":"gitlab-runner","version":"10.8.0","revision":"079aad9e","platform":"linux","architecture":"amd64","features":{"variables":false,"image":false,"services":false,"features":false,"cache":false,"shared":false}},"token":"<<<INSERT-TOKEN-HERE>>>"}
And than the server responds with this:
HTTP/1.1 201 Created
Server: nginx
Date: Sun, 10 Jun 2018 01:05:07 GMT
Content-Type: application/json
Content-Length: 50
Connection: keep-alive
Cache-Control: max-age=0, private, must-revalidate
Etag: W/"31e687fc02ea75e5a8a9753a62d23a0b"
Vary: Origin
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Request-Id: 957d0829-5ba9-4347-9ece-52c64f5cf5b7
X-Runtime: 0.144760
Strict-Transport-Security: max-age=31536000
{"id":34,"token":"<<<INSERT-RUNNER-TOKEN-HERE>>>"}
Also "maximum_timeout" if specified, leads to a 404 response of the api (EDIT: Solved now, temporary server issue, not related to any gitlab issue).
Edited by Klaus Frank