Rename filters to parameters

This commit is contained in:
Jim LAURIE 2019-09-23 16:41:19 +02:00
parent b2a81821dc
commit 24fbcc8f37
4 changed files with 9 additions and 9 deletions

View File

@ -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',

View File

@ -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.
:::
---

View File

@ -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**

View File

@ -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.