approved, byrokraatit, ylläpitäjät
0
muokkausta
(→Lines) |
|||
Rivi 102: | Rivi 102: | ||
"headers" : { | "headers" : { | ||
"dataValidityPeriod" : { | "dataValidityPeriod" : { | ||
"validFrom" : " | "validFrom" : "2013-01-01", | ||
"validTo" : " | "validTo" : "2013-05-31" | ||
} | } | ||
}, | }, | ||
Rivi 111: | Rivi 111: | ||
"href" : "http://example.com/journeys/api/lines/123", | "href" : "http://example.com/journeys/api/lines/123", | ||
"name" : "13", | "name" : "13", | ||
"description" : "Hermia - Lukonmäki - Keskustori - Tesoma - Lamminpää - Ylöjärvi" | "description" : "Hermia - Lukonmäki - Keskustori - Tesoma - Lamminpää - Ylöjärvi", | ||
"routes":[ | |||
{ | |||
"href" : "http://example.com/journeys/api/routes/123" | |||
} | |||
] | |||
} | } | ||
... | ... | ||
Rivi 126: | Rivi 131: | ||
"headers" : { | "headers" : { | ||
"dataValidityPeriod" : { | "dataValidityPeriod" : { | ||
"validFrom" : " | "validFrom" : "2013-01-01", | ||
"validTo" : " | "validTo" : "2013-05-31" | ||
} | } | ||
}, | }, | ||
"data" : { | "data" : { | ||
"lines":[ | "href" : "http://example.com/journeys/api/lines/123", | ||
"name" : "13", | |||
"description" : "Hermia - Lukonmäki - Keskustori - Tesoma - Lamminpää - Ylöjärvi", | |||
"routes":[ | |||
{ | { | ||
"href" : "http://example.com/journeys/api/ | "href" : "http://example.com/journeys/api/routes/123", | ||
" | "journeys" : [ | ||
{ | |||
"href" : "http://example.com/journeys/api/journeys/111" | |||
} | |||
] | |||
} | } | ||
] | ] |