19 lines
541 B
Markdown
19 lines
541 B
Markdown
|
# `/user/{username}/follow` - POST
|
||
|
Let the authenticated account follow the user.
|
||
|
|
||
|
## HTTP Headers
|
||
|
| Header | Content |
|
||
|
|---------------|--------------------|
|
||
|
| Authorization | `Bearer {token}` |
|
||
|
|
||
|
## Responses
|
||
|
### 200 - Success
|
||
|
Successfully followed the user.
|
||
|
### 208 - Already Reported
|
||
|
You already follow the user.
|
||
|
### 401 - Error: Unauthorized
|
||
|
The provided auth token doesn't allow you to perform this operation.
|
||
|
### 403 - Error: Forbidden
|
||
|
Blocked for security reasons.
|
||
|
### 404 - Error: Not Found
|
||
|
The user wasn't found.
|