Inspect Loot Box
GET
https://api.lootlocker.com/game/v1/asset/instance/{instance_id}/inspect
weight
in sum(weights)
chance of getting a specific asset. For more information see the article by Peter Kelly on weighted random selection.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lootlocker.com/game/v1/asset/instance/19/inspect' \
--header 'x-session-token: ' \
--header 'x-session-token;'
Response Response Example
200 - Success
{
"success": true,
"contents": [
{
"asset_id": 64,
"asset_variation_id": null,
"asset_rental_option_id": null,
"weight": 90
}
]
}
Request
Path Params
instance_id
stringÂ
required
Example:
19
Header Params
x-session-token
stringÂ
required
Example:
{{session_token}}
Responses
Modified at 2025-01-23 21:07:53