-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Add introduction to Stable RESTT API #10548
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestions or else LGTM
The term `resource` refers to a single type of object in the Airflow metadata. An API is broken up by its | ||
endpoint's corresponding resource. | ||
The name of a resource is typically plural, and expressed in camelCase. Example: `jobGroups`. | ||
|
||
Resource names are used as part of endpoint URLs, as well as in API parameters and responses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The term `resource` refers to a single type of object in the Airflow metadata. An API is broken up by its | |
endpoint's corresponding resource. | |
The name of a resource is typically plural, and expressed in camelCase. Example: `jobGroups`. | |
Resource names are used as part of endpoint URLs, as well as in API parameters and responses. | |
The term `resource` refers to a single type of object in the Airflow metadata. An API is broken up by its | |
endpoint's corresponding resource. | |
The name of a resource is typically plural and expressed in camelCase. Example: `jobGroups`. | |
Resource names are used as part of endpoint URLs, as well as in API parameters and responses. |
|
||
Note that you will need to pass an credentials data. | ||
|
||
For e.g., here is how to pause a DAG with [curl](https://curl.haxx.se/), when basic authroization is used: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For e.g., here is how to pause a DAG with [curl](https://curl.haxx.se/), when basic authroization is used: | |
For e.g., here is how to pause a DAG with [curl](https://curl.haxx.se/), when basic authorization is used: |
f4748f3
to
70f7a89
Compare
@kaxil All suggestion accepted. |
Preview: https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/PolideaInternal/airflow/api-introduction/airflow/api_connexion/openapi/v1.yaml
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.