This API is used to query the start time and end time of maintenance time windows.
GET /v2/instances/maintain-windows
None
Status code: 200
Parameter |
Type |
Description |
|---|---|---|
maintain_windows |
Array of MaintainWindowsEntity objects |
List of supported maintenance time windows. |
GET https://{endpoint}/v2/instances/maintain-windows
Status code: 200
Query succeeded.
{
"maintain_windows" : [ {
"default" : false,
"seq" : 1,
"begin" : "22",
"end" : "02"
}, {
"default" : true,
"seq" : 2,
"begin" : "02",
"end" : "06"
}, {
"default" : false,
"seq" : 3,
"begin" : "06",
"end" : "10"
}, {
"default" : false,
"seq" : 4,
"begin" : "10",
"end" : "14"
}, {
"default" : false,
"seq" : 5,
"begin" : "14",
"end" : "18"
}, {
"default" : false,
"seq" : 6,
"begin" : "18",
"end" : "22"
} ]
}
Status Code |
Description |
|---|---|
200 |
Query succeeded. |
See Error Codes.