- Auth
- API Keys
- Collectables
- Heroes and Characters
- Game
- Asset Candidates
- Assets
- Bones
- Players
- Leaderboards
- Files
- Feature Toggles
- Universal Player Auth
- Merging
- Rarities
- Preferences
- Platforms
- Progressions
- User
- Organisation
- Link Types
- Events/Missions
- Maps
- White Label Login
- Rewards
- Moderation Reports
- Catalogs
- Currency
- Balances
- Messages
- DLC
- Player Segments
- Character Classes
- Subscriptions
- Player Operations
- Roles
- Title Config
- Items
- Entitlements
- Feedback
- Hosts
- Metadata
- Triggers
- Data Migration
- Twitch Drops
- Notifications
Create Progression Points Reward
POST
https://api.lootlocker.io/admin/game/{game_id}/reward
rewards
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.lootlocker.io/admin/game//reward' \
--header 'x-auth-token: ' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"entity_id": "01H52F4NQ42R8NSNNSB08RQH3P",
"entity_kind": "progression_points",
"metadata": [
{
"key": "progression_points_amount",
"value": "1000"
}
]
}'
Response Response Example
{}
Request
Path Params
game_id
stringÂ
required
Example:
{{dev_game_id}}
Header Params
x-auth-token
stringÂ
required
Example:
{{admin_auth_token}}
Body Params application/json
game_id
integerÂ
required
>= 1
entity_id
stringÂ
required
Match pattern:
[0-7][0-9A-HJKMNP-TV-Z]{25}
entity_kind
enum<string>Â
required
Allowed value:
progression_points
metadata
array [object {2}]Â
required
key
enum<string>Â
required
Allowed value:
progression_points_amount
value
stringÂ
required
Examples
Responses
🟢200Success
application/json
Body
object {0}
Modified at 2024-07-31 07:59:53