Skip to main content
GET
/
libraries
/
{libraryId}
/
videos
/
{videoId}
/
chapters
List Chapter
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

libraryId
string
required

Unique identifier of the library.

videoId
string
required

Unique identifier of the targeted video resource.

Response

data
object[]
required
meta
object
required
message
string
required
success
boolean
required