2018-09-26 00:19:54 +02:00
|
|
|
---
|
2018-10-05 02:56:52 +02:00
|
|
|
title: Follow requests
|
2018-09-26 00:19:54 +02:00
|
|
|
menu:
|
|
|
|
docs:
|
2018-10-05 02:56:52 +02:00
|
|
|
parent: rest-api
|
2018-09-26 00:19:54 +02:00
|
|
|
weight: 10
|
|
|
|
---
|
2018-10-05 02:56:52 +02:00
|
|
|
|
|
|
|
## GET /api/v1/follow_requests
|
|
|
|
|
|
|
|
Accounts that have requested to follow the user.
|
|
|
|
|
|
|
|
Returns array of [Account]({{< relref "entities.md#account" >}})
|
|
|
|
|
|
|
|
### Resource information
|
|
|
|
|
|
|
|
{{< api_method_info auth="Yes" user="Yes" scope="read read:follows follow" version="0.0.0" >}}
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|
|
|
|
|Name|Description|Required|Default|
|
|
|
|
|----|-----------|:------:|:-----:|
|
|
|
|
| `limit` | Maximum number of results | Optional | 40 |
|
|
|
|
|
|
|
|
### Pagination
|
|
|
|
|
|
|
|
{{< api_pagination >}}
|
|
|
|
|
|
|
|
## POST /api/v1/follow_requests/:id/authorize
|
|
|
|
|
|
|
|
Allow the account to follow the user.
|
|
|
|
|
|
|
|
### Resource information
|
|
|
|
|
|
|
|
{{< api_method_info auth="Yes" user="Yes" scope="write:follows follow" version="0.0.0" >}}
|
|
|
|
|
|
|
|
## POST /api/v1/follow_requests/:id/reject
|
|
|
|
|
|
|
|
Do not allow the account to follow the user.
|
|
|
|
|
|
|
|
### Resource information
|
|
|
|
|
|
|
|
{{< api_method_info auth="Yes" user="Yes" scope="write:follows follow" version="0.0.0" >}}
|