ephraimbuddy commented on a change in pull request #19758:
URL: https://github.com/apache/airflow/pull/19758#discussion_r823439581
##########
File path: airflow/api_connexion/openapi/v1.yaml
##########
@@ -404,25 +408,56 @@ paths:
- $ref: '#/components/parameters/PageOffset'
- $ref: '#/components/parameters/OrderBy'
- $ref: '#/components/parameters/FilterTags'
- - name: only_active
+ - $ref: '#/components/parameters/OnlyActive'
+ - name: dag_id_pattern
in: query
schema:
- type: boolean
- default: true
+ type: string
required: false
description: |
- Only return active DAGs.
+ If set, only return DAGs with dag_ids matching this pattern.
+ responses:
+ '200':
+ description: Success.
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/DAGCollection'
+ '401':
+ $ref: '#/components/responses/Unauthenticated'
- *New in version 2.1.1*
+ patch:
+ summary: Update DAGs
+ description: >
+ Update DAGs of a given dag_id_pattern using UpdateMask.
+
+ This endpoint allows specifying `~` as the dag_id_pattern to retrieve
DAG runs for all DAGs.
Review comment:
```suggestion
This endpoint allows specifying `~` as the dag_id_pattern to update
all DAGs.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]