🚀 Version 2.0 is now live! See our changelog for details
🚀 Version 2.0 is now live! See our changelog for details
curl --request GET \
--url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/videos/{videoId}/chapters \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "ba921295-f310-4799-99ba-70af201aecba",
"video_id": "ba04041b-c31e-4fb2-8cb8-23b73ba3ab7a",
"title": "Introduction",
"start_time": 1,
"end_time": 30,
"order_index": 0
},
{
"id": "c00a5f7a-5af9-4074-8d0d-0a9d997e0ac3",
"video_id": "ba04041b-c31e-4fb2-8cb8-23b73ba3ab7a",
"title": "What is Vidinfra?",
"start_time": 40,
"end_time": 95,
"order_index": 1
},
{
"id": "f875d0c5-32a1-43c4-a538-8a2c0687505c",
"video_id": "ba04041b-c31e-4fb2-8cb8-23b73ba3ab7a",
"title": "Next Steps",
"start_time": 110,
"end_time": 0,
"order_index": 2
}
],
"message": "Video Chapters Fetched Successfully",
"success": true
}Retrieve all chapters associated with a specific video, including their titles, timestamps, and descriptions.
curl --request GET \
--url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/videos/{videoId}/chapters \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "ba921295-f310-4799-99ba-70af201aecba",
"video_id": "ba04041b-c31e-4fb2-8cb8-23b73ba3ab7a",
"title": "Introduction",
"start_time": 1,
"end_time": 30,
"order_index": 0
},
{
"id": "c00a5f7a-5af9-4074-8d0d-0a9d997e0ac3",
"video_id": "ba04041b-c31e-4fb2-8cb8-23b73ba3ab7a",
"title": "What is Vidinfra?",
"start_time": 40,
"end_time": 95,
"order_index": 1
},
{
"id": "f875d0c5-32a1-43c4-a538-8a2c0687505c",
"video_id": "ba04041b-c31e-4fb2-8cb8-23b73ba3ab7a",
"title": "Next Steps",
"start_time": 110,
"end_time": 0,
"order_index": 2
}
],
"message": "Video Chapters Fetched Successfully",
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the library.
Unique identifier of the targeted video resource.
Show child attributes
Show child attributes
Show child attributes