Add note about X-Total-Count

master
Nikola Forró 7 years ago
parent 8822431dfc
commit d7fec25d85

@ -34,6 +34,8 @@ GET /quotes
curl --request GET --data 'https://tld.example/api/quotes?filter=cheese&sort_by=date&sort_order=asc' curl --request GET --data 'https://tld.example/api/quotes?filter=cheese&sort_by=date&sort_order=asc'
``` ```
*Note: `X-Total-Count` header is set to a total number of quotes after filtering (useful for pagination)*
Example response: Example response:
```JSON ```JSON

Loading…
Cancel
Save