Siirry sisältöön

Ero sivun ”Journeys API” versioiden välillä

222 merkkiä poistettu ,  6. lokakuuta 2014 kello 00.16
Rivi 49: Rivi 49:
...
...
</pre>
</pre>
The JOURNEY itself has a href property (http://example.com/journeys/api/journeys/111) which points to the JOURNEY entity itself. A client can use this URL access this entity at any time. The stopPoint entity has also an href property which tells the client how to access the DAY TYPE data. Whenever a client encounters a href property in the response, the client can make a HTTP GET request to the url to obtain more details on the object in question.
The STOP POINT itself has a url property which points to the STOP POINT entity itself. A client can use this URL access this entity at any time. Nested objects may also include urls as in case of muncipality inside the stopPoint.


=== API-Wide URL parameters ===
=== API-Wide URL parameters ===
0

muokkausta