Maintenance Windows
- A maintenance window is used to ignore incoming requests from integrations during a specified time frame.
- A maintenance window can be attached to one or more integrations.
Property | Type | Description |
---|---|---|
name | string | The name of the maintenance window. |
start_datetime | datetime | The start datetime of this maintenance window. |
end_datetime | datetime | The end datetime of this maintenance window. |
time_zone | string | The time zone this maintenance window will respect. (See event time zones for the list of all available time zone names.) |
integration_ids | string[] |
POST https://api.pagertree.com/api/v4/maintenance_windows
def maintenance_window_params
params.permit(
:name,
:description,
:start_datetime,
:end_datetime,
:time_zone,
integration_ids: []
)
end
- name
- start_datetime
- end_datetime
- time_zone
- at least 1 integration_id
GET https://api.pagertree.com/api/v4/maintenance_windows/:id
PUT https://api.pagertree.com/api/v4/maintenance_windows/:id
DELETE https://api.pagertree.com/api/v4/maintenance_windows/:id
GET https://api.pagertree.com/api/v4/maintenance_windows
Last modified 5mo ago