{ "opencollection": "1.0.0", "info": { "name": "OpsGenie Account Schedules API", "version": "2.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Schedules", "type": "folder" }, "items": [ { "info": { "name": "List schedules", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/schedules", "params": [ { "name": "expand", "value": "", "type": "query", "description": "Comma-separated list of fields to include in the response." } ] }, "docs": "Returns a list of all on-call schedules in the account." }, { "info": { "name": "Create schedule", "type": "http" }, "http": { "method": "POST", "url": "https://api.opsgenie.com/v2/schedules", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new on-call schedule with the specified configuration including rotations and time restrictions." }, { "info": { "name": "Get schedule", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/schedules/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the schedule, which can be the schedule ID or name." }, { "name": "identifierType", "value": "", "type": "query", "description": "Type of the identifier. Possible values are id or name." } ] }, "docs": "Retrieves the details of a specific schedule by ID or name." }, { "info": { "name": "Update schedule", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.opsgenie.com/v2/schedules/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the schedule, which can be the schedule ID or name." }, { "name": "identifierType", "value": "", "type": "query", "description": "Type of the identifier. Possible values are id or name." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified schedule's configuration." }, { "info": { "name": "Delete schedule", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.opsgenie.com/v2/schedules/:identifier", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the schedule, which can be the schedule ID or name." }, { "name": "identifierType", "value": "", "type": "query", "description": "Type of the identifier. Possible values are id or name." } ] }, "docs": "Deletes the specified schedule." }, { "info": { "name": "Get schedule timeline", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/schedules/:identifier/timeline", "params": [ { "name": "identifier", "value": "", "type": "path", "description": "Identifier of the schedule, which can be the schedule ID or name." }, { "name": "identifierType", "value": "", "type": "query", "description": "Type of the identifier. Possible values are id or name." }, { "name": "intervalUnit", "value": "", "type": "query", "description": "Unit of the time interval for the timeline." }, { "name": "interval", "value": "", "type": "query", "description": "Length of the time interval." }, { "name": "date", "value": "", "type": "query", "description": "Start date for the timeline in ISO 8601 format." } ] }, "docs": "Retrieves the timeline view showing on-call periods for the specified schedule within a given time interval." } ] } ], "bundled": true }