Bulk create watchlist exclusions
POST
Exclude several watchlist items for their users, or globally for every user
header
X-API-Key<token>API key authentication using X-API-Key header
Watchlist items to exclude in one request. Under the users scope the item and user pairs count against the cap
application/json- body
Watchlist items to exclude in one request. Under the users scope the item and user pairs count against the cap
items*array<>Items
1 <= items <= 1000scope*WatchlistExclusionScopeusers excludes each item for its userIds, global excludes it for every user and ignores userIds
Value in
"users""global"Default Response
application/json- response
created and skipped count exclusion rows (skipped already existed), failed lists item keys
success*booleanmessage*stringresult*curl -X POST 'http://localhost:3003/v1/watchlist-exclusions/bulk' \ -H 'Content-Type: application/json' \ -d '{ "items": [ { "key": "string", "userIds": [ 0 ], "title": "string", "type": "movie" } ], "scope": "users"}'Example Response
{ "success": true, "message": "string", "result": { "created": 0, "skipped": 0, "failed": [ "string" ], "errors": [ "string" ], "total": 0 }}