Schedules

Returns a dictionary with hosts as keys and schedules as values on a given range of dates

Changed on
get/schedules/hosts_range

Request

  • Base URL
    https://quads.example.com/api/v3
  • URL
    https://quads.example.com/api/v3/schedules/hosts_range
  • Auth
    none declared

Query parameters

startstring

start date

endstring

end date

Response

ScheduleHostsRange

hoststring

Example response

{
  "host": "host.example.com",
  "schedules": [
    {
      "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