Healthcheck
The status of the API.
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
GET |
/api/status |
load |
The Health Check is successful |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
healthcheck, err := client.Healthcheck(nil).Load(nil, nil)
if err != nil {
panic(err)
}
fmt.Println(healthcheck)
Lua
Construct client as shown in the Lua setup, then call the operations:
local healthcheck, err = client:Healthcheck():load()
PHP
Construct client as shown in the PHP setup, then call the operations:
$healthcheck = $client->Healthcheck()->load();
Python
Construct client as shown in the Python setup, then call the operations:
healthcheck = client.Healthcheck().load()
Ruby
Construct client as shown in the Ruby setup, then call the operations:
healthcheck = client.Healthcheck.load()
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const healthcheck = await client.Healthcheck().load()
Fields
| Field | Type | Required | Description |
|---|---|---|---|
details |
object |
No | Details |
error |
object |
No | Error |
info |
object |
No | Info |
status |
string |
No | Status |
load
GET /api/status
Operation ID: HealthCheckController_checkStatus.
Responses
200: The Health Check is successful
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
object |
No | |
error |
object |
No | |
info |
object |
No | |
status |
string |
No |
503: The Health Check is not successful
application/json
| Property | Type | Required | Description |
|---|---|---|---|
details |
object |
No | |
error |
object |
No | |
info |
object |
No | |
status |
string |
No |