videos

Get videos list

Get list of videos. Returns first 10 by default. Supports filtering by type (include/exclude).

get/api/videos

Query parameters

searchstring nullable

Search term to filter videos by title or description

Search term to filter videos by title or description

typestring nullable

Filter videos by single type/category (use types for multiple)

Filter videos by single type/category (use types for multiple)

typesstring[] nullable

Filter videos by multiple types (OR logic). Example: ?types=educational&types=tutorial

Filter videos by multiple types (OR logic). Example: ?types=educational&types=tutorial

exclude_typesstring[] nullable

Exclude videos by types. Example: ?exclude_types=family_course

Exclude videos by types. Example: ?exclude_types=family_course

limitinteger

Maximum number of results to return (default: 10)

Maximum number of results to return (default: 10)

cursorstring nullable

Cursor for the next page.

Cursor for the next page.

Response

Successful Response

totalinteger required

Total number of videos

next_cursorstring nullable

Cursor for the next page.

has_moreboolean

Whether there are more results after this page

Example response

{
  "has_more": false,
  "next_cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNC0wMS0wMVQwMDowMDowMCswMDowMCIsImlkIjoxfQ",
  "total": 1,
  "videos": [
    {
      "created_at": "2024-01-01T00:00:00Z",
      "description": "This is an example video description",
      "id": 1,
      "title": "Video Example",
      "type": "educational",
      "video_id": "example123",
      "youtube_url": "https://www.youtube.com/watch?v=example"
    }
  ]
}

Changes