blocklist
Add media to blocklist
Changed onpost/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
Request body
Example request
{
"tmdbId": 1,
"media": {
"requests": [
{
"id": 123,
"createdAt": "2020-09-12T10:00:27.000Z",
"updatedAt": "2020-09-12T10:00:27.000Z",
"requestedBy": {
"id": 1,
"email": "hey@itsme.com",
"userType": 1,
"createdAt": "2020-09-02T05:02:23.000Z",
"updatedAt": "2020-09-02T05:02:23.000Z",
"requestCount": 5
},
"modifiedBy": {
"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": "2020-09-12T10:00:27.000Z",
"updatedAt": "2020-09-12T10:00:27.000Z"
},
"userId": 1
}Response
Item succesfully blocklisted
Changes
- info
added the new optional request property
///
- info
- info
endpoint added
- info