Update Asset
Updates 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.
Path Parameters
Asset name.
"gold_coins_icon"
Body
Asset category.
product, badge, bgMobile, bgDesk, logo, favicon, bgBundle, bgPopup, general, section, productPrefix, playerLevel, banner, addToHomeButtonImage, addToHomeIconImage, playerProfileImage, offerHeader, backToGameButtonImage, animation, trait "bgMobile"
Asset name.
"main_menu_background"
A valid PNG or JPEG image file. Maximum size is 2 MB.
URL to a valid, publicly accessible image. Appcharge saves and uses this URL as-is and doesn't download, copy, upload, or host the image on Appcharge CDN. The image must remain available at the provided URL.
We recommend uploading image files instead of using external URLs when possible. Appcharge hosts uploaded files on its CDN. Maximum size is 2 MB. Must be in PNG or JPEG format.
"https://example.com/assets/main_menu_background_updated.png"
Response
Asset updated 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"
