diff --git a/content/en/api/rest/mutes.md b/content/en/api/rest/mutes.md index a835d431..59d15b28 100644 --- a/content/en/api/rest/mutes.md +++ b/content/en/api/rest/mutes.md @@ -5,3 +5,21 @@ menu: parent: api weight: 10 --- + +## GET /api/v1/mutes + +Returns array of [Account]({{< relref "entities.md#account" >}}) + +### Resource information + +{{< api_method_info auth="Yes" user="Yes" scope="read read:mutes follow" version="0.0.0" >}} + +### Parameters + +|Name|Description|Required|Default| +|----|-----------|:------:|:-----:| +| `limit` | Maximum number of results | Optional | 40 | + +### Pagination + +{{< api_pagination >}} diff --git a/layouts/shortcodes/api_dynamic_pagination.html b/layouts/shortcodes/api_dynamic_pagination.html index c7d01f9f..0b58cba8 100644 --- a/layouts/shortcodes/api_dynamic_pagination.html +++ b/layouts/shortcodes/api_dynamic_pagination.html @@ -1 +1 @@ -

This API returns Link headers containing links to the next and previous page. However, the links can also be constructed dynamically using query params.

+

This API returns Link headers containing links to the next and previous page. However, the links can also be constructed dynamically using query params and id values.

diff --git a/layouts/shortcodes/api_pagination.html b/layouts/shortcodes/api_pagination.html index e0263e77..6fe770fb 100644 --- a/layouts/shortcodes/api_pagination.html +++ b/layouts/shortcodes/api_pagination.html @@ -1 +1 @@ -

This API returns Link headers containing links to the next and previous page. Since it is using an internal ID, it is impossible to dynamically generate query parameters to paginate. You must rely on the Link header.

+

This API returns Link headers containing links to the next and previous page. Since it is using an internal ID, it is not possible to dynamically generate query parameters to paginate. You must rely on the Link header.