airflow icon indicating copy to clipboard operation
airflow copied to clipboard

New REST API endpoints for assets

Open Lee-W opened this issue 1 year ago • 1 comments

Description

User Presentation Considerations

  • [ ] /public/assets changes
    • [x] Use id as detail identifier in URL https://github.com/apache/airflow/pull/44801
    • [ ] Ability to search asset with name and/or uri (maybe name_pattern and uri_pattern are enough?)
    • [ ] Change aliases in AssetResponse to use only the id or name?
  • [x] /public/assets/aliases https://github.com/apache/airflow/pull/44777
  • [x] /public/assets/aliases/{id} https://github.com/apache/airflow/pull/44803
  • [ ] /public/assets/{id}/materialize

Use case/motivation

Rationale

Related issues

No response

Are you willing to submit a PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

Lee-W avatar Sep 18 '24 14:09 Lee-W

The two subitems under /public/assets/ are deferred for now until the UI folks start implementing. We’ll figure out if we need them and what exactly at the point.

uranusjr avatar Dec 18 '24 07:12 uranusjr

As per discussion with TP, we will pick up /public/assets/{id}/materialize once the POC with partitioning strategy change with the execution date is clear.

sunank200 avatar Jan 06 '25 12:01 sunank200

/public/assets/{id}/materialize will be picked up post https://github.com/apache/airflow/issues/46192

phanikumv avatar Feb 05 '25 06:02 phanikumv

Working on this now that asset-triggered runs have the new logical date behaviour.

uranusjr avatar Feb 13 '25 08:02 uranusjr