Upload assets to Orange Logic
You have a variety of options for uploading assets to Orange Logic via API. First, determine whether you need to upload a large asset (greater than 1.5 GB) or whether you can use the standard upload assets calls. Depending on the call you use, you can upload from different file storage locations, create new assets or upload new versions of existing assets, and add asset metadata.
Feature documentation:
Including asset metadata in uploads
Metadata fields must exist in Orange Logic and be added to the relevant asset subtype before you can add metadata while uploading an asset.
For example, if I am uploading an image and want to add the photographer’s name to the “Photographer” field, the “Photographer” field must already exist on the target image subtype. If the field doesn't exist (or if you enter its API name incorrectly), an error message appears in the Import Messages field on the Details tab in the Orange Logic interface after the asset is uploaded.
Security Functions and Permissions needed to upload media
Users must have the Can upload files in Cortex Security Function to use the Upload calls.
In addition, users need Permissions to access any assets or containers they’re working with. For example:
- To use the Upload media or the Upload new media endpoint, users need the Add/Upld permission for the container they’re uploading to.
- To use the Upload new version endpoint, users need the Edit permission for the asset they’re adding a new version to.