proxy/darwin/graph/game/achievement/add
游戏成就对象数据入库/更新
URL
https://api.weibo.com/2/proxy/darwin/graph/game/achievement/add.json
支持格式
JSON
HTTP请求方式
POST
是否需要登录
是
关于登录授权,参见 如何登录授权
访问授权限制
访问级别:普通接口
频次限制:是
关于频次限制,参见 接口访问权限说明
请求参数
必选 | 类型及范围 | 说明 | |
---|---|---|---|
access_token | true | string | 采用OAuth授权方式为必填参数,OAuth授权后获得。 |
achievement_id | true | string | 游戏成就id |
game_id | true | string | 游戏id |
title | true | string | 成就名称 |
image | true | string | 图像url信息,图片大小200*200像素,支持PNG、JPEG、JPG,需要经过encode处理 |
description | true | string | 游戏成就描述信息 |
game_point | true | string | 游戏点数 |
url | true | string | 成就类型url地址信息,需要经过encode处理 |
updated_time | true | timestamp | 对象最后一次更新时间 格式为YYYY-MM-DD HH:MM:SS,如2014-10-24 10:5:5 |
create_time | true | timestamp | 创建时间 格式为YYYY-MM-DD HH:MM:SS,如2014-10-24 10:5:5 |
注意事项
- 更新数据的类型必须与元数据中记录的类型一致
- 在 JSON 中使用自1970-01-01以来的毫秒数表示时间戳类型字段
调用样例及调试工具
返回结果
JSON示例
//成功返回 { "result": true } //失败返回 { "request": "/2/darwin/graph/game/achievement/add.json", "error_code": "25200", "error": "error message." }
关于错误返回值与错误代码,参见 错误代码说明
返回字段说明
{{{resultDes}}}
其他
无
相关问题
到 帮助中心 查看更多问题或提问