Studio Apps
uploadStudioAppAsset
Upload Studio App Asset
Upload a REAL BINARY FILE (an image, an icon, a font) into a Studio app's assets/ tree, so the app serves it at a normal path with a real content type: no data-URI in the markup, and no waiting…
Arguments
appIdstringrequiredThe Studio app IDbase64stringoptionalThe bytes, base64-encoded (a data: URI is accepted whole). Max 1.5 MB decoded. Give this OR fileId.contentTypestringoptionalWhat the asset is served as, e.g. "image/png", "image/svg+xml", "font/woff2". REQUIRED with base64 unless you sent a data: URI; with fileId it defaults to the file's own type.fileIdstringoptionalA Cloud file id from listFiles / searchFiles to copy into the app. Give this OR base64; use it for anything large.pathstringrequiredWhere it lands, e.g. "assets/logo.png" or just "logo.png" (assets/ is added). No `..`.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- put this image in the app
- upload the logo
- add a favicon file
- use this photo for the hero
Pair it with
The verbs that finish the job.