Describe the bug
Using the search endpoint, the ID of the latest dataset is the UID, not the stable ID (double checked with Metabase). When using other endpoints, I get the stable ID.
Steps/Code to Reproduce
Use the following curl command, replacing the token with a valid token:
curl --request GET \
--url 'https://api.mobilitydatabase.org/v1/search?limit=15&data_type=gtfs' \
--header 'Authorization: Bearer TOKEN'
Expected Results
Stable IDs should be returned in all ID fields.
Actual Results
The IDs are shown as UID in the following field
- Latest dataset id
- redirect target and source ID
- external ids
Screenshots
No response
Files used
No response
Additional notes
No response