msoni1369 commented on issue #37564:
URL: https://github.com/apache/airflow/issues/37564#issuecomment-1955158896

   @hussein-awala The current response of dag details API endpoint is as below. 
Instead of agrument for detailed details can we just add an element in response 
as shown below. 
   
   "tasks": ["task1", "task2",...., "taskN"],
   
   current response:
   
   {
     "dag_id": "string",
     "root_dag_id": "string",
     "is_paused": true,
     "is_active": true,
     "is_subdag": true,
     "last_parsed_time": "2019-08-24T14:15:22Z",
     "last_pickled": "2019-08-24T14:15:22Z",
     "last_expired": "2019-08-24T14:15:22Z",
     "scheduler_lock": true,
     "pickle_id": "string",
     "default_view": "string",
     "fileloc": "string",
     "file_token": "string",
     "owners": [
       "string"
     ],
     "description": "string",
     "schedule_interval": {
       "__type": "string",
       "days": 0,
       "seconds": 0,
       "microseconds": 0
     },
     "timetable_description": "string",
     "tags": [
       {
         "name": "string"
       }
     ],
     "max_active_tasks": 0,
     "max_active_runs": 0,
     "has_task_concurrency_limits": true,
     "has_import_errors": true,
     "next_dagrun": "2019-08-24T14:15:22Z",
     "next_dagrun_data_interval_start": "2019-08-24T14:15:22Z",
     "next_dagrun_data_interval_end": "2019-08-24T14:15:22Z",
     "next_dagrun_create_after": "2019-08-24T14:15:22Z",
     "timezone": "string",
     "catchup": true,
     "orientation": "string",
     "concurrency": 0,
     "start_date": "2019-08-24T14:15:22Z",
     "dag_run_timeout": {
       "__type": "string",
       "days": 0,
       "seconds": 0,
       "microseconds": 0
     },
     "doc_md": "string",
     "params": {},
     "end_date": "2019-08-24T14:15:22Z",
     "is_paused_upon_creation": true,
     "last_parsed": "2019-08-24T14:15:22Z",
     "template_search_path": [
       "string"
     ],
     "render_template_as_native_obj": true
   }


-- 
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]

Reply via email to