标签: User.HonorsAwards

User.HonorsAwards Overview

有关此资源的方法列表,请参阅本页结尾。

资源表现形式

HonorsAwards 是用户的荣誉奖项数据。HonorsAwards数据被用于展示在用户Profile页面给其他用户查看。

{
    "id": integer,
    "user": integer,
    "organization": string,
    "title": string,
    "issued_at": string,
    "description": string,
    "city": string,
    "pic": file,
    "status": integer
}
Property nameValueDescriptionNotes
idinteger荣誉奖项 ID
userinteger用户 ID用户的唯一ID
organizationstring荣誉奖项的颁发机构
titlestring荣誉奖项的主题
issued_atstring荣誉奖项的获奖时间日期格式: YYYY-MM-DD
picfile荣誉奖项的相关图片仅允许图片文件
statusinteger荣誉奖项的状态。0为草稿,100为正常只有荣誉奖项的拥有者可以获取这个值。状态为0时,其他用户无法查看该字段

Methods

create

创建一个荣誉奖项

get

获取荣誉奖项列表

getById

指定用户ID获取该用户的荣誉奖项列表

update

更改指定数据ID的荣誉奖项

delete

删除指定数据ID的荣誉奖项