Uptime
GET/project/:id/uptime
Return uptimes by days
Request
Path Parameters
id stringrequired
A unique project ID
Example: 5e9602e7a39e5a46428b457f
Query Parameters
Responses
- 200
Response times
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
from date-time
Example:
2022-11-25T00:00:00+01:00
to date-time
Example:
2022-12-01T14:10:08+01:00
daysCount int32
Number of days in the period
Example:
6
isUptimeEnabled boolean
Is uptime enabled for this project
Example:
true
uptime
object
Uptime for the whole period
up number
Example:
97.856313311777
down number
Example:
1.2870556603245
timeout number
Example:
0.85663102789809
uptimeByDays
object[]
Uptime by days (can be empty if uptime data is not available)
date date-time
Example:
2022-11-25T00:00:00+01:00
up number
Example:
99.853140098274
down number
Example:
0.14685990172585
timeout int32
Example:
0
{
"from": "2022-11-25T00:00:00+01:00",
"to": "2022-12-01T14:10:08+01:00",
"daysCount": 6,
"isUptimeEnabled": true,
"uptime": {
"up": 97.856313311777,
"down": 1.2870556603245,
"timeout": 0.85663102789809
},
"uptimeByDays": [
{
"date": "2022-11-25T00:00:00+01:00",
"up": 99.853140098274,
"down": 0.14685990172585,
"timeout": 0
}
]
}