Whether the API and its database are up
curl --request GET \
--url https://patch.gg/api/v1/healthconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/health"
response = requests.get(url)
print(response.text){
"ok": true,
"environment": "<string>",
"commit": "<string>"
}Meta
Whether the API and its database are up
GET
/
health
Whether the API and its database are up
curl --request GET \
--url https://patch.gg/api/v1/healthconst options = {method: 'GET'};
fetch('https://patch.gg/api/v1/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://patch.gg/api/v1/health"
response = requests.get(url)
print(response.text){
"ok": true,
"environment": "<string>",
"commit": "<string>"
}