v1

latestOpenAPI 3.0.0GPLv32026-07-17661855.6 KB
Schedules

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

get/schedules/hosts_range/

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
    }
  ]
}