Create or update a theme asset

Uploads a new asset or updates an existing one.

Path Params
integer
required

The unique identifier of the theme.

Body Params
string
required

Theme asset location in theme files (e.g. "assets/theme.scss").

string

File content (for text files, e.g. CSS, JS, SCSS, etc.).

string

Base64-encoded file data (for binary files, e.g. images, fonts).

string

If provided, copy an existing asset to this key.

Responses

400

Invalid request data.

401

Unauthorized. Invalid or missing API key.

422

Unprocessable entity (missing required fields).

500

Server error.

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json