Ero sivun ”Journeys API” versioiden välillä

434 merkkiä lisätty ,  5. heinäkuuta 2014 kello 03.20
Rivi 267: Rivi 267:


A client can search STOP POINTS by issuing following requests:<br>
A client can search STOP POINTS by issuing following requests:<br>
 
* http://example.com/journeys/api/stop-points will return paged list of all STOP POINTS
* http://example.com/journeys/api/stop-points?location=61.48016,23.83057 will return ROUTES that start at given coordinates
* http://example.com/journeys/api/stop-points?within=(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)


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).
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).
0

muokkausta