Documentation > Access API > AssetController

AssetController

The Asset web api function calls are used to manage assets in the CMS. These calls allow external programs to create, update, delete assets using the POST, PUT, and DELETE calls.

NameDescriptionType
accessapi/Asset/Attach

Upload and attach data to an asset. Attachment name will be based on originalFilename parameter and saved to the content fields of the asset.

Route

accessapi/Asset/Branch/{id}

Creates a branch from the specified asset. The asset created as a result is returned.

Route

accessapi/Asset/Create

Creates a new file or folder within the CMS.

Route

accessapi/Asset/Create

Route

accessapi/Asset/Delete/{id}

Marks the specified asset as deleted. Deleted assets are permanently removed from the CMS after 15 days.

Route

accessapi/Asset/ExecuteWorkflowCommand

Move an asset through its workflow.

Route

accessapi/Asset/Exists

Checks if an asset with the supplied assetId or assetPath exists in the CMS.

Route

accessapi/Asset/Fields/{id}

Gets a list of content fields for the specified asset.

Route

accessapi/Asset/IsRenderListComplete

Route

accessapi/Asset/Move

Move an asset to a specified folder in the CMS.

Route

accessapi/Asset/Paged

Returns a list of assets which is filtered by the criteria specified in req.

Route

accessapi/Asset/Publish

Publish a non-workflow asset.

Route

accessapi/Asset/PublishRefresh

Refresh the assets in a folder based on the publishing package id.

Route

accessapi/Asset/Read/{id}

Retrieve a CMS asset by its unique identifier.

Route

accessapi/Asset/Rename

Rename an asset in the CMS.

Route

accessapi/Asset/RenderList

Route

accessapi/Asset/Route

Move an asset from one workflow state to another.

Route

accessapi/Asset/TemplateProfile

Returns a template profiling data containing performance diagnostics.

Route

accessapi/Asset/Undelete/{id}

Undeletes the specified asset.

Route

accessapi/Asset/Update

Modifies the content fields of an asset within the CMS.

Route

accessapi/Asset/Upload

Create a new asset in the CMS the content of which will be the bytes supplied in req.

Route

Connect with Crownpeak