Skip to content

arrivals-and-departures-for-stop endpoint returns 'null' if includeReferences=false #355

@gassajor000

Description

@gassajor000

Seeing an issue where queries to where/arrivals-and-departures-for-stop returns null if you try to set includeReferences=false.

example: https://api.pugetsound.onebusaway.org/api/where/arrivals-and-departures-for-stop/40_E25-T2.json?key=TEST&includeReferences=false

Other endpoints correctly return data without the references populated. Issue is consistent across stops from different agencies but is so far only observed on the pugetsound server. Below query to SD MTS works fine.

https://realtime.sdmts.com/api/api/where/arrivals-and-departures-for-stop/MTS_10094.json?key=org.onebusaway.iphone&includeReferences=false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions