diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 8564e9139e..28d1fb5998 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -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', diff --git a/docs/3.0.0-beta.x/concepts/concepts.md b/docs/3.0.0-beta.x/concepts/concepts.md index 46a422f032..12f9cdd312 100644 --- a/docs/3.0.0-beta.x/concepts/concepts.md +++ b/docs/3.0.0-beta.x/concepts/concepts.md @@ -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. ::: --- diff --git a/docs/3.0.0-beta.x/guides/api-endpoints.md b/docs/3.0.0-beta.x/guides/api-endpoints.md index bf7b90a07a..9e89a6ed76 100644 --- a/docs/3.0.0-beta.x/guides/api-endpoints.md +++ b/docs/3.0.0-beta.x/guides/api-endpoints.md @@ -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 - + @@ -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** diff --git a/docs/3.0.0-beta.x/guides/filters.md b/docs/3.0.0-beta.x/guides/parameters.md similarity index 98% rename from docs/3.0.0-beta.x/guides/filters.md rename to docs/3.0.0-beta.x/guides/parameters.md index 68ee29a5de..75936f8cea 100644 --- a/docs/3.0.0-beta.x/guides/filters.md +++ b/docs/3.0.0-beta.x/guides/parameters.md @@ -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.