/video/assets/{asset_id}/chaptersCreate or update video asset chapters
Creates or updates the chapter list for a video asset. Supply chapters with a label and start time for each chapter; a start time of 0 places a chapter at the beginning of the video. Use this operation to set or replace the asset's chapter information.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The unique identifier of the video asset whose chapters you are setting.
Chapter information for the video asset. The chapters list is required.
List of chapters
One documented failure
label_missingPlease provide a label with each chapter.
One documented failure
invalid_api_keyAPI key supplied with request is invalid
One documented failure
payment_pendingPlease clear your pending invoices to resume your services.
One documented failure
unauthorizedYou don't have access to this feature. Please contact your organization owner.
One documented failure
internal_server_errorWe have encountered some server error. We have been notified and will fix it soon.
A 400 indicates chapter validation failed; a 401 indicates a missing or invalid API key or bearer token. A 402 indicates unpaid invoices, a 403 indicates an unpaid account or insufficient role permissions, and a 500 indicates an internal server error. chapters is required, and each chapter must include label and startTime.