-
Couldn't load subscription status.
- Fork 6
Open
Labels
Description
Describe the bug
GTFS-RT specific properties are not returned by the endpoint v1/operations/feeds. As shown below real-time properties entity_types and feed_references are missing from the response:
{
"id": "7bd37425-9a49-40ad-bb27-863755fd4912",
"stable_id": "mdb-1470",
"status": "active",
"data_type": "gtfs_rt",
"provider": "ABQ RIDE",
"feed_name": "",
"note": "",
"feed_contact_email": "",
"source_info": {
"producer_url": "https://api.goswift.ly/real-time/abq-ride/gtfs-rt-vehicle-positions",
"authentication_type": 2,
"authentication_info_url": "https://goswift.ly/realtime-api-key",
"api_key_parameter_name": "authorization",
"license_url": "https://www.goswift.ly/api-license"
},
"operational_status": "published",
"created_at": "2024-02-08T00:00:00Z",
"official": null,
"official_updated_at": null,
"locations": [
{
"country_code": "US",
"country": "United States",
"subdivision_name": "New Mexico",
"municipality": "Bernalillo County"
}
],
"external_ids": [
{
"external_id": "1470",
"source": "mdb"
}
],
"redirects": []
},
Steps/Code to Reproduce
Use the following curl command, replacing the token and function_url with the appropriate values
curl --request GET \
--url 'https://<<function_url>>/v1/operations/feeds?data_type=gtfs_rt&offset=1&limit=100' \
--header 'Authorization: Bearer <<token>>'
Expected Results
The properties entity_types and feed_references are populated.
Actual Results
The properties entity_types and feed_references are not populated.
Screenshots
No response
Files used
No response
Additional notes
No response