Ero sivun ”Journeys API” versioiden välillä

179 merkkiä lisätty ,  4. heinäkuuta 2014 kello 05.00
Rivi 152: Rivi 152:
     },
     },
     "data" : {
     "data" : {
         "href" : "http://example.com/journeys/api/lines/123",
         "lines":[
        "name" : "13",
        "description" : "Hermia - Lukonmäki - Keskustori - Tesoma - Lamminpää - Ylöjärvi",
        "routes":[
             {
             {
                 "href" : "http://example.com/journeys/api/routes/123",
                 "href" : "http://example.com/journeys/api/lines/123",
                 "routePattern" : {
                 "name" : "13",
                    "href" : "http://example.com/journeys/api/route-patterns/111"
                "description" : "Hermia - Lukonmäki - Keskustori - Tesoma - Lamminpää - Ylöjärvi",
                },
                 "routes":[
                 "journeys" : [
                     {
                     {
                         "href" : "http://example.com/journeys/api/journeys/111"
                         "href" : "http://example.com/journeys/api/routes/123",
                        "pattern" : {
                            "href" : "http://example.com/journeys/api/route-patterns/111"
                        },
                        "journeys" : [
                            {
                                "href" : "http://example.com/journeys/api/journeys/111"
                            }
                        ]
                     }
                     }
                 ]
                 ]
0

muokkausta