Generate a virtual event, where media (a video or an image) is uploaded to the cloud.
Important: For best results, always use the quality, durationSeconds, and cameraId parameters.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Expectation failed error
Internal server error
{- "time": "2020-01-01T14:48:00.000Z",
- "mediaType": "video",
- "durationSeconds": 1,
- "quality": "standard",
- "cameraId": 1,
- "metadata": "string",
- "visualAlert": true,
- "audioAlert": true
}
{- "data": {
- "eventId": "a35bg-16fg3d8d-2f8g-75c21"
}, - "requestId": "df5fg-45fgfdsg-45fg-45454"
}