Following
GET /api/v1/following
Note: It is for querying the list of people whom a particular user follows.
Header
Field | Type | Remarks |
---|---|---|
ApiKey | String | ApiKey acquired from the admin |
Authorization | String | Bearer ${unifiedAuthToken} , in which the unifiedAuthToken is the result returned by /api/v1/auth |
Request Parameters
Field | Type | Remarks |
---|---|---|
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
Field | Type | Remarks |
---|---|---|
code | String | the Return Code |
desc | String | the Return Message |
data | FollowingResponse | the Data |
The FollowingResponse field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
cursor | String | the cursor |
list | List[Following] | list of followers |
The Following field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
relationId | String | User's relationId |
name | String | User name |
avatar | String | User's avatar |
Response Body
Return Code
code | desc | Remarks |
---|---|---|
0 | success | the flag for a successful request |
Last updated