dags

Create a business calendar

Changed on

Creates the calendar file <name>.yaml. Without spec, the file starts as Monday to Friday with no holidays. Requires the write_dags permission and the developer role or above.

post/calendars

Request

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

Query parameters

remoteNodestring

name of the remote node

Request body

namestring required

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

specstring

The calendar file's content; a template when omitted

Response

Calendar created

namestring required

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

Changes