Create New Inventory Session
POST/inventory/v1/player/:player_id/session
Create a new Inventory Session for the specified player.
Request
Path Parameters
- application/json
Body
required
- Platform
session_platform
object
The platform for the session.
anyOf
string
Possible values: [Anon, Basic, XboxLive, PSN, NintendoNAID, NintendoSwitch, NintendoPPID, Google, GooglePlay, Apple, Epic, Steam, Amazon, Twitch, RallyHere, LegacyName]
Responses
- 202
- 403
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- Platform
- MOD1
The ID of the session.
session_platform
object
The platform for the session.
anyOf
string
Possible values: [Anon, Basic, XboxLive, PSN, NintendoNAID, NintendoSwitch, NintendoPPID, Google, GooglePlay, Apple, Epic, Steam, Amazon, Twitch, RallyHere, LegacyName]
order_id
object
The ID of the Order generated for any Loot given during the creation of the Inventory Session.
anyOf
string
{
"session_id": "string",
"session_platform": "Anon",
"order_id": "string"
}
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"
}
]
}