mirror of
https://github.com/strapi/strapi.git
synced 2025-12-24 13:43:41 +00:00
Rename filters to parameters
This commit is contained in:
parent
b2a81821dc
commit
24fbcc8f37
@ -104,7 +104,7 @@ module.exports = {
|
||||
'/3.0.0-beta.x/guides/deployment',
|
||||
'/3.0.0-beta.x/guides/email',
|
||||
'/3.0.0-beta.x/guides/upload',
|
||||
'/3.0.0-beta.x/guides/filters',
|
||||
'/3.0.0-beta.x/guides/parameters',
|
||||
'/3.0.0-beta.x/guides/graphql',
|
||||
'/3.0.0-beta.x/guides/i18n',
|
||||
'/3.0.0-beta.x/guides/models',
|
||||
|
||||
@ -97,12 +97,12 @@ Please refer to the [controllers' guide](../guides/controllers.md) for more info
|
||||
|
||||
---
|
||||
|
||||
## Filters
|
||||
## Parameters
|
||||
|
||||
Filters are a handy way to request data according to generic parameters. It makes filtering, sorting and paginating easy and reusable (eg. `GET /users?_limit=30&name=John`).
|
||||
Parameters are a handy way to request data according to generic parameters. It makes filtering, sorting and paginating easy and reusable (eg. `GET /users?_limit=30&name=John`).
|
||||
|
||||
::: note
|
||||
Please refer to the [filters' guide](../guides/filters.md) for more information.
|
||||
Please refer to the [parameters' guide](../guides/parameters.md) for more information.
|
||||
:::
|
||||
|
||||
---
|
||||
|
||||
@ -44,7 +44,7 @@ As an example let's consider the `Post` ContentType for the next steps.
|
||||
border-right 1px solid #dfe2e5
|
||||
&:last-child
|
||||
border-right none
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
@ -63,7 +63,7 @@ As an example let's consider the `Post` ContentType for the next steps.
|
||||
|
||||
## GET `/posts`
|
||||
|
||||
Returns the posts matching the query filters. You can read more about filtering [here](./filters.md).
|
||||
Returns the posts matching the query filters. You can read more about parameters [here](./parameters.md).
|
||||
|
||||
**Example request**
|
||||
|
||||
@ -101,7 +101,7 @@ GET http://localhost:1337/posts
|
||||
|
||||
## GET `/posts/count`
|
||||
|
||||
Returns the count of posts matching the query filters. You can read more about filtering [here](./filters.md).
|
||||
Returns the count of posts matching the query filters. You can read more about parameters [here](./parameters.md).
|
||||
|
||||
**Example response**
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# Filters
|
||||
# Parameters
|
||||
|
||||
See the [filters' concepts](../concepts/concepts.md#filters) for details.
|
||||
See the [parameters' concepts](../concepts/concepts.md#parameters) for details.
|
||||
|
||||
::: note
|
||||
By default, the filters can only be used from `find` endpoints generated by the Content Type Builder and the [CLI](../cli/CLI.md). If you need to implement a filters system somewhere else, read the [programmatic usage](#programmatic-usage) section.
|
||||
Loading…
x
Reference in New Issue
Block a user