airflow-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franco Peschiera <franco.peschi...@gmail.com>
Subject Re: extension of the REST API
Date Thu, 15 Oct 2020 21:30:59 GMT
wow, that's great! Thanks for the quick and positive response.

One thing though. I did not find a way to write (POST) a DAG (i.e., upload
a new DAG). Maybe for security reasons? (Although I see an "Update a DAG"
endpoint).

Thanks again.

On Thu, Oct 15, 2020 at 11:19 PM Kaxil Naik <kaxilnaik@gmail.com> wrote:

> Airflow 2.0 will have a full-featured API:
> https://github.com/apache/airflow/blob/master/UPDATING.md#migration-guide-from-experimental-api-to-stable-api-v1
>
> API Spec & Details:
> https://airflow.readthedocs.io/en/latest/stable-rest-api-ref.html
>
>
> On Thu, Oct 15, 2020 at 10:09 PM Franco Peschiera <
> franco.peschiera@gmail.com> wrote:
>
>> Hello everyone,
>>
>> We're currently building a web app that makes use of airflow to delegate
>> tasks. First of all, thanks for this excellent tool: it seems it will save
>> us a lot of time and headaches.
>>
>> I've been checking the REST api since we want to ideally communicate
>> exclusively this way. And yes, I know that functionality appears to be new
>> / recent (because of the "experimental" tag in the docs and the URL).
>> Having said that, there are some things that the REST API doesn't do (yet?)
>> that we would love to have: (1) upload a new DAG, (2) check the status of a
>> dagrun, among others.
>>
>> The rest api docs I'm reading:
>> https://airflow.apache.org/docs/stable/rest-api-ref.html
>>
>> On the other hand, I've found there are side projects / third party
>> plugins that do offer this functionality:
>> https://github.com/teamclairvoyant/airflow-rest-api-plugin
>>
>> So I have the following questions: (1) are there any plans on completing
>> the official REST API to meet the CLI / python ones? (2) is it a good idea
>> to try third party plugins for this? if so, do you recommend a specific one?
>>
>> Thanks again!
>>
>> Franco
>>
>>>

Mime
View raw message