v1

latestOpenAPI 3.0.02026-08-06194226589.8 KB
Apps

Update the asset scripts.

put/api/apps/{app}/assets/scripts

Path parameters

appstring required

The name of the app to update.

Request body

querystring nullable

The script that is executed for each asset when querying assets.

queryPrestring nullable

The script that is executed for all assets when querying assets.

createstring nullable

The script that is executed when creating an asset.

updatestring nullable

The script that is executed when updating a content.

annotatestring nullable

The script that is executed when annotating a content.

movestring nullable

The script that is executed when moving a content.

deletestring nullable

The script that is executed when deleting a content.

Response

Asset scripts updated.

_linksobject required

The links.

querystring nullable

The script that is executed for each asset when querying assets.

queryPrestring nullable

The script that is executed for all assets when querying assets.

createstring nullable

The script that is executed when creating an asset.

updatestring nullable

The script that is executed when updating a content.

annotatestring nullable

The script that is executed when annotating a content.

movestring nullable

The script that is executed when moving a content.

deletestring nullable

The script that is executed when deleting a content.

versioninteger required

The version of the app.