Verifica lo stato del servizio
curl --request GET \
--url https://app.gestionesala.com/api/v1/healthconst options = {method: 'GET'};
fetch('https://app.gestionesala.com/api/v1/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.gestionesala.com/api/v1/health"
response = requests.get(url)
print(response.text){
"status": "ok",
"time": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"fields": [
"<string>"
],
"requiredScope": "<string>",
"reason": "<string>",
"alternatives": [
{
"time": "<string>",
"startsAt": "2023-11-07T05:31:56Z",
"endsAt": "2023-11-07T05:31:56Z",
"turnTimeMinutes": 123,
"seats": 123,
"overflowsShift": true
}
]
},
"requestId": "<string>"
}
}Meta
Verifica lo stato del servizio
Verifica che il servizio e il database rispondano. Non richiede autenticazione.
GET
/
health
Verifica lo stato del servizio
curl --request GET \
--url https://app.gestionesala.com/api/v1/healthconst options = {method: 'GET'};
fetch('https://app.gestionesala.com/api/v1/health', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.gestionesala.com/api/v1/health"
response = requests.get(url)
print(response.text){
"status": "ok",
"time": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"fields": [
"<string>"
],
"requiredScope": "<string>",
"reason": "<string>",
"alternatives": [
{
"time": "<string>",
"startsAt": "2023-11-07T05:31:56Z",
"endsAt": "2023-11-07T05:31:56Z",
"turnTimeMinutes": 123,
"seats": 123,
"overflowsShift": true
}
]
},
"requestId": "<string>"
}
}
