- Auth
- API Keys
- Collectables
- Heroes and Characters
- Game
- Asset Candidates
- Assets
- Storage
- Filters
- Flags
- Get Asset ContextsGET
- Update Asset ContextsGET
- Search for AssetGET
- Search For UGC AssetsGET
- Get Selection of AssetsGET
- Get Asset FilesGET
- Get Asset ListGET
- Get Asset Link TypesGET
- Get Asset LinksGET
- Add File to AssetPOST
- Create AssetPOST
- Update AssetPATCH
- Delete AssetDELETE
- Get Asset TypesGET
- Get AssetGET
- 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 Asset
POST
https://api.lootlocker.io/admin/v1/asset
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.lootlocker.io/admin/v1/asset' \
--header 'x-auth-token: ' \
--header 'x-auth-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"context_id": 235815,
"name": "{{$randomWord}}-{{$randomWord}}-{{$randomWord}}-{{$randomWord}}",
"filters": [
{
"name": "staff_pick_1",
"value": "winner"
}
]
}'
Response Response Example
{}
Request
Header Params
x-auth-token
stringÂ
required
Example:
{{admin_auth_token}}
Body Params application/json
object {0}
Examples
Responses
🟢200Success
application/json
Body
object {0}
Modified at 2024-07-10 14:47:20