Schedules

Update an existing schedule

Changed on
patch/schedules/{schedule_id}

Request

  • Base URL
    https://quads.example.com/api/v3
  • URL
    https://quads.example.com/api/v3/schedules/{schedule_id}
  • Auth
    HTTP bearer

Path parameters

schedule_idstring required

Schedule ID

Request body

startstring

Accepted as naive input; responses serialize as RFC 1123 GMT (real UTC)

endstring

Accepted as naive input; responses serialize as RFC 1123 GMT (real UTC)

build_startstring

Accepted as naive input; responses serialize as RFC 1123 GMT (real UTC)

build_endstring

Accepted as naive input; responses serialize as RFC 1123 GMT (real UTC)

assignment_idinteger
host_idinteger

Example request

{
  "start": "2022-02-02T22:00",
  "end": "2022-04-02T22:00",
  "build_start": "2022-02-02T22:00",
  "build_end": "2022-04-02T22:00",
  "assignment_id": 12,
  "host_id": 1
}

Response

Schedule

startstring

Accepted as naive input; responses serialize as RFC 1123 GMT (real UTC)

endstring

Accepted as naive input; responses serialize as RFC 1123 GMT (real UTC)

build_startstring

Accepted as naive input; responses serialize as RFC 1123 GMT (real UTC)

build_endstring

Accepted as naive input; responses serialize as RFC 1123 GMT (real UTC)

assignment_idinteger
host_idinteger

Example response

{
  "start": "2022-02-02T22:00",
  "end": "2022-04-02T22:00",
  "build_start": "2022-02-02T22:00",
  "build_end": "2022-04-02T22:00",
  "assignment_id": 12,
  "host_id": 1
}

Changes