GET /v1/deviations/:id/

Creates a new deviation.

Endpoint

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

Method

GET

Parameters

Name Description Note
callback The JSONP method to wrap the response with. callback=myAwesomeFunction

Example

Request

curl -X GET http://api.av.vikel.se/v1/deviations/:id/

Response

{
    "deviation": {
        "comment": "Stopp vid Hornstull",
        "created_at": "2011-10-08T20:48:24.313000",
        "longitude": "18.034143",
        "vehicle": "12345",
        "latitude": "59.316331",
        "line": "4"
    }
}