dags

Modifies the YAML specification of a DAG definition

put/dags/{fileName}/spec

Request

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

Path parameters

fileNamestring regex required

Name of the DAG file

the name of the DAG file

Query parameters

remoteNodestring

name of the remote node

Request body

specstring required

The new DAG spec in YAML format

expectedSha256string

Lowercase hex SHA-256 of the file that the client edited. When set and different from the current file, the server writes nothing and returns 409.

Response

A successful response

errorsstring[] required

List of errors in the spec

sha256string required

Lowercase hex SHA-256 of the bytes written

Changes

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • warning

      added the new conflict enum value to the response property for the response status

    • warning

      added the new human_task_resume_failed enum value to the response property for the response status

    • warning

      added the new payload_too_large enum value to the response property for the response status