User facing API #
wtf-go
v0.1.0
Request
curl -X GET "http://localhost:8081/api/v0/misc/version" \ -H "Content-Type: application/json"
Response
{
"go": "go1.20.3",
"modified": true,
"platform": "linux/amd64",
"revision": "d4e5f6a",
"time": "2024-10-06T09:25:27Z"
}
#GET
/misc/health
Return the health status of the API
Responses
503
The API is currently unavailable
Request
curl -X GET "http://localhost:8081/api/v0/misc/health" \ -H "Content-Type: application/json"
Response
{
"status": "OK"
}
100%