Use the Upload API to upload files to Content Hub. Uploads are completed in three steps:
Generate an upload URL that returns metadata about the upload session. Provide the following information:
Configuration settings to use for the upload - an entity that hosts a predefined configuration, which specifies supported file extensions, the permitted file size, the default asset lifecycle for asset creation, and so on.
Purpose of the newly uploaded file - create a new asset, use the uploaded file as a new master file for an existing asset, or use the file as an alternate file for an existing asset.
Upload the file to the generated upload URL.
Complete the upload by providing the metadata about the session that was generated in step 1.
For more information and to see examples, refer to the Upload API documentation. For details on how to upload large files, see Upload large files.