blocklist

Returns blocklisted items

Changed on

DEPRECATED: Use /blocklist instead. This endpoint will be deprecated soon.

get/blacklist

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/blacklist
  • 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

    • breaking

      removed the enum value blacklistedTags from the query request parameter filter

    • info

      api tag blocklist added

    • info

      api tag settings removed

    • info

      endpoint deprecated

    • info

      added the new enum value blocklistedTags to the query request parameter filter