Upload theme asset
Uploads a new static asset (image, font, etc.) to a theme. The file data must be
Base64-encoded. Requires admin scope.
POST
/themes/{theme_id}/assetsAuthorization
AuthorizationBearer token (JWT) · headerrequiredOAuth 2.0 Bearer token. Obtain via POST https://auth.onbolder.com/oauth/token.
Scopes:
adminPath parameters
theme_idstringrequiredRequest body
requiredapplication/jsonfile_namestringrequireddatastringrequiredBase64-encoded file data URI
Responses
201
Asset uploaded
idstringfile_namestringcontent_typestringfile_sizeintegerdigeststringupdated_onstring<date-time>_linksobjectShow propertiesHide properties
fileHalLinkShow propertiesHide properties
hrefstringmethodstringtitlestringtypestringtemplatedboolean