version¶
GET¶
-
GET
/version
¶ Provide the version number of the software running.
Request Headers: - Accept-Encoding – Accept the
gzip
coding.
Response Headers: - Content-Type – Will be
application/json; charset=UTF-8
.
Status Codes: - 200 OK – Resuslts found.
Note
This resource does not require authentication.
Example Requests
GET /version HTTP/1.1 Host: api.kernelci.org Accept: */*
Example Responses
HTTP/1.1 200 OK Vary: Accept-Encoding Date: Mon, 24 Nov 2014 18:08:12 GMT Content-Type: application/json; charset=UTF-8 { "code": 200, "result": [ { "version": "2014.11", "full_version": "2014.11" } ] }
- Accept-Encoding – Accept the
POST¶
Caution
Not implemented. Will return a status code
of 501
.
DELETE¶
Caution
Not implemented. Will return a status code
of 501
.