bbovenzi commented on PR #25613:
URL: https://github.com/apache/airflow/pull/25613#issuecomment-1211044196

   So the need for me was to be able to look up a dataset by its uri. Hence an 
exact match, this way worked but I think there's a better approach.
   
   This endpoint should stay as-is (hence why this PR is closed), and here 
`uri_pattern` is a filter
   But, we should change `/datasets/{id}` to `/datasets/{uri}` and do an exact 
match there. We do have precedence for this. Pool lookup is by `pool_name`, not 
id. I think we should avoid ever exposing numerical ids in the REST API or the 
UI.


-- 
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]

Reply via email to