{ "opencollection": "1.0.0", "info": { "name": "Airflow Asset Variable API", "version": "2" }, "items": [ { "info": { "name": "Variable", "type": "folder" }, "items": [ { "info": { "name": "Airflow Get Variable", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v2/variables/:variable_key", "params": [ { "name": "variable_key", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get a variable entry." }, { "info": { "name": "Airflow Patch Variable", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/v2/variables/:variable_key", "params": [ { "name": "variable_key", "value": "", "type": "path" }, { "name": "update_mask", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a variable by key." }, { "info": { "name": "Airflow Delete Variable", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/v2/variables/:variable_key", "params": [ { "name": "variable_key", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a variable entry." }, { "info": { "name": "Airflow Get Variables", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v2/variables", "params": [ { "name": "limit", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" }, { "name": "order_by", "value": "", "type": "query", "description": "Attributes to order by, multi criteria sort is supported. Prefix with `-` for descending order. Supported attributes: `key, id, _val, description, is_encrypted, team_name`" }, { "name": "variable_key_pattern", "value": "", "type": "query", "description": "SQL LIKE expression — use `%` / `_` wildcards (e.g. `%customer_%`). or the pipe `|` operator for OR logic (e.g. `dag1 | dag2`). Regular expressions are **not** supported." } ], "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get all Variables entries." }, { "info": { "name": "Airflow Post Variable", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v2/variables", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a variable." }, { "info": { "name": "Airflow Bulk Variables", "type": "http" }, "http": { "method": "PATCH", "url": "{{baseUrl}}/api/v2/variables", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "resource_owner_password_credentials", "accessTokenUrl": "/auth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Bulk create, update, and delete variables." } ] } ], "bundled": true }