added limit-offset pagination to endpoints
This commit is contained in:
12
README.md
12
README.md
@@ -59,6 +59,18 @@ To load initial set of tags: `python manage.py addtaxonomy`
|
||||
|
||||
## Endpoints
|
||||
|
||||
|
||||
## Pagination
|
||||
|
||||
By default a `LimitOffsetPagination` pagination is enabled
|
||||
|
||||
Examples: `http://127.0.0.1:8000/api/v1/products/?limit=10&offset=0`
|
||||
|
||||
The response data has the following keyspayload:
|
||||
```
|
||||
dict_keys(['count', 'next', 'previous', 'results'])
|
||||
```
|
||||
|
||||
### User Management
|
||||
|
||||
Creation:
|
||||
|
||||
Reference in New Issue
Block a user