0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Merge pull request #1425 from kaedroho/api-docs

API docs: Made listing view example a little bigger
This commit is contained in:
Karl Hobley 2015-06-19 11:40:28 +01:00
commit ed57f3685b

View File

@ -19,10 +19,20 @@ Performing a ``GET`` request against one of the endpoints will get you a listing
}, },
"endpoint_name": [ "endpoint_name": [
{ {
"id": 1,
"meta": {
"type": "app_name.ModelName",
"detail_url": "http://api.example.com/api/v1/endpoint_name/1/"
},
"field": "value"
}, },
{ {
"id": 2,
"meta": {
"type": "app_name.ModelName",
"detail_url": "http://api.example.com/api/v1/endpoint_name/2/"
},
"field": "different value"
} }
] ]
} }