help: update list of cards / global list of forms API output to match reality
This commit is contained in:
parent
b1ffd25470
commit
d1ed3df076
|
@ -88,23 +88,28 @@ effacées, puis effectuera pour chacune les actions nécessaires.
|
||||||
<screen>
|
<screen>
|
||||||
<output style="prompt">$ </output><input>curl -H "Accept: application/json" \
|
<output style="prompt">$ </output><input>curl -H "Accept: application/json" \
|
||||||
https://www.example.net/api/cards/parkings/list<var>?signature…</var></input>
|
https://www.example.net/api/cards/parkings/list<var>?signature…</var></input>
|
||||||
</screen>
|
<output>{
|
||||||
|
"data": [
|
||||||
<code mime="application/json">
|
{
|
||||||
[
|
"id": 1,
|
||||||
{
|
"text": "Parking de la place",
|
||||||
url: "https://www.example.net/backoffice/data/parkings/1/",
|
"url": "https://www.example.net/backoffice/data/parkings/1/",
|
||||||
last_update_time: "2015-03-26T23:08:45",
|
"last_update_time": "2015-03-26T23:08:45",
|
||||||
receipt_time: "2015-03-26T23:08:44",
|
"receipt_time": "2015-03-26T23:08:44",
|
||||||
id: 1
|
"display_id": "12-1",
|
||||||
},
|
"display_name": "Parkings - n°12-1"
|
||||||
{
|
},
|
||||||
url: "https://www.example.net/backoffice/data/parkings/3/",
|
{
|
||||||
last_update_time: "2015-03-27T12:11:21",
|
"id": 3,
|
||||||
receipt_time: "2015-03-27T12:45:19",
|
"text": "Parking de la rivière",
|
||||||
id: 3
|
"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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -282,16 +282,16 @@ etc.).
|
||||||
<code mime="application/json">
|
<code mime="application/json">
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
url: "https://www.example.net/inscriptions/1/",
|
"url": "https://www.example.net/inscriptions/1/",
|
||||||
last_update_time: "2015-03-26T23:08:45",
|
"last_update_time": "2015-03-26T23:08:45",
|
||||||
receipt_time: "2015-03-26T23:08:44",
|
"receipt_time": "2015-03-26T23:08:44",
|
||||||
id: 1
|
"id": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
url: "https://www.example.net/inscriptions/3/",
|
"url": "https://www.example.net/inscriptions/3/",
|
||||||
last_update_time: "2015-03-27T12:11:21",
|
"last_update_time": "2015-03-27T12:11:21",
|
||||||
receipt_time: "2015-03-27T12:45:19",
|
"receipt_time": "2015-03-27T12:45:19",
|
||||||
id: 3
|
"id": 3
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
</code>
|
</code>
|
||||||
|
@ -374,26 +374,28 @@ n’est pas nécessaire de préciser l’identifiant d’un utilisateur.
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
<code mime="application/json">
|
<code mime="application/json">
|
||||||
[
|
{
|
||||||
{
|
"data": [
|
||||||
url: "https://www.example.net/inscriptions/1/",
|
{
|
||||||
last_update_time: "2015-03-26T23:08:45",
|
"url": "https://www.example.net/inscriptions/1/",
|
||||||
receipt_time: "2015-03-26T23:08:44",
|
"last_update_time": "2015-03-26T23:08:45",
|
||||||
id: 1
|
"receipt_time": "2015-03-26T23:08:44",
|
||||||
},
|
"id": 1
|
||||||
{
|
},
|
||||||
url: "https://www.example.net/inscriptions/3/",
|
{
|
||||||
last_update_time: "2015-03-27T12:11:21",
|
"url": "https://www.example.net/inscriptions/3/",
|
||||||
receipt_time: "2015-03-27T12:45:19",
|
"last_update_time": "2015-03-27T12:11:21",
|
||||||
id: 3
|
"receipt_time": "2015-03-27T12:45:19",
|
||||||
},
|
"id": 3
|
||||||
{
|
},
|
||||||
url: "https://www.example.net/signalement/1/",
|
{
|
||||||
last_update_time: "2015-03-25T14:14:21",
|
"url": "https://www.example.net/signalement/1/",
|
||||||
receipt_time: "2015-03-25T14:48:20",
|
"last_update_time": "2015-03-25T14:14:21",
|
||||||
id: 1
|
"receipt_time": "2015-03-25T14:48:20",
|
||||||
}
|
"id": 1
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue