Health check
curl --request GET \
--url https://api.watchdog.no/healthconst options = {method: 'GET'};
fetch('https://api.watchdog.no/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.watchdog.no/health"
response = requests.get(url)
print(response.text){
"status": "ok",
"commit": "<string>"
}operations
Health check
Returns 200 when the API process is up. No dependency checks.
Health check
curl --request GET \
--url https://api.watchdog.no/healthconst options = {method: 'GET'};
fetch('https://api.watchdog.no/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.watchdog.no/health"
response = requests.get(url)
print(response.text){
"status": "ok",
"commit": "<string>"
}