« Go back to the home page
Follow
This endpoint may be used to get information of follow relationships and modify them.
The Follow object
Property |
Type |
Description |
id |
integer |
The unique identifier of this Block |
sender |
User |
The creator of this Follow |
receiver |
User |
The user that was followed |
time |
string |
The timestamp of when this Follow was created |
GET /follow
Gets info about a specific follow relationship.
Parameters
Property |
Type |
Description |
from |
integer |
The ID of the sending User |
to |
integer |
The ID of the target User |
Response
This endpoint might either return a Follow object, or
uses the following structure:
Property |
Type |
Description |
status |
integer |
The status of the follow relationship |
POST /follow
Creates a new Follow from the current user to a specific user.
Requires authorization
Parameters
Property |
Type |
Description |
to |
integer |
The ID of the target User |
Response
Property |
Type |
Description |
status |
integer |
The status of the follow relationship |
DELETE /follower
Deletes a follow relationship from the current user to a specific FeedEntry.
Requires authorization
Parameters
Property |
Type |
Description |
to |
integer |
The ID of the target User |
Response
Property |
Type |
Description |
status |
integer |
The status of the follow relationship |
GET /follows
Gets all follow relationships for a specific user.
Parameters
Property |
Type |
Description |
from |
?integer |
The ID of the user to look for |
to |
?integer |
The ID of the user to look for |
max |
?integer |
The maximum ID for follows to look for |
Response
Returns multiple Favorite objects.