从指定组中获取游戏密钥列表以构建目录。
limit | integer 页面上元素数量的限制。 Example: limit=50 |
offset | integer 元素编号,从该元素开始生成列表(从0开始数)。 Example: offset=0 |
locale | string Default: "en" 响应语言。符合ISO 639-1标准的两个小写字母的语言代码。 |
additional_fields[] | Array of strings 附加字段列表。如果在请求中发送这些字段,则它们将包含在响应中。可用字段 |
country | string Default: "US" 对于该目录要计算区域价格和限制的国家/地区。符合ISO 3166-1 alpha-2的两个大写字母的国家/地区代码。如果未明确指定国家/地区,则将根据用户的IP地址进行计算。 |
已成功接收游戏列表。
{- "items": [
- {
- "attributes": {
- "$ref": "#/components/examples/client-attribute-game-horror/Catalog_value"
}, - "description": "Game description",
- "drm_name": "Steam",
- "drm_sku": "steam",
- "groups": [
- {
- "external_id": "all",
- "name": "All games"
}, - {
- "external_id": "Xsolla",
- "name": "Xsolla games"
}
], - "has_keys": true,
- "is_free": false,
- "is_pre_order": true,
- "name": "Game name",
- "price": {
- "amount": "30.5",
- "amount_without_discount": "30.5",
- "currency": "USD"
}, - "release_date": "2020-08-11T10:00:00+03:00",
- "sku": "game_1",
- "type": "game_key",
- "virtual_prices": [ ]
}, - {
- "attributes": {
- "$ref": "#/components/examples/client-attribute-game-horror/Catalog_value"
}, - "description": "Game description",
- "drm_name": "Steam",
- "drm_sku": "steam",
- "groups": [
- {
- "external_id": "all",
- "name": "All games"
}
], - "has_keys": true,
- "is_free": false,
- "is_pre_order": false,
- "name": "Game name",
- "price": {
- "amount": "30.5",
- "amount_without_discount": "30.5",
- "currency": "USD"
}, - "sku": "game_2",
- "type": "game_key",
- "virtual_prices": [ ]
}
]
}