Create Asset
Creates an asset in the Assets Library.
Documentation Index
Fetch the complete documentation index at: https://docs.appcharge.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Publisher token, as displayed in the Publisher Dashboard.
Body
- Upload via File
- Upload via URL
Upload asset via file.
Asset category.
product, badge, bgMobile, bgDesk, logo, favicon, bgBundle, bgPopup, general, section, productPrefix, playerLevel, banner, addToHomeButtonImage, addToHomeIconImage, playerProfileImage, offerHeader, backToGameButtonImage, animation, trait "product"
Asset name.
"gold_coins_icon"
A valid PNG or JPEG image file. Maximum size is 2 MB.
Response
Asset uploaded successfully.
Asset ID.
"507f1f77bcf86cd799439011"
Asset name.
"gold_coins_icon"
Asset category.
product, badge, bgMobile, bgDesk, logo, favicon, bgBundle, bgPopup, general, section, productPrefix, playerLevel, banner, addToHomeButtonImage, addToHomeIconImage, playerProfileImage, offerHeader, backToGameButtonImage, animation, trait "product"
Image URL. For uploaded files, this is the Appcharge-hosted CDN URL. For external image URLs, this is the original image URL served from your CDN at the provided URL.
"https://media.appcharge.com/media/691d8c9f127412f152236889baf5"
Original image URL if the asset uses an external image URL. This URL is served from your CDN at the provided URL.
"https://example.com/assets/gold_coins_icon.png"
