Complete the code to define the endpoint path for uptime status.
GET /api/[1]/statusThe endpoint path for checking uptime is usually '/uptime'.
Complete the code to specify the HTTP method for retrieving SLA data.
[1] /api/sla/dataGET method is used to retrieve data without modifying it.
Fix the error in the JSON response key for uptime percentage.
{
"uptime_[1]": 99.95
}The correct key name is 'uptime_percentage' to clearly indicate the value.
Fill both blanks to filter SLA records by minimum uptime and sort order.
GET /api/sla/records?min_uptime=[1]&sort=[2]
We filter records with minimum uptime 99.9 and sort them in ascending order.
Fill all three blanks to create a JSON payload for updating SLA thresholds.
{
"[1]": [2],
"[3]": 99.99
}The payload sets 'min_uptime' to 100 and 'max_downtime' to 99.99.
