approved, byrokraatit, ylläpitäjät
0
muokkausta
(→Lines) |
|||
Rivi 106: | Rivi 106: | ||
=== Entity Queries === | === Entity Queries === | ||
==== Lines ==== | ==== Lines ==== | ||
A client can access specific LINE'S details by issuing request at http://example.com/journeys/api/lines/123 | A client can access specific LINE'S details by issuing request at http://example.com/journeys/api/lines/123 | ||
Rivi 176: | Rivi 144: | ||
} | } | ||
</pre> | </pre> | ||
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?name=13 will return LINES which name contains text "13" (case-insensitive) in the current dataValidity period | |||
* http://example.com/journeys/api/lines?description=Hermia will return LINES which description contains text "Hermia" (case-insensitive) in the current dataValidity period | |||
==== Routes ==== | ==== Routes ==== |