v1

latestOpenAPI 3.0.0AGPLv3.02026-07-14186117194.3 KB
Video Blocks

List video blocks

get/api/v1/videos/blacklist

Query parameters

type1 | 2

list only blocks that match this type:

  • 1: manual block
  • 2: automatic block that needs review
searchstring

plain search that will match with video titles, and more

startinteger

Offset used to paginate results

countinteger

Number of items to return

sort'-id' | 'name' | '-duration' | '-views' | '-likes' | '-dislikes' | '-uuid' | '-createdAt'

Sort blocklists by criteria

Response

successful operation

totalinteger

Example response

{
  "data": [
    {
      "id": 42,
      "uuid": "9c9de5e8-0a1e-484a-b099-e80766180a6d",
      "videoId": 42
    }
  ],
  "total": 1
}