Skip to main content
PATCH
/
video
/
{video_id}
/
scenes
/
{scene_collection_id}
Update scene collection
curl --request PATCH \
  --url https://api.videodb.io/video/{video_id}/scenes/{scene_collection_id}/ \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "scenes": [
    {}
  ]
}
'
{
  "success": true,
  "message": "Operation successful"
}
Update the scenes within an existing scene collection. Use this to modify scene boundaries or descriptions.
  • The scenes array is required and replaces the existing scenes in the collection
  • Each scene object should include the scene boundaries and optional description

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

video_id
string
required
Example:

"m-12345"

scene_collection_id
string
required
Example:

"sc-12345"

Body

application/json
scenes
object[]
required

Response

200 - application/json

Scene collection updated

success
boolean
Example:

true

message
string
Example:

"Operation successful"