approved, byrokraatit, ylläpitäjät
0
muokkausta
(→Lines) |
|||
Rivi 136: | Rivi 136: | ||
* http://example.com/journeys/api/lines?lineName=13 will return LINES which name contains text "13" (case-insensitive) | * http://example.com/journeys/api/lines?lineName=13 will return LINES which name contains text "13" (case-insensitive) | ||
* http://example.com/journeys/api/lines?lineDescription=Hermia will return LINES which description contains text "Hermia" (case-insensitive) | * http://example.com/journeys/api/lines?lineDescription=Hermia will return LINES which description contains text "Hermia" (case-insensitive) | ||
* http://example.com/journeys/api/lines?containsRoute=123 returns LINE that operates on given ROUTE | |||
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). |