Create Asset Candidate
POST
https://api.lootlocker.com/game/v1/player/assets/candidates
ugc
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.com/game/v1/player/assets/candidates' \
--header 'x-session-token: ' \
--header 'x-session-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"completed": true,
"data": {
"name": "{{$randomProductName}}",
"kv_storage": [
{
"key": "velit",
"value": "laborum"
}
],
"filters": [
{
"key": "anim sed veniam",
"value": "tempor aliquip velit"
}
],
"data_entities": [
{
"name": "perspiciatis accusantium reprehenderit",
"data": "proident sit consequat"
}
]
}
}'
Response Response Example
{
"success": true,
"asset_candidate": {
"id": 1,
"player_id": 1,
"player_public_uid": "string",
"asset_id": 1,
"status": "INCOMPLETE",
"review_feedback": "string",
"data": {
"name": "string",
"kv_storage": [
{
"key": "string",
"value": "string"
}
],
"filters": [
{
"key": "string",
"value": "string"
}
],
"data_entities": [
{
"name": "string",
"data": "string"
}
],
"context_id": 1
},
"files": [
{
"id": 1,
"url": "http://example.com",
"size": 1,
"name": "string",
"purpose": "PRIMARY_THUMBNAIL"
}
],
"primary_thumbnail": "http://example.com",
"created_at": "string",
"updated_at": "string"
}
}
Request
Header Params
x-session-token
stringÂ
required
Example:
{{session_token}}
Body Params application/json
Responses
Modified at 2024-11-14 15:30:39