Get Player Inventory Self
GET/inventory/v1/player/me/inventory
Get the Inventory for the currently authenticated player.
Request
Query Parameters
Responses
- 200
- 403
- 422
- 503
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- Time Zone Aware Datetime
- MOD1
- CacheInfo
- CacheInfo
inventory
object
Inventory Context for a Player.
items
object
Item Inventories for this Inventory.
property name*
ItemInventory
Inventory of a particular Item for a Player organized by Inventory ID.
records
object
Inventory Records for this Item Inventory.
property name*
InventoryRecord
Inventory Record for a Player
Unique ID for this Inventory Record.
Possible values: [persistent, transient, always_owned]
Type of Inventory Record.
legacy_inventory_id
int64
Legacy Inventory ID.
anyOf
integer
Possible values: [free, sweat, none, anon, amazon, steam, psn, xbox_live, google, twitch, nintendo_switch, apple, nintendo, epic, google_play, nintendo_ppid]
Default value: none
Grouping of Inventory Items. Inventory items are grouped into different buckets as each Platform that is supported has different requirements on how Inventory can be used on their Platform and other Platforms.
Instance count for this Inventory Record.
When this Inventory Record was acquired.
expires
object
When this Inventory Record expires.
anyOf
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
string
custom_data
object
Arbitrary map of data for this Inventory Record.
anyOf
cache_info
object
Cache Info for this Item Inventory.
anyOf
Cache information for the resource it is attached to. The etag value can be used with the If-None-Match and If-Match headers
Possible values: non-empty
cache_info
object
Cache Info for this Inventory.
anyOf
Cache information for the resource it is attached to. The etag value can be used with the If-None-Match and If-Match headers
Possible values: non-empty
{
"inventory": {
"items": {},
"cache_info": {}
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Service was unable to fulfill the request at this time and should be retried after the Retry-After wait time
Response Headers
Retry-After
integer
Number of seconds after which to retry the request, when the server should have the resource available
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}