Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 897 Bytes

api.md

File metadata and controls

42 lines (28 loc) · 897 Bytes

REST API

GET /health

Get health information of this CKE instance.

Successful response

  • HTTP status code: 200 OK
  • HTTP response header: Content-Type: application/json
  • HTTP response body: Health information of this CKE instance. The response is {"health":"healthy"}

Failure response

  • HTTP status code: 500 Internal Server Error
  • HTTP response header: Content-Type: application/json
  • HTTP response body: Health information of this CKE instance. The response is {"health":"unhealthy"}

Example

$ curl http://localhost:10180/health
{"health":"healthy"}

GET /version

Get current CKE version.

Successful response

  • HTTP status code: 200 OK
  • HTTP response header: Content-Type: application/json
  • HTTP response body: Current CKE version.

Example

$ curl http://localhost:10180/version
{"version":"1.15.5"}