List
Developing
GET
https://api.lootlocker.io/admin/game/{game_id}/triggers/cozy-crusader/v1
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lootlocker.io/admin/game//triggers/cozy-crusader/v1' \
--header 'x-auth-token: ' \
--header 'x-auth-token;'
Response Response Example
{
"pagination": {
"errors": null,
"per_page": 10,
"offset": 0,
"total": 2,
"last_page": 1,
"current_page": 1,
"next_page": null,
"prev_page": null
},
"triggers": [
{
"id": "01J8SBBBMQG9E3TSN9QKRH8E03",
"key": "custom_key",
"name": "enter_ice_caves",
"limit": 5,
"reward_id": "01J8SB9QB6SW8AK1ARBE9GT434",
"reward_kind": "asset",
"created_at": "2024-09-27T09:00:20Z",
"updated_at": null
},
{
"id": "01J8SBFBFNQTANMNXWGD17RYKF",
"key": "another_key",
"name": "slay_mogor_the_ogor",
"limit": 0,
"reward_id": "01J8SB9QB6SW8AK1ARBE9GT434",
"reward_kind": "asset",
"created_at": "2024-09-27T09:02:31Z",
"updated_at": null
}
]
}
Request
Path Params
game_id
stringÂ
required
Header Params
x-auth-token
stringÂ
optional
Example:
{{admin_auth_token}}
Responses
Modified at 2024-10-09 08:25:33