List Multisource Metadata
Developing
POST
https://api.lootlocker.io/admin/game/{game_id}/metadata/multisource
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.lootlocker.io/admin/game//metadata/multisource' \
--header 'x-auth-token: ' \
--header 'x-auth-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
{
"metadata": [
{
"entries": [
{
"access": [
"game_api.read"
],
"key": "has_beta_access",
"tags": [],
"type": "bool",
"value": true
},
{
"access": [
"game_api.read",
"game_api.write"
],
"key": "preferred_nickname",
"tags": [
"foo"
],
"type": "string",
"value": "xXx_ProGamer9000_xXx"
}
],
"source": "leaderboard",
"source_id": "01J8030AMYTZN4ZQ4WBT3V8XGP"
},
{
"entries": [
{
"access": [
"game_api.read"
],
"key": "has_beta_access",
"tags": [],
"type": "bool",
"value": true
}
],
"source": "catalog_item",
"source_id": "01J7S0CED5K0THCB1ENN9XKQWZ"
}
]
}
Request
Path Params
game_id
stringÂ
required
Example:
{{dev_game_id}}
Header Params
x-auth-token
stringÂ
optional
Example:
{{admin_auth_token}}
Body Params application/json
Responses
Modified at 2024-09-18 12:18:46