blocklist

Returns blocklisted items

Changed on

Returns list of all blocklisted media

get/blocklist

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/blocklist
  • Auth: one of:
    • API key in cookie connect.sid
    • API key in header X-Api-Key

Query parameters

takenumber nullable
Example:25
skipnumber nullable
searchstring nullable
Example:dune
filter'all' | 'manual' | 'blocklistedTags'

Response

Blocklisted items returned

Example response

{
  "pageInfo": {
    "page": 1,
    "pages": 10,
    "results": 100
  },
  "results": [
    {
      "user": {
        "id": 1,
        "email": "hey@itsme.com",
        "userType": 1,
        "createdAt": "2020-09-02T05:02:23.000Z",
        "updatedAt": "2020-09-02T05:02:23.000Z",
        "requestCount": 5
      },
      "createdAt": "2024-04-21T01:55:44.000Z",
      "id": 1,
      "mediaType": "movie",
      "title": "Dune",
      "tmdbId": 438631
    }
  ]
}

Changes