ephraimbuddy commented on code in PR #40441:
URL: https://github.com/apache/airflow/pull/40441#discussion_r1673019104
##########
airflow/api_connexion/openapi/v1.yaml:
##########
@@ -1720,6 +1720,65 @@ paths:
"404":
$ref: "#/components/responses/NotFound"
+
/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/tries/{task_try_number}:
+ get:
+ summary: get taskinstance try
+ description: |
+ Get details of a task instance try.
+
+ *New in version 2.10.0*
+ x-openapi-router-controller:
airflow.api_connexion.endpoints.task_instance_endpoint
+ operationId: get_task_instance_try_details
+ tags: [TaskInstance]
+ parameters:
+ - $ref: "#/components/parameters/DAGID"
+ - $ref: "#/components/parameters/DAGRunID"
+ - $ref: "#/components/parameters/TaskID"
+ - $ref: "#/components/parameters/TaskTryNumber"
+ responses:
+ "200":
+ description: Success.
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/TaskInstance"
+ "401":
+ $ref: "#/components/responses/Unauthenticated"
+ "403":
+ $ref: "#/components/responses/PermissionDenied"
+ "404":
+ $ref: "#/components/responses/NotFound"
+
+
/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/tries/{task_try_number}/{map_index}:
Review Comment:
This would make the mapped_task try endpoint different from the normal task
try endpoint
--
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]