mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
Merge pull request #620 from strapi/fix-filter-doc
Fix filter documentation
This commit is contained in:
commit
520c0bfcc8
@ -27,7 +27,7 @@ Easily filter results according to fields values.
|
||||
|
||||
Find users having `John` as first name.
|
||||
|
||||
`GET /user?_firstName=John`
|
||||
`GET /user?firstName=John`
|
||||
|
||||
Find products having a price equal or greater than `3`.
|
||||
|
||||
@ -41,8 +41,8 @@ Sort according to a specific field.
|
||||
|
||||
Sort users by email.
|
||||
|
||||
- ASC: `GET /user?_sort=asc:email` or `GET /user?_sort=email`
|
||||
- DESC: `GET /user?_sort=desc:email` or `GET /user?_sort=-email`
|
||||
- ASC: `GET /user?_sort=email:asc` or `GET /user?_sort=email`
|
||||
- DESC: `GET /user?_sort=email:desc` or `GET /user?_sort=-email`
|
||||
|
||||
### Limit
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user