获取用户拥有的游戏列表。响应将包含指定用户拥有的一组游戏。
已成功接收用户拥有的游戏密钥的列表。
基本认证未通过或错误。确保您使用了基本认证或正确的凭据。
curl -i -X GET \ 'https://store.xsolla.com/api/v2/project/{project_id}/entitlement?limit=50&offset=0&sandbox=0&additional_fields%5B%5D=string' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
{- "has_more": false,
- "items": [
- {
- "description": "Description of the greatest game in the world.",
- "drm": "drmfree",
- "game_sku": "com.xsolla.key_1",
- "is_pre_order": false,
- "name": "The Greatest Game in the World",
- "project_id": 30810
}
], - "total_items_count": 1
}