List Multisource Metadata
POST
https://api.lootlocker.com/game/metadata/multisource
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.com/game/metadata/multisource?ignore_files=true' \
--header 'x-session-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"sources": [
{
"source": "leaderboard",
"id": "01J8030AMYTZN4ZQ4WBT3V8XGP",
"keys": [
"has_beta_access",
"preferred_nickname"
]
},
{
"source": "catalog_item",
"id": "01J7S0CED5K0THCB1ENN9XKQWZ",
"keys": [
"has_beta_access"
]
}
]
}'
Response Response Example
200 - Success
{
"metadata": [
{
"source": "reward",
"entries": [
{
"value": true,
"key": "has_beta_access",
"type": "bool",
"tags": []
},
{
"value": "xXx_ProGamer9000_xXx",
"key": "preferred_nickname",
"type": "string",
"tags": [
"foo"
]
},
{
"value": 35,
"key": "player_age",
"type": "number",
"tags": [
"foo",
"bar"
]
},
{
"value": {
"key": "value",
"properties": {
"tutorial_complete": true,
"chapter_one_complete": true
}
},
"key": "game_state",
"type": "json",
"tags": []
},
{
"value": {
"content_type": "image/jpeg",
"content": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII="
},
"key": "chosen_icon",
"type": "base64",
"tags": []
},
{
"value": true,
"key": "new_has_beta_access",
"type": "bool",
"tags": []
}
],
"source_id": "01J3ZEYRX4QVFZ0QC4DF4J1SST"
},
{
"source": "leaderboard",
"entries": [
{
"value": true,
"key": "has_beta_access",
"type": "bool",
"tags": []
},
{
"value": "xXx_ProGamer9000_xXx",
"key": "preferred_nickname",
"type": "string",
"tags": [
"foo"
]
},
{
"value": 35,
"key": "player_age",
"type": "number",
"tags": [
"foo",
"bar"
]
},
{
"value": {
"key": "value",
"properties": {
"tutorial_complete": true,
"chapter_one_complete": true
}
},
"key": "game_state",
"type": "json",
"tags": []
},
{
"value": {
"content_type": "image/jpeg",
"content": "iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII="
},
"key": "chosen_icon",
"type": "base64",
"tags": []
}
],
"source_id": "01J5AYM4GT803QDNWG9TK3PK27"
}
]
}
Request
Query Params
ignore_files
stringÂ
optional
Example:
true
Header Params
x-session-token
stringÂ
required
Default:
{{session_token}}
Body Params application/json
Responses
Modified at 2024-10-30 11:10:07