Capture
Create capture session token
Changed onpost/capture/session/token
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.
Request body
Example request
{
"user_id": "user-123",
"expires_in": 86400
}Response
Session token created
Example response
{
"success": true,
"data": {
"token": "st-xxx",
"expires_at": 1700000000,
"expires_in": 86400
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking