videos

Get videos list

Changed on

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

get/api/videos

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/videos
  • Auth: HTTP bearer

Query parameters

searchstring nullable

Search term to filter videos by title or description

typestring nullable

Filter videos by type/category

exclude_typesstring[] nullable

Exclude videos by types. Example: ?exclude_types=family_course

limitinteger

Maximum number of results to return (default: 10)

cursorstring nullable

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