Skip to main content

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

JSON
{
    "sysAssetFile": {
        "fileId": "69ee6d40-32fd-452a-981b-f94abffdecc9.jpg",
        "filename": "batman-returns.jpg",
        "parentNodePath": "/uploads/movie-posters"
    }
}

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request