On-call

Add an override

Has a team member cover the schedule from starts_at to ends_at, at most 90 days. Overrides win over every layer; where overrides overlap, the newest wins.

post/on-call-schedules/{schedule}/overrides

Request

  • Base URL
    https://api.spectate.net/v1
  • Auth
    HTTP bearer

Path parameters

schedulestring uuid required

Schedule ID.

Request body

member_idstring uuid required

The member who covers

starts_atstring date-time required

From when, as an ISO 8601 date and time

ends_atstring date-time required

Until when; after starts_at

notestring nullable

Why, for the team; up to 500 characters

Example request

{
  "note": "Covering for Jane's holiday"
}

Response

The new override.

idstring uuid required

Override ID

starts_atstring date-time required

From when

ends_atstring date-time required

Until when

notestring nullable required

Why, for the team

created_atstring date-time required

When it was added

Example response

{
  "member": {
    "name": "Jane Doe",
    "email": "jane@example.com"
  },
  "note": "Covering for Jane's holiday",
  "created_by": {
    "name": "Jane Doe",
    "email": "jane@example.com"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.