Files
POST /files
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.
Request
- Base URLhttps://api.cxxx.eagleeyenetworks.com/api/v3.0
- URLhttps://api.cxxx.eagleeyenetworks.com/api/v3.0/files
- AuthHTTP bearer
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.
Request body application/octet-stream
string binary required
Response
Created
Example response
{
"id": "123e4567-e89b-12d3-a456-426655440000",
"directory": "/Bundles/North Door",
"mimeType": "video/mp4",
"name": "Video North Door 2022-08-03 23-04-50.mp4"
}Changes
No recorded changes to this operation across all 1 revision of this API.