List Metadata
GET
https://api.lootlocker.com/game/metadata/source/{source}/id/{source_id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lootlocker.com/game/metadata/source/catalog_item/id/01J73J7R9AKV992G6N34B3NVAM?tags=bar&ignore_files=true' \
--header 'Cache-Control: no-cache' \
--header 'x-session-token;'
Response Response Example
200 - Success
{
"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": []
}
],
"pagination": {
"errors": null,
"per_page": 10,
"offset": 0,
"total": 5,
"last_page": 1,
"current_page": 1,
"next_page": null,
"prev_page": null
}
}
Request
Path Params
source
stringÂ
required
Example:
self
, player
, reward
, currency
, catalog_item
etc...Example:
catalog_item
source_id
stringÂ
required
source
is set to self
, then it is required to set this field to self
as wellExample:
01J73J7R9AKV992G6N34B3NVAM
Query Params
page
stringÂ
optional
Example:
1
per_page
stringÂ
optional
Example:
10
key
stringÂ
optional
Example:
has_beta_access
tags
array[string]
optional
Example:
["bar"]
ignore_files
stringÂ
optional
Example:
true
Header Params
Cache-Control
stringÂ
required
Example:
no-cache
x-session-token
stringÂ
required
Default:
{{session_token}}
Responses
Modified at 2024-11-18 12:30:52