Skip to content

Liveboards give undocumented response codes #13

@JoshuaMoelans

Description

@JoshuaMoelans

The only response documented is the '200' code, but while testing I received two different types of error:

The first one happens when entering a non-existing station (like Retie). It returns a reasonable error, just like the connections API. However, this is not a response code mentioned in the liveboard docs.
image

The second one is a little strange; since getting a connection to Vienna (ex: Brussels → Vienna) works, but somehow the station is not recognized for the liveboard request. It returns the following:
image

I stumbled upon these by testing out the API, and would be interested in adding these response codes to the docs myself (if it is not too difficult).

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