Asset Service API

Manage Murano Static Assets

Operations

Operations


delete

Deletes an existing asset based on the given path name.

Arguments
parameters - object - Object containing service call parameters.
Name Type Description
path string Path name of the asset.
Responses
The object was deleted - nil

The object was deleted


list

Lists existing assets with the given path. "*" can be used as wildcard in the path.

Arguments
parameters - object - Object containing service call parameters.
Name Type Description
path string Path name of the asset.
Responses
List of Files - [ object ]
Name Type Description
md5 string MD5 checksum of the stored file
path string Path of the stored file
size integer Size in bytes of the stored file
mime_type string Mime type of the stored file

send

Sends the given asset as response to a webservice request.

Arguments
parameters - object - Object containing service call parameters.
Name Type Description
request_id string Request id
file string The path name of the asset that should be sent.
Responses
File was sent successfully. - nil

File was sent successfully.


store

Stores an uploaded file permanently in the asset store under the provided path.

Arguments
parameters - object - Object containing service call parameters.
Name Type Description
path string The destination path for this file in the asset store.
file_id string The file_id from the Webservice Request that should be permanently stored.
request_id string The request_id from the Webservice Request that should be permanently stored.
Responses
The file was uploaded successfully - nil

The file was uploaded successfully