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:
commit
ed57f3685b
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user