Получает список игр в рамках проекта для администрирования. Игра состоит из игровых ключей, которые могут быть приобретены пользователем.
project_id required | integer ID проекта. Вы можете найти этот параметр в Личном кабинете рядом с названием проекта. Example: 44056 |
Список игр успешно получен.
Данные для базовой аутентификации не переданы или ошибочны. Убедитесь, что использовали базовую аутентификацию и проверьте правильность учетных данных.
{- "items": [
- {
- "attributes": [
- {
- "external_id": "platform",
- "name": {
- "en-US": "Platform"
}, - "values": [
- {
- "external_id": "platform_value_d847f9a494487f5e95ad218f7beecac646f15989",
- "value": {
- "de-DE": "Windows, Linux",
- "en-US": "Windows, Linux"
}
}
]
}
], - "description": {
- "en": "Example game 1"
}, - "groups": [
- {
- "external_id": "horror",
- "name": {
- "en": "Horror"
}
}
], - "is_enabled": true,
- "is_free": false,
- "is_show_in_store": false,
- "item_id": 1,
- "long_descriptions": {
- "en": "Example game's long description"
}, - "media_list": [
- {
- "type": "image",
}
], - "name": {
- "en": "Game 1"
}, - "order": 1,
- "sku": "game_1",
- "type": "unit",
- "unit_items": [
- {
- "drm_id": 1,
- "drm_name": "Steam",
- "drm_sku": "steam",
- "is_enabled": true,
- "is_free": false,
- "is_sales_exist": false,
- "is_show_in_store": false,
- "item_id": 3,
- "keys": {
- "available": 3,
- "total": 4,
- "used": 1
}, - "limits": {
- "per_item": {
- "available": 5000,
- "reserved": 500,
- "sold": 4500,
- "total": 10000
}, - "per_user": {
- "total": 10
}, - "recurrent_schedule": {
- "per_user": {
- "day_of_month": null,
- "day_of_week": null,
- "displayable_reset_next_date": "2023-02-28T11:00:00+08:00",
- "displayable_reset_start_date": "2023-02-28T11:00:00+08:00",
- "interval_type": "daily",
- "reset_next_date": 1677553200,
- "time": "11:00:00+08:00"
}
}
}, - "order": 1,
- "periods": [
- {
- "date_from": null,
- "date_until": "2020-08-11T20:00:00+03:00"
}
], - "pre_order": {
- "description": null,
- "is_enabled": false,
- "release_date": null
}, - "prices": [
- {
- "amount": 1199.99,
- "country_iso": "RU",
- "currency": "RUB",
- "is_default": true,
- "is_enabled": true
}
], - "sku": "game_1_key_1",
- "type": "game_key",
- "virtual_prices": [ ]
}, - {
- "attributes": [ ],
- "drm_id": 8,
- "drm_image": null,
- "drm_name": "Epic Games Store",
- "drm_sku": "epicgames",
- "groups": [ ],
- "is_enabled": true,
- "is_free": false,
- "is_sales_exist": true,
- "is_show_in_store": false,
- "item_id": 4,
- "keys": {
- "available": 0,
- "total": 0,
- "used": 0
}, - "limits": {
- "per_item": null,
- "per_user": null,
- "recurrent_schedule": null
}, - "name": {
- "en": "Game 1 Key 2"
}, - "order": 1,
- "periods": [ ],
- "pre_order": {
- "description": "Some description",
- "is_enabled": true,
- "release_date": "2020-08-11T10:00:00+03:00"
}, - "prices": [
- {
- "amount": 1299.99,
- "country_iso": "RU",
- "currency": "RUB",
- "is_default": true,
- "is_enabled": true
}
], - "sku": "game_1_key_2",
- "type": "game_key",
- "virtual_prices": null
}
]
}, - {
- "attributes": [
- {
- "external_id": "platform",
- "name": {
- "en-US": "Platform"
}, - "values": [
- {
- "external_id": "platform_value_d847f9a494487f5e95ad218f7beecac646f15989",
- "value": {
- "de-DE": "Windows, Linux",
- "en-US": "Windows, Linux"
}
}
]
}
], - "description": {
- "en": "Example game 2"
}, - "groups": [
- {
- "external_id": "horror",
- "name": "Horror"
}
], - "is_enabled": true,
- "is_free": false,
- "is_show_in_store": true,
- "item_id": 2,
- "long_descriptions": {
- "en": "Example game's long description"
}, - "media_list": [ ],
- "name": {
- "en": "Game 2"
}, - "order": 1,
- "sku": "game_2",
- "type": "unit",
- "unit_items": [
- {
- "drm_id": 8,
- "drm_image": null,
- "drm_name": "Epic Games Store",
- "drm_sku": "epicgames",
- "is_enabled": false,
- "is_free": false,
- "is_sales_exist": true,
- "is_show_in_store": false,
- "item_id": 5,
- "keys": {
- "available": 0,
- "total": 0,
- "used": 0
}, - "limits": {
- "per_item": {
- "available": 5000,
- "reserved": 500,
- "sold": 4500,
- "total": 10000
}, - "per_user": {
- "total": 10
}, - "recurrent_schedule": {
- "per_user": {
- "day_of_month": null,
- "day_of_week": null,
- "displayable_reset_next_date": "2023-02-28T11:00:00+08:00",
- "displayable_reset_start_date": "2023-02-28T11:00:00+08:00",
- "interval_type": "daily",
- "reset_next_date": 1677553200,
- "time": "11:00:00+08:00"
}
}
}, - "order": 1,
- "periods": [
- {
- "date_from": "2020-08-11T10:00:00+03:00",
- "date_until": "2020-08-11T20:00:00+03:00"
}
], - "pre_order": {
- "description": null,
- "is_enabled": false,
- "release_date": null
}, - "prices": [ ],
- "sku": "game_2_key_2",
- "type": "game_key",
- "virtual_prices": [
- {
- "amount": 1000,
- "description": null,
- "is_default": true,
- "name": {
- "en": "Gold"
}, - "sku": "gold",
- "type": "virtual_currency"
}
]
}
]
}
]
}