mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Add blocks, endorsements, favourites APIs
This commit is contained in:
parent
51c61c151b
commit
fe6c3c90e5
@ -18,8 +18,6 @@ Returns array of [Account]({{< relref "entities.md#account" >}})
|
|||||||
|
|
||||||
|Name|Description|Required|Default|
|
|Name|Description|Required|Default|
|
||||||
|----|-----------|:------:|:-----:|
|
|----|-----------|:------:|:-----:|
|
||||||
| `max_id` | Return results older than ID | Optional ||
|
|
||||||
| `since_id` | Return results newer than ID | Optional ||
|
|
||||||
| `limit` | Maximum number of results | Optional | 40 |
|
| `limit` | Maximum number of results | Optional | 40 |
|
||||||
|
|
||||||
### Pagination
|
### Pagination
|
||||||
|
@ -5,3 +5,15 @@ menu:
|
|||||||
parent: api
|
parent: api
|
||||||
weight: 10
|
weight: 10
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## GET /api/v1/endorsements
|
||||||
|
|
||||||
|
Returns array of [Account]({{< relref "entities.md#account" >}})
|
||||||
|
|
||||||
|
### Resource information
|
||||||
|
|
||||||
|
{{< api_method_info auth="Yes" user="Yes" scope="read read:account" version="0.0.0" >}}
|
||||||
|
|
||||||
|
### Pagination
|
||||||
|
|
||||||
|
{{< api_pagination >}}
|
||||||
|
@ -5,3 +5,21 @@ menu:
|
|||||||
parent: api
|
parent: api
|
||||||
weight: 10
|
weight: 10
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## GET /api/v1/favourites
|
||||||
|
|
||||||
|
Returns array of [Status]({{< relref "entities.md#status" >}})
|
||||||
|
|
||||||
|
### Resource information
|
||||||
|
|
||||||
|
{{< api_method_info auth="Yes" user="Yes" scope="read read:favourites" version="0.0.0" >}}
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
|
||||||
|
|Name|Description|Required|Default|
|
||||||
|
|----|-----------|:------:|:-----:|
|
||||||
|
| `limit` | Maximum number of results | Optional | 20 |
|
||||||
|
|
||||||
|
### Pagination
|
||||||
|
|
||||||
|
{{< api_pagination >}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user