Liveness check
LiveGET
/api/v1/healthCheck whether the server is running normally.
Headers
| Field | Type | Required | Description |
|---|---|---|---|
| X-Request-Id | string | — | Your correlation id — echoed back as request_uuid (recommended) |
Response
Fields in data
| Field | Type | Required | Description |
|---|---|---|---|
| status | string | — | "ok" while the process is up |
| service | string | — | Service name — always "web-api" |
| version | string | — | Service version |
Response example
{
"success": true,
"code": 0,
"message": "สำเร็จ",
"data": {
"status": "ok",
"service": "web-api",
"version": "0.0.1"
},
"request_uuid": "9c5e1a7d-3f28-4b60-8d94-e2b7c0f6a153"
}