Capture
Create capture session
Changed onpost/collection/{collection_id}/capture/session
Request
- Base URLhttps://api.videodb.io
- AuthAPI key in header x-access-token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
collection_idstring required
Example:default
Request body
Example request
{
"end_user_id": "user-123",
"callback_url": "https://webhook.example.com/callback",
"ws_connection_id": "conn-123"
}Response
Capture session created
Example response
{
"success": true,
"data": {
"session_id": "capture-12345",
"end_user_id": "user-123",
"status": "created",
"collection_id": "default",
"ws_connection_id": "conn-123"
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking