From e2a331febedff09eb5b0eaf9c2e041f481e53f8d Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Fri, 19 Jun 2015 10:24:04 +0100 Subject: [PATCH] Made listing view example a little bigger --- docs/reference/contrib/api/usage.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/reference/contrib/api/usage.rst b/docs/reference/contrib/api/usage.rst index 35c355878..6fc97f84d 100644 --- a/docs/reference/contrib/api/usage.rst +++ b/docs/reference/contrib/api/usage.rst @@ -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" } ] }