jroachgolf84 opened a new issue, #53615: URL: https://github.com/apache/airflow/issues/53615
### Description In Airflow 2.X, we were able to use the `/api/v1/datasets/events` endpoint to create a Dataset event using the `dataset.uri`. However, this is not possible today using the `/api/v2/assets/events` endpoint; only an `asset_id` can be specified. This `asset_id` is incrementally assigned when an Asset is defined. The only way to find an `asset_id` is via the metadata DB, or my navigating to a URL like this: `https://cosmicenergy.astronomer.run/.../assets/1`. https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/create_asset_event ### Use case/motivation I'd like to update the `/api/v1/assets/events` endpoint to allow for an Asset's URI to be used to trigger an Asset Event. ### Related issues _No response_ ### Are you willing to submit a PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
