diff --git a/help/fr/api-cards.page b/help/fr/api-cards.page index b36899704..5dfc051e9 100644 --- a/help/fr/api-cards.page +++ b/help/fr/api-cards.page @@ -88,23 +88,28 @@ effacées, puis effectuera pour chacune les actions nécessaires. $ curl -H "Accept: application/json" \ https://www.example.net/api/cards/parkings/list?signature… - - - -[ - { - url: "https://www.example.net/backoffice/data/parkings/1/", - last_update_time: "2015-03-26T23:08:45", - receipt_time: "2015-03-26T23:08:44", - id: 1 - }, - { - url: "https://www.example.net/backoffice/data/parkings/3/", - last_update_time: "2015-03-27T12:11:21", - receipt_time: "2015-03-27T12:45:19", - id: 3 - } -] +{ + "data": [ + { + "id": 1, + "text": "Parking de la place", + "url": "https://www.example.net/backoffice/data/parkings/1/", + "last_update_time": "2015-03-26T23:08:45", + "receipt_time": "2015-03-26T23:08:44", + "display_id": "12-1", + "display_name": "Parkings - n°12-1" + }, + { + "id": 3, + "text": "Parking de la rivière", + "url": "https://www.example.net/backoffice/data/parkings/3/", + "last_update_time": "2015-03-27T12:11:21", + "receipt_time": "2015-03-27T12:45:19", + "display_id": "12-3", + "display_name": "Parkings - n°12-3" + } + ] +}

diff --git a/help/fr/api-get.page b/help/fr/api-get.page index ca6de1bd5..311d8fbd2 100644 --- a/help/fr/api-get.page +++ b/help/fr/api-get.page @@ -282,16 +282,16 @@ etc.). [ { - url: "https://www.example.net/inscriptions/1/", - last_update_time: "2015-03-26T23:08:45", - receipt_time: "2015-03-26T23:08:44", - id: 1 + "url": "https://www.example.net/inscriptions/1/", + "last_update_time": "2015-03-26T23:08:45", + "receipt_time": "2015-03-26T23:08:44", + "id": 1 }, { - url: "https://www.example.net/inscriptions/3/", - last_update_time: "2015-03-27T12:11:21", - receipt_time: "2015-03-27T12:45:19", - id: 3 + "url": "https://www.example.net/inscriptions/3/", + "last_update_time": "2015-03-27T12:11:21", + "receipt_time": "2015-03-27T12:45:19", + "id": 3 } ] @@ -374,26 +374,28 @@ n’est pas nécessaire de préciser l’identifiant d’un utilisateur. -[ - { - url: "https://www.example.net/inscriptions/1/", - last_update_time: "2015-03-26T23:08:45", - receipt_time: "2015-03-26T23:08:44", - id: 1 - }, - { - url: "https://www.example.net/inscriptions/3/", - last_update_time: "2015-03-27T12:11:21", - receipt_time: "2015-03-27T12:45:19", - id: 3 - }, - { - url: "https://www.example.net/signalement/1/", - last_update_time: "2015-03-25T14:14:21", - receipt_time: "2015-03-25T14:48:20", - id: 1 - } -] +{ + "data": [ + { + "url": "https://www.example.net/inscriptions/1/", + "last_update_time": "2015-03-26T23:08:45", + "receipt_time": "2015-03-26T23:08:44", + "id": 1 + }, + { + "url": "https://www.example.net/inscriptions/3/", + "last_update_time": "2015-03-27T12:11:21", + "receipt_time": "2015-03-27T12:45:19", + "id": 3 + }, + { + "url": "https://www.example.net/signalement/1/", + "last_update_time": "2015-03-25T14:14:21", + "receipt_time": "2015-03-25T14:48:20", + "id": 1 + } + ] +}