v1
latestOpenAPI 3.0.32026-07-24214879985.1 KBFiles
Add a new file to the archive. If the directory specified does not exist, it will automatically be created. To create a new empty directory, specify the desired name, parent directory and a mimeType of application/directory.
post/files
Query parameters
namestring
Name of the item.
Example:Video North Door 2022-08-03 23-04-50.mp4
Exact name of the item.
directorystring
Name of the parent directory.
Example:/Bundles/North Door
Name of parent directory.
mimeType'video/mp4' | 'application/directory'
The media content type.
Example:video/mp4
Exact content type.
Response
Created
Example response
{
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"directory": "/Bundles/North Door",
"mimeType": "video/mp4",
"name": "Video North Door 2022-08-03 23-04-50.mp4"
}