Schedules

Add a new schedule

Changed on

When the cloud's active assignment is a self-schedule, start is set to now and end is derived from selfservice.yml settings. Otherwise start and end are required in the request body.

post/schedules/

Request

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

Request body

hostnamestring required
cloudstring required
startstring
endstring

Example request

{
  "hostname": "host.example.com",
  "cloud": "cloud04",
  "start": "2024-06-02 22:00",
  "end": "2024-07-02 22:00"
}

Response

Created

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status

    • breaking

      removed the success response with the status

    • info

      added the success response with the status