Skip to content

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

Description

@oceandrive

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions