Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service Alerts Not Showing Up onebusaway-api-webapp #344

Open
oceandrive opened this issue Jun 15, 2023 · 0 comments
Open

Service Alerts Not Showing Up onebusaway-api-webapp #344

oceandrive opened this issue Jun 15, 2023 · 0 comments

Comments

@oceandrive
Copy link

oceandrive commented Jun 15, 2023

I am not seeing any description populated for the element when I run api/where/arrivals-and-departures-for-stop API call.

<situationIds> <string>1_Demo</string> </situationIds>

On my feed I am seeing that alerts are being read.
[ServiceAlertsServiceImpl.java:542] : updateReferences complete with 0 agency alerts, 0 route and stop alerts, 19 route alerts, and 1 distinct alerts

When I run /api/where/situation/1_Demo.xml?key=OBAKEY&minutesAfter=90 API call I do not see the description field being populated.

<data class="entryWithReferences"> <references/> <entry class="situation"> <id>1_Demo</id> <creationTime>1686841560949</creationTime> <activeWindows> <timeRange> <from>1685422800</from> <to>1688101200</to> </timeRange> <timeRange> <from>1685422800</from> <to>1688101200</to> </timeRange> </activeWindows> <reason>UNKNOWN_CAUSE</reason> <allAffects> <affects> <routeId>1_507</routeId> </affects> <affects> <routeId>1_903</routeId> </affects> </allAffects> <severity>noImpact</severity> </entry> </data> </response>

Am I looking at the correct API call to get the service alerts ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant