{ "opencollection": "1.0.0", "info": { "name": "OpsGenie Account Rotations API", "version": "2.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Rotations", "type": "folder" }, "items": [ { "info": { "name": "List schedule rotations", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/schedules/:identifier/rotations", "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": "Lists the rotations within the specified schedule." }, { "info": { "name": "Create schedule rotation", "type": "http" }, "http": { "method": "POST", "url": "https://api.opsgenie.com/v2/schedules/:identifier/rotations", "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": "Creates a new rotation within the specified schedule." }, { "info": { "name": "Get schedule rotation", "type": "http" }, "http": { "method": "GET", "url": "https://api.opsgenie.com/v2/schedules/:identifier/rotations/:rotationId", "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": "rotationId", "value": "", "type": "path", "description": "Identifier of the rotation." } ] }, "docs": "Retrieves the details of a specific rotation." }, { "info": { "name": "Update schedule rotation", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.opsgenie.com/v2/schedules/:identifier/rotations/:rotationId", "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": "rotationId", "value": "", "type": "path", "description": "Identifier of the rotation." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified rotation within a schedule." }, { "info": { "name": "Delete schedule rotation", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.opsgenie.com/v2/schedules/:identifier/rotations/:rotationId", "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": "rotationId", "value": "", "type": "path", "description": "Identifier of the rotation." } ] }, "docs": "Deletes the specified rotation from the schedule." } ] } ], "bundled": true }