bbovenzi commented on issue #42595:
URL: https://github.com/apache/airflow/issues/42595#issuecomment-2465699153
That's alright. This is a complicated endpoint. Something like:
```
[{
version_number?: number
data_enterval_end?: string | null;
data_interval_start?: string | null;
end_date?: string | null;
run_id: string;
run_type: string;
queued_at?: string | null;
start_date?: string | null;
state: string;
task_instances?: TaskInstanceSummary[];
}]
```
Where the `TaskInstanceSummary` can be either a single task instance, or
summarizing multiple tasks as a Task Group or Mapped Task. For a summary, we
need:
```
end_date: string | null; // latest end date
overall_state: string | null // Check `priority` in `airflow/www/utils.py`
start_date: string | null; // earliest start date
queued_at: string | null // earliest queued at date
task_count: number; // total number of children tasks inside this group or
mapped task
states: // dict of states and the number of tasks with each state
task_id: string;
try_number: number;
```
--
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]