dags

Update a business calendar

Changed on

Replaces a calendar file's content. Content with problems is not saved; the problems are returned instead. Requires the write_dags permission and the developer role or above.

put/calendars/{name}

Request

  • Base URL
    http://localhost/api/v1
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or none

Path parameters

namestring required

Name of a business calendar: a built-in one, or the file <name>.yaml in paths.calendars_dir

name of the calendar

Query parameters

remoteNodestring

name of the remote node

Request body

specstring required

The calendar file's content

Response

The calendar was saved when errors is empty

errorsstring[] required

Problems that kept the calendar from being saved, each starting with its [line:column] when it has one

warningsstring[] required

Changes