Health check
curl --request GET \
--url https://api.nebyoulous.space/healthconst options = {method: 'GET'};
fetch('https://api.nebyoulous.space/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nebyoulous.space/health"
response = requests.get(url)
print(response.text){
"status": "ok",
"db": "connected",
"userCount": 0,
"timestamp": "<string>",
"debug": {}
}{
"code": "SERVICE_UNAVAILABLE",
"message": "<string>",
"status": "error",
"db": "disconnected",
"timestamp": "<string>",
"debug": {}
}System
Health check
GET
/
health
Health check
curl --request GET \
--url https://api.nebyoulous.space/healthconst options = {method: 'GET'};
fetch('https://api.nebyoulous.space/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.nebyoulous.space/health"
response = requests.get(url)
print(response.text){
"status": "ok",
"db": "connected",
"userCount": 0,
"timestamp": "<string>",
"debug": {}
}{
"code": "SERVICE_UNAVAILABLE",
"message": "<string>",
"status": "error",
"db": "disconnected",
"timestamp": "<string>",
"debug": {}
}