AssetFile
Log in to add to favouritesPage last updated 04 December 2020
An AssetFile type is used for the creation or update of an asset. The type is always used as a entry field called 'sysAssetFile'.
Properties
Name | Type | Format | Description |
---|---|---|---|
fileId | string | GUID | The file reference returned from an asset file upload |
filename | string | An optional parameter to override the name of the file | |
parentNodePath | string | Forward-slash separated | The path to the parent node under which the asset should be created |
Example
{
"sysAssetFile": {
"fileId": "69ee6d40-32fd-452a-981b-f94abffdecc9.jpg",
"filename": "batman-returns.jpg",
"parentNodePath": "/uploads/movie-posters"
}
}