Skip to main content

Airflow Aggua API - Plugin

Apache Airflow plugin that exposes aggua secure API endpoints similar to the official Airflow API (Stable) (1.0.0), providing richer capabilities. Apache Airflow version 2.1.0 or higher is necessary.

Requirements

Installation

python3 -m pip install airflow-aggua-api

Authentication

Airflow Aggua API plugin uses the same auth mechanism as Airflow API (Stable) (1.0.0). So, by default APIs exposed via this plugin respect the auth mechanism used by your Airflow webserver and also complies with the existing RBAC policies. Note that you will need to pass credentials data as part of the request. Here is a snippet from the official docs when basic authorization is used:

curl -X POST 'http://{AIRFLOW_HOST}:{AIRFLOW_PORT}/api/v1/dags/{dag_id}?update_mask=is_paused' \
-H 'Content-Type: application/json' \
--user "username:password" \
-d '{
    "is_paused": true
}'

Using the Custom API

All the supported endpoints are exposed in the below format:

http://{AIRFLOW_HOST}:{AIRFLOW_PORT}/api/v1/aggua/{ENDPOINT_NAME}

Following are the names of endpoints which are currently supported.

serializedDags

Description:
  • Get the serialized representation of a DAG.
Endpoint:
http://{AIRFLOW_HOST}:{AIRFLOW_PORT}/api/v1/aggua/serializedDags
Method:
  • GET
GET request query parameters :
  • limit (optional) - number - The number of items to return. default = 10.
  • offset (optional) - number - The number of items to skip before starting to collect the result set.
Endpoint:
http://{AIRFLOW_HOST}:{AIRFLOW_PORT}/api/v1/aggua/serializedDags/{dag_id}
Method:
  • GET
Get request path parameter:
  • dag_id - string - the DAG ID.

Metadata

Release files for airflow-aggua-plugin 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airflow-aggua-plugin 1.0.8
File Size Uploaded
airflow_aggua_plugin-1.0.8.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airflow-aggua-plugin 1.0.8
File Interpreter ABI Platform
airflow_aggua_plugin-1.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 44.9 kB

Release files / airflow_aggua_plugin-1.0.8.tar.gz

Download URL airflow_aggua_plugin-1.0.8.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
050c79654403f5715cf7988897dd76cfc239c2eadc77bf7969574157b33f1f2d
BLAKE2b-256 checksum
How to use checksums
1c92e70cbbea9bfc6f96c953ac5e25777dabcba7656cd5559b48b59ae7fefab5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release files / airflow_aggua_plugin-1.0.8-py3-none-any.whl

Download URL airflow_aggua_plugin-1.0.8-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e328bae789e27c677f74c7048d338294a8c70891225c23f30bf0526bb01b5c0a
BLAKE2b-256 checksum
How to use checksums
eb16449d9b74fe8935ac2c420499b9f672c4fd5abcf3472899f29b598480362a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.2

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page