GET /{stack}/adminconfig/v2/maintenance-windows/preferences/available-windows
Changed onReturns all available windows for a given stack that a customer can choose as 'Preferred time and day of week'. The response groups available days by predefined regional off-hours time slots, with days ordered by availability (most available first). If start and end query parameters are provided, they must match one of the predefined time slots to filter results to that specific time slot only.
Request
- Base URLhttps://admin.splunk.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The name of the stack.
Query parameters
Start time of a predefined regional off-hours time slot in HH:MM UTC format. Must match one of the predefined time slots and be provided together with the corresponding end parameter.
End time of a predefined regional off-hours time slot in HH:MM UTC format. Must match one of the predefined time slots and be provided together with the corresponding start parameter.
Response
successfully listed all available windows for preference selection
Example response
{
"availableWindows": [
{
"daysOfWeek": [
"Monday"
],
"timeSlot": {
"end": "21:00",
"start": "13:00"
}
}
]
}Changes
- info
endpoint added
- info