GEThttps://seller-api.playerauctions.com/api/v1/games
查询可用游戏列表。
i. 请求参数
无需请求参数。
ii. 响应示例
成功响应
{
"code": 10000,
"message": "",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"data": [
{
"gameId": 3637,
"gameName": "League of Legends",
"seoName": "LOL",
"gameNameAb": "League of Legends",
"curName": "Riot Points",
"curSuffix": "K",
"productType": "currency,item,account,powerleveling,topup",
"aliases": ",",
"isSecurityQARequired": 0,
"isCDKeyRequired": 0,
"isParentalPswRequired": 0,
"isInvolveExploitsGame": false,
"isMCurrencyType": false
},
{
"gameId": 5263,
"gameName": "RuneScape - Old School",
"seoName": "OSRS",
"gameNameAb": "RuneScape - Old School",
"curName": "Gold",
"curSuffix": "M",
"productType": "currency,item,account,powerleveling,topup",
"aliases": ",",
"isSecurityQARequired": 1,
"isCDKeyRequired": 1,
"isParentalPswRequired": 1,
"isInvolveExploitsGame": true,
"isMCurrencyType": true
}
]
}错误响应
{
"code": 50001,
"message": "Internal server error.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}iii. 响应参数
| 参数 | 类型 | 描述 |
|---|---|---|
| code | int | 响应代码。10000 表示成功, 其它值为报错。 |
| message | string | 响应信息及报错详情。 |
| requestId | string | 请求标识号, 用以追溯。 |
| data | array | 可用游戏列表。 |
| └─ gameId | int | 游戏的唯一标识符。 |
| └─ gameName | string | 游戏全称。 |
| └─ seoName | string | 适用于 SEO(搜索引擎优化)的游戏名称/缩写。 |
| └─ gameNameAb | string | 游戏简称。 |
| └─ curName | string | 游戏内货币的名称。 |
| └─ curSuffix | string | 用于货币数量的后缀(例如:K 代表千,M 代表百万)。 |
| └─ productType | string | 该游戏支持的商品类型列表,以逗号分隔(包括:游戏币、道具、账号、代练、充值)。 |
| └─ aliases | string | 该游戏的别名列表,以逗号分隔。 |
| └─ isSecurityQARequired | int | 是否需要安全提示问题及答案。1:是, 0: 否。 |
| └─ isCDKeyRequired | int | 是否需要 CD Key(游戏激活码/序列号)。1:是, 0: 否。 |
| └─ isParentalPswRequired | int | 是否需要家长控制密码。1:是, 0: 否。 |
| └─ isInvolveExploitsGame | boolean | 提示: 用于指示若上架商品使用了影响其他玩家游戏体验的外挂或修改,该报价(Offer)将被下架。True 表示显示,False 表示不显示。 |
| └─ isMCurrencyType | boolean | 游戏是否支持多币种,1:True, 0: False;若为 1,则在为此游戏创建货币报价(Currency Offer)时必须提供 currencyType(货币类型)。 |