通过用户ID,获取指定用户的荣誉奖项列表。
Request
HTTP request
GET https://www.featapi.com/api/user/honors-awards/{id}/
Parameters
Path parameters
Parameter name | Value | Description |
---|---|---|
id | string | 用户 ID |
Authorization
该请求需要授权以下scopes访问权限:
Scopes |
---|
user_honors |
For more information, see the authentication and authorization page.
Request body
无需提交请求体信息。
Response
如果请求成功,根据path参数指定的用户ID,该API返回指定用户的User.Honors荣誉奖项列表在响应体信息。
200 Returns other user’s Honors list successfully
{
"data":[
{
"id":5,
"user":3616060330793,
"title":"奖学金",
"organization":"广东财经大学",
"issued_at":"2015-02-03",
"pic":"/media/storage/attachments/fO9OzYOKVzZclzevMVNd2hZImv07DKs4983N0P6l.jpeg",
"status":100
}
]
}
404 Not found
示例返回数据可参考 API Common – Resource Not Found