Health check endpoint
curl --request GET \
--url https://albus.sh/api/healthimport requests
url = "https://albus.sh/api/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://albus.sh/api/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "ok"
}{
"status": "ok"
}Health
Health check endpoint
Returns 200 OK if the service is healthy
GET
/
health
Health check endpoint
curl --request GET \
--url https://albus.sh/api/healthimport requests
url = "https://albus.sh/api/health"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://albus.sh/api/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "ok"
}{
"status": "ok"
}Response
Service is healthy
Example:
"ok"