olivetin/docs/modules/ROOT/pages/api/misc.adoc

21 lines
476 B
Plaintext

= Misc API calls
== Example API call: Get the dashboard buttons ("components")
.curl
----
user@host: curl http://olivetinServer:1337/api/GetDashboardComponents
----
== Example API call: readyz Healthcheck
This is useful for configuring healthchecks in docker containers, or on Kubernetes.
.curl
----
user@host: curl http://olivetinServer:1337/api/readyz
{"status": "ok"}
----
The response will always be "status: ok" to indicate that the API is up, or it will timeout.