Skip to main content

Follow User

string
POST
string
/following/
Follows a specified user.

Authentication

Requires JWT authentication via Authorization: Bearer <token> header.

Path Parameters

string
required
The unique identifier of the user to follow

Query Parameters

string
required
CAPTCHA token for verification

Response

object
Created - User followed successfully

Unfollow User

string
DELETE
string
/following/
Unfollows a specified user.

Authentication

Requires JWT authentication via Authorization: Bearer <token> header.

Path Parameters

string
required
The unique identifier of the user to unfollow

Response

object
Success - User unfollowed successfully

Get Following

string
GET
string
/following/
Retrieves the list of users that a specified user is following.

Authentication

Requires JWT authentication via Authorization: Bearer <token> header.

Path Parameters

string
required
The unique identifier of the user

Response

object
Success - Returns list of following relationships