Recommendation
GET /api/v1/recommend
Note: The recommendation engine recommends potential friends to DApp based on tags they add.
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 |
---|---|---|
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 |
msg | String | the Return Message |
data | RecommendResponse | the Data |
The RecommendResponse field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
cursor | String | the cursor |
list | List[RecommendUser] | list of followers |
The RecommendUser field consists of the following subfields:
Field | Type | Remarks |
---|---|---|
uxuyId | String | User's uxuyId |
name | String | User name |
avatar | String | User's avatar |
recommendReason | String | Reason for recommendation |
Response Body
Return Code
code | desc | Remarks |
---|---|---|
200 | success | the flag for a successful request |
Last updated