Following
GET /api/v1/following
Note: It is for querying the list of people whom a particular user follows.
Header
Authorization
String
Bearer ${unifiedAuthToken} , in which the unifiedAuthToken is the result returned by /api/v1/auth
Request Parameters
address
String
relationId or address
limit
int
Query limit (up to 100)
cursor
string
Cursor data returned by last page. If it is empty, it means the caller is querying the first page.
Request Example
Response Parameters
code
String
the Return Code
desc
String
the Return Message
data
FollowingResponse
the Data
The FollowingResponse field consists of the following subfields:
cursor
String
the cursor
list
List[Following]
list of followers
The Following field consists of the following subfields:
relationId
String
User's relationId
name
String
User name
avatar
String
User's avatar
Response Body
Return Code
0
success
the flag for a successful request
Last updated