On-call

Get who is on call

Who is on call at at (default now). shift is null during a gap.

get/on-call-schedules/{schedule}/now

Request

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

Path parameters

schedulestring uuid required

Schedule ID.

Query parameters

atstring date-time

The moment, ISO 8601. Default now.

Response

Who is on call at that moment.

Example response

{
  "shift": {
    "member": {
      "name": "Jane Doe",
      "email": "jane@example.com"
    }
  }
}

Changes

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