Skip to content

/roles stable API endpoint PATCH verb needs better documentation in the openapi spec #18713

Closed as not planned

Description

@alex-astronomer

Describe the issue with documentation

When using the PATCH verb for the /roles/{role_name} endpoint, I found myself, as a beginner with the stable API, having to look through source code and the meta database to try to find the correct terms to use for action.name, permissions.name and other pieces that get merged into the role with this command.

How to solve the problem

I'd like to add some better documentation to the API yml that better explains how to use this command. More details about the options for action and permission and resource.

Thoughts? Maybe I'm missing something?

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. alex-astronomer commented on Oct 4, 2021

    @alex-astronomer
    ContributorAuthor

    update_mask is also confusing to me. I'd be happy to submit a PR for this, would allow me to get more familiar with the REST API.

  2. kaxil commented on Oct 5, 2021

    @kaxil
    Member

    Assigning it to you Alex. Feel free to pair up with @ephraimbuddy if you need any help

  3. eladkal commented on Feb 16, 2022

    @eladkal
    Contributor

    @alex-astronomer are you still working on this?

  4. github-actions commented on Mar 26, 2023

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has been open for 365 days without any activity. There has been several Airflow releases since last activity on this issue. Kindly asking to recheck the report against latest Airflow version and let us know if the issue is reproducible. The issue will be closed in next 30 days if no further activity occurs from the issue author.

  5. github-actions commented on Apr 26, 2023

    @github-actions
    Contributor

    This issue has been closed because it has not received response from the issue author.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions