Skip to content

API Endpoints - Read-only - Variable #8133

Closed

Description

@mik-laj

Description

Hello

We need to create several endpoints that perform basic read-only operations on Variable . We need the following endpoints:

  • GET /variables
  • GET /variables/{variable_key}

Detailed information is available in the issue:
#8118

Use case / motivation
N/A

Related Issues
N/A

Activity

  1. changed the title [-]API Endpoint - CRUD - Variable[/-] [+]API Endpoints - CRUD - Variable[/+] on Apr 4, 2020
  2. changed the title [-]API Endpoints - CRUD - Variable[/-] [+]API Endpoints - Read-only - Variable[/+] on Jun 2, 2020
  3. mik-laj commented on Jun 2, 2020

    @mik-laj
    MemberAuthor

    @houqp Do you want to work on it?
    We are ready. You can start working from this file
    https://github.com/apache/airflow/blob/master/airflow/api_connexion/endpoints/variable_endpoint.py

    For now, we focus only on read-only operations, but others will also be implemented as the next step.

  4. houqp commented on Jun 2, 2020

    @houqp
    Member

    @mik-laj yes, I can take a stab at it this week. do you mind if I implement write endpoints as well or do you prefer me to only fill out the read endpoints?

  5. mik-laj commented on Jun 2, 2020

    @mik-laj
    MemberAuthor

    A single PR can close multiple tickets. I divided the variable endpoints because I want to involve many new people in these tasks. When the ticket is small it is easier to finish it.
    Here is a ticket about CRUD operation for Variable:
    #9115
    Does this sound good to you?

  6. houqp commented on Jun 2, 2020

    @houqp
    Member

    @mik-laj looks good to me!

  7. linked a pull request that will close this issueimplement api v1 for variables #9273on Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions