question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

API Endpoint - Dag source

See original GitHub issue

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: https://github.com/apache/airflow/issues/8118

Use case / motivation

N/A

Related Issues

N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mik-lajcommented, Jun 14, 2020

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

1reaction
TobKedcommented, Jun 3, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Airflow REST API
An API is broken up by its endpoint's corresponding resource. The name of a resource is typically plural and expressed in camelCase. Example:...
Read more >
Trigger Airflow DAGs via the REST API | Enrollment Nerdery
This post will discuss how to use the REST api in Airflow 2 to trigger the run of a DAG as well as...
Read more >
Apache Airflow for Data Science - How to Work with REST APIs
Learn to work with REST APIs in Apache Airflow by utilizing HttpSensor ... The DAG will extract posts JSON data from gorest.co.in website, ......
Read more >
Airflow REST API: The Ultimate Guide for 2022 - Hevo Data
The API comes with a resource named dagRuns to help you interact with your DAGs. ... Note that the new Airflow API doesn't...
Read more >
On Demand DAG through the REST API - YouTube
Session presented by Mocheng Guo at Airflow Summit 2022In this talk we want to present how Airbnb extends the REST api to support...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found