Ero sivun ”Journeys API” versioiden välillä

Ei muutosta koossa ,  17. heinäkuuta 2014 kello 01.27
Rivi 195: Rivi 195:
* http://data.itsfactory.fi/journeys/api/1/routes will return paged list of all ROUTES
* http://data.itsfactory.fi/journeys/api/1/routes will return paged list of all ROUTES
* http://data.itsfactory.fi/journeys/api/1/routes?lineId=123 will return ROUTES which run on the LINE with id 123
* http://data.itsfactory.fi/journeys/api/1/routes?lineId=123 will return ROUTES which run on the LINE with id 123
* http://data.itsfactory.fi/journeys/api/1/routes?startsAt=61.48016,23.83057 will return ROUTES that start at given coordinates
* http://data.itsfactory.fi/journeys/api/1/routes?startsAt=61.49738,23.76155 will return ROUTES that start at given coordinates
* http://data.itsfactory.fi/journeys/api/1/routes?startsAt=61.48016,23.83057:51.83057,13.83057 will return ROUTES that start within given coordinate box. Format: (upper left corner of the box):(lower right corner of the box)
* http://data.itsfactory.fi/journeys/api/1/routes?startsAt=61.39738,23.66155:61.49838,23.77155 will return ROUTES that start within given coordinate box. Format: (upper left corner of the box):(lower right corner of the box)
* http://data.itsfactory.fi/journeys/api/1/routes?stopsAt=61.48016,23.83057 will return ROUTES that stop at given coordinates
* http://data.itsfactory.fi/journeys/api/1/routes?stopsAt=61.49738,23.76155 will return ROUTES that stop at given coordinates
* http://data.itsfactory.fi/journeys/api/1/routes?stopsAt=61.48016,23.83057:51.83057,13.83057 will return ROUTES that start within given coordinate box. Format: (upper left corner of the box):(lower right corner of the box)
* http://data.itsfactory.fi/journeys/api/1/routes?stopsAt=61.49738,23.76155:61.49738,23.76155 will return ROUTES that start within given coordinate box. Format: (upper left corner of the box):(lower right corner of the box)


These queries return response like above, with entities matching the criteria. All query parameters are exclusive (if you specify multiple conditions, the conditions are ANDed together). For example query
These queries return response like above, with entities matching the criteria. All query parameters are exclusive (if you specify multiple conditions, the conditions are ANDed together). For example query
* http://data.itsfactory.fi/journeys/api/1/routes?startsAt=61.48016,23.83057&lineId=123 will return ROUTES that start at given coordinates AND belong to line 123
* http://data.itsfactory.fi/journeys/api/1/routes?startsAt=61.49738,23.76155&lineId=123 will return ROUTES that start at given coordinates AND belong to line 123


==== Journeys ====
==== Journeys ====
0

muokkausta