Zo Space

Upload asset to space

Copy a file from the workspace to the user's zo.space assets.

Assets are served at their asset_path. Reference in pages:

Parameters#

source_filestringrequired

Path to the source file in the workspace, e.g. '/home/workspace/images/logo.png'.

asset_pathstringrequired

URL path where the asset will be served, starting with '/', e.g. '/images/logo.png'.