URLs
PUT api/v1/achievement/{id}.xml (or .json)
请求参数
名称 |
类型 |
描述 |
必需 |
默认值 |
选项 |
Id |
Guid |
Id of the Achievement |
是 |
||
Title |
string |
Title of the Achievement |
否 |
||
Criteria |
string |
Criteria to earn the Achievement |
否 |
||
BadgeIconName |
string |
Name of the file representing the badge for the Achievement |
否 |
||
BadgeIconData |
Byte[] |
Data of the file representing the badge for the Achievement. If BadgeIconName is specified, either BadgeIconData or BadgeIconUploadContext is required. |
否 |
||
BadgeIconUploadContext |
string |
Upload context of the file representing the badge for the Achievement. Either BadgeIconData or BadgeIconUploadContext is required. |
否 |
||
Enabled |
bool |
Enabled state of the achievement, whether it can be earned. |
否 |