关注
POST /api/v1/follow
说明:关注一个用户,成功后他将出现在关注列表里,同时调用者将出现在对方的粉丝列表
Header
Field | Type | Remarks |
---|---|---|
ApiKey | String | 从管理员获取的ApiKey |
Authorization | String | Bearer ${unifiedAuthToken} ,其中unifiedAuthToken来自/api/v1/auth接口的返回 |
Request Parameters
Field | Type | Remarks |
---|---|---|
address | String | 对方的relationId / address |
Request Example
Response Parameters
Field | Type | Remarks |
---|---|---|
code | String | 返回码 |
desc | String | 返回信息 |
data | Object | 数据 |
Response Body
Return Code
code | desc | Remarks |
---|---|---|
0 | success | 接口调用成功 |
11601 | 不可follow自己 | |
11602 | 当前版本不支持该地址 |
Last updated