mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
Made listing view example a little bigger
This commit is contained in:
parent
94b18ad658
commit
e2a331febe
1 changed files with 12 additions and 2 deletions
|
|
@ -19,10 +19,20 @@ Performing a ``GET`` request against one of the endpoints will get you a listing
|
|||
},
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue