action apache_patch_dags { label: "Update DAGs" description: "Update DAGs of a given dag_id_pattern using UpdateMask.\nThis endpoint allows specifying `~` as the dag_id_pattern to update all DAGs.\n*New in version 2.3.0*\n" provider: apache method: PATCH path: "/dags" encoding: json input: { type: "object" properties: { dag_id: { type: "string" description: "The ID of the DAG." } dag_id_pattern: { type: "string" } default_view: { type: "string" description: "Default view of the DAG inside the webserver\n\n*New in version 2.3.0*\n" } description: { type: "string" description: "User-provided DAG description, which can consist of several sentences or paragraphs that describe DAG contents.\n" } file_token: { type: "string" description: "The key containing the encrypted path to the file. Encryption and decryption take place only on the server. This prevents the client from reading an non-DAG file. This also ensures API extensibility, because the format of encrypted data may change.\n" } fileloc: { type: "string" description: "The absolute path to the file." } has_import_errors: { type: "boolean" description: "Whether the DAG has import errors\n\n*New in version 2.3.0*\n" } has_task_concurrency_limits: { type: "boolean" description: "Whether the DAG has task concurrency limits\n\n*New in version 2.3.0*\n" } is_active: { type: "boolean" description: "Whether the DAG is currently seen by the scheduler(s).\n\n*New in version 2.1.1*\n\n*Changed in version 2.2.0*: Field is read-only.\n" } is_paused: { type: "boolean" description: "Whether the DAG is paused." } is_subdag: { type: "boolean" description: "Whether the DAG is SubDAG." } last_expired: { type: "string" format: "date-time" description: "Time when the DAG last received a refresh signal\n(e.g. the DAG's \"refresh\" button was clicked in the web UI)\n\n*New in version 2.3.0*\n" } last_parsed_time: { type: "string" format: "date-time" description: "The last time the DAG was parsed.\n\n*New in version 2.3.0*\n" } last_pickled: { type: "string" format: "date-time" description: "The last time the DAG was pickled.\n\n*New in version 2.3.0*\n" } limit: { type: "integer" } max_active_runs: { type: "integer" description: "Maximum number of active DAG runs for the DAG\n\n*New in version 2.3.0*\n" } max_active_tasks: { type: "integer" description: "Maximum number of active tasks that can be run on the DAG\n\n*New in version 2.3.0*\n" } next_dagrun: { type: "string" format: "date-time" description: "The logical date of the next dag run.\n\n*New in version 2.3.0*\n" } next_dagrun_create_after: { type: "string" format: "date-time" description: "Earliest time at which this ``next_dagrun`` can be created.\n\n*New in version 2.3.0*\n" } next_dagrun_data_interval_end: { type: "string" format: "date-time" description: "The end of the interval of the next dag run.\n\n*New in version 2.3.0*\n" } next_dagrun_data_interval_start: { type: "string" format: "date-time" description: "The start of the interval of the next dag run.\n\n*New in version 2.3.0*\n" } offset: { type: "integer" } only_active: { type: "boolean" } owners: { type: "array" items: { type: "string" } } pickle_id: { type: "string" description: "Foreign key to the latest pickle_id\n\n*New in version 2.3.0*\n" } root_dag_id: { type: "string" description: "If the DAG is SubDAG then it is the top level DAG identifier. Otherwise, null." } schedule_interval: { description: "Schedule interval. Defines how often DAG runs, this object gets added to your latest task instance's\nexecution_date to figure out the next schedule.\n" type: "object" } scheduler_lock: { type: "boolean" description: "Whether (one of) the scheduler is scheduling this DAG at the moment\n\n*New in version 2.3.0*\n" } tags: { type: "array" items: { type: "string" } } timetable_description: { type: "string" description: "Timetable/Schedule Interval description.\n\n*New in version 2.3.0*\n" } update_mask: { type: "array" items: { type: "string" } } } required: ["dag_id_pattern"] additionalProperties: false } output: { type: "object" description: "Collection of DAGs.\n\n*Changed in version 2.1.0*: 'total_entries' field is added.\n" } }