Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Endpoint - Dag source #8137

Closed
mik-laj opened this issue Apr 4, 2020 · 5 comments · Fixed by #9322
Closed

API Endpoint - Dag source #8137

mik-laj opened this issue Apr 4, 2020 · 5 comments · Fixed by #9322
Assignees
Labels
area:API Airflow's REST/HTTP API good first issue kind:feature Feature Requests

Comments

@mik-laj
Copy link
Member

mik-laj commented Apr 4, 2020

Description

Hello,

We need an endpoint that allows you to read the DAG File source code.
When store_dag_code = True, then the code should be read from the database.
When store_dag_code = False, then the code should be read from the file.

  • GET /dagSources/{file_token}

More details about API Endpoints:
#8118

Use case / motivation

N/A

Related Issues

N/A

@mik-laj mik-laj added kind:feature Feature Requests area:API Airflow's REST/HTTP API labels Apr 4, 2020
@mik-laj mik-laj mentioned this issue Apr 4, 2020
@TobKed
Copy link
Contributor

TobKed commented Apr 8, 2020

Looks interesting. I will try to do this :)

@mik-laj
Copy link
Member Author

mik-laj commented Jun 2, 2020

@TobKed Hi. We have already started to implement. Do you still want to work on this ticket?

Here is config_endpoint.py file. You should start working here. https://github.com/apache/airflow/blob/master/airflow/api_connexion/endpoints/config_endpoint.py

@TobKed
Copy link
Contributor

TobKed commented Jun 3, 2020

@mik-laj yes, I will start working on this

@mik-laj
Copy link
Member Author

mik-laj commented Jun 14, 2020

@TobKed Do you need any help? If you need help, feel free to write or call.

@TobKed
Copy link
Contributor

TobKed commented Jun 15, 2020

thanks @mik-laj , indeed I need some help , I will contact you on slack.

@TobKed TobKed mentioned this issue Jun 16, 2020
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API good first issue kind:feature Feature Requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants