approved, byrokraatit, ylläpitäjät
0
muokkausta
(→Lines) |
(→Lines) |
||
Rivi 147: | Rivi 147: | ||
A client can search LINES by issuing following requests:<br> | A client can search LINES by issuing following requests:<br> | ||
* http://example.com/journeys/api/lines will return paged list of all LINES in the current dataValidity period | * http://example.com/journeys/api/lines will return paged list of all LINES in the current dataValidity period | ||
* http://example.com/journeys/api/lines? | * http://example.com/journeys/api/lines?lineName=13 will return LINES which name contains text "13" (case-insensitive) in the current dataValidity period | ||
* http://example.com/journeys/api/lines? | * http://example.com/journeys/api/lines?lineDescription=Hermia will return LINES which description contains text "Hermia" (case-insensitive) in the current dataValidity period | ||
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). | |||
==== Routes ==== | ==== Routes ==== |