GET /v1/deviations/status/

Deviation status report for the user query.

Endpoint

http://api.av.vikel.se/v1/deviations/status/

Method

GET

Parameters

Name Description Note
line A line number 4
vehicle The vehicle it affects Example train number 568
transport The transport mode Must be one of BUS, METRO, TRAIN
latitude The latitude WSG84 example 59.316331
longitude The longitude WSG84 example 18.034143
distance The distance to use in combination with latitude and longitude 0.5
callback The JSONP method to wrap the response with. callback=myAwesomeFunction

Example

Request

curl -X GET "http://api.av.vikel.se/v1/deviations/status/?line=4"

Response

{
    "affects": 0,
    "comments": []
}