Delete Recommendation
A Delete-recommendation is an object that binds together triggers that fire when a document meets a queue's criteria for a deletion recommendation. Currently, only binding to a single trigger is supported. The trigger bound to a Delete Recommendation must belong to the same queue.
Only administrators are allowed to view or manipulate delete-recommendation objects.
Delete recommendation
ID of the delete recommendation
Whether the associated triggers' rules should be active
URL of the delete recommendation
Organization URL.
URL of the associated queue
URLs of the associated triggers
List delete recommendations
GET api / v1 / delete_recommendations
Retrieve all delete recommendations objects.
curl -X GET "https://example.rossum.app/api/v1/delete_recommendations"{
"pagination": {
"next": null,
"previous": null
},
"results": [
{
"id": 1244,
"enabled": true,
"url": "https://example.rossum.app/api/v1/delete_recommendations/1244",
"organization": "string",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"triggers": [
"https://example.rossum.app/api/v1/triggers/500"
]
}
]
}{
"detail": "Bad Request.",
"code": "bad_request"
}{
"detail": "Invalid token.",
"code": "authentication_failed"
}{
"detail": "Access to the requested resource is forbidden.",
"code": "access_forbidden"
}{
"detail": "Not found.",
"code": "not_found"
}{
"detail": "Conflict.",
"code": "conflict_status"
}{
"detail": "Request was rate limited.",
"code": "rate_limited",
"url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}{
"detail": "Server error.",
"code": "error"
}{
"detail": "Bad Gateway.",
"code": "bad_gateway"
}{
"detail": "Service Unavailable.",
"code": "service_unavailable"
}{
"detail": "Gateway timeout.",
"code": "gateway_timeout"
}Response
OK
Invalid input data.
Detail of the error
Code of the error
The username/password is invalid or token is invalid (e.g. expired).
Detail of the error
Code of the error
Insufficient permission, missing authentication, invalid CSRF token and similar issue.
Detail of the error
Code of the error
The specified resource was not found.
Detail of the error
Code of the error
Conflict
Detail of the error
Code of the error
Request rate is too high, wait before sending more requests. See Rate Limiting for more details.
Detail of the error
Code of the error
Link to the rate limiting documentation
Server failure while processing the request.
Detail of the error
Code of the error
Invalid response from the upstream server.
Detail of the error
Code of the error
We're temporarily offline for maintenance. Please try again later.
Detail of the error
Code of the error
Upstream server could not complete the request in time.
Detail of the error
Code of the error
Create delete recommendation
POST api / v1 / delete_recommendations
Create a new delete recommendation object.
curl -X POST "https://example.rossum.app/api/v1/delete_recommendations" \ -H "Content-Type: application/json" \ -d '{ "queue": "https://example.rossum.app/api/v1/queues/8198", "triggers": [ "https://example.rossum.app/api/v1/triggers/500" ] }'{
"id": 1244,
"enabled": true,
"url": "https://example.rossum.app/api/v1/delete_recommendations/1244",
"organization": "string",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"triggers": [
"https://example.rossum.app/api/v1/triggers/500"
]
}{
"detail": "Bad Request.",
"code": "bad_request"
}{
"detail": "Invalid token.",
"code": "authentication_failed"
}{
"detail": "Access to the requested resource is forbidden.",
"code": "access_forbidden"
}{
"detail": "Not found.",
"code": "not_found"
}{
"detail": "Conflict.",
"code": "conflict_status"
}{
"detail": "Payload Too Large.",
"code": "payload_too_large"
}{
"detail": "Request was rate limited.",
"code": "rate_limited",
"url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}{
"detail": "Server error.",
"code": "error"
}{
"detail": "Bad Gateway.",
"code": "bad_gateway"
}{
"detail": "Service Unavailable.",
"code": "service_unavailable"
}{
"detail": "Gateway timeout.",
"code": "gateway_timeout"
}Request Body
application/json
Whether the associated triggers' rules should be active
Organization URL.
URL of the associated queue
URLs of the associated triggers
Response
Created
ID of the delete recommendation
Whether the associated triggers' rules should be active
URL of the delete recommendation
Organization URL.
URL of the associated queue
URLs of the associated triggers
Invalid input data.
Detail of the error
Code of the error
The username/password is invalid or token is invalid (e.g. expired).
Detail of the error
Code of the error
Insufficient permission, missing authentication, invalid CSRF token and similar issue.
Detail of the error
Code of the error
The specified resource was not found.
Detail of the error
Code of the error
Conflict
Detail of the error
Code of the error
Payload too large (especially for files uploaded).
Detail of the error
Code of the error
Request rate is too high, wait before sending more requests. See Rate Limiting for more details.
Detail of the error
Code of the error
Link to the rate limiting documentation
Server failure while processing the request.
Detail of the error
Code of the error
Invalid response from the upstream server.
Detail of the error
Code of the error
We're temporarily offline for maintenance. Please try again later.
Detail of the error
Code of the error
Upstream server could not complete the request in time.
Detail of the error
Code of the error
Retrieve delete recommendation
GET api / v1 / delete_recommendations / {deleteRecommendationID}
Get a delete recommendation object.
curl -X GET "https://example.rossum.app/api/v1/delete_recommendations/0"{
"id": 1244,
"enabled": true,
"url": "https://example.rossum.app/api/v1/delete_recommendations/1244",
"organization": "string",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"triggers": [
"https://example.rossum.app/api/v1/triggers/500"
]
}{
"detail": "Bad Request.",
"code": "bad_request"
}{
"detail": "Invalid token.",
"code": "authentication_failed"
}{
"detail": "Access to the requested resource is forbidden.",
"code": "access_forbidden"
}{
"detail": "Not found.",
"code": "not_found"
}{
"detail": "Conflict.",
"code": "conflict_status"
}{
"detail": "Request was rate limited.",
"code": "rate_limited",
"url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}{
"detail": "Server error.",
"code": "error"
}{
"detail": "Bad Gateway.",
"code": "bad_gateway"
}{
"detail": "Service Unavailable.",
"code": "service_unavailable"
}{
"detail": "Gateway timeout.",
"code": "gateway_timeout"
}Response
OK
ID of the delete recommendation
Whether the associated triggers' rules should be active
URL of the delete recommendation
Organization URL.
URL of the associated queue
URLs of the associated triggers
Invalid input data.
Detail of the error
Code of the error
The username/password is invalid or token is invalid (e.g. expired).
Detail of the error
Code of the error
Insufficient permission, missing authentication, invalid CSRF token and similar issue.
Detail of the error
Code of the error
The specified resource was not found.
Detail of the error
Code of the error
Conflict
Detail of the error
Code of the error
Request rate is too high, wait before sending more requests. See Rate Limiting for more details.
Detail of the error
Code of the error
Link to the rate limiting documentation
Server failure while processing the request.
Detail of the error
Code of the error
Invalid response from the upstream server.
Detail of the error
Code of the error
We're temporarily offline for maintenance. Please try again later.
Detail of the error
Code of the error
Upstream server could not complete the request in time.
Detail of the error
Code of the error
Partial update delete recommendation
PATCH api / v1 / delete_recommendations / {deleteRecommendationID}
Update a part of a delete recommendation object.
curl -X PATCH "https://example.rossum.app/api/v1/delete_recommendations/0" \ -H "Content-Type: application/json" \ -d '{}'{
"id": 1244,
"enabled": true,
"url": "https://example.rossum.app/api/v1/delete_recommendations/1244",
"organization": "string",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"triggers": [
"https://example.rossum.app/api/v1/triggers/500"
]
}{
"detail": "Bad Request.",
"code": "bad_request"
}{
"detail": "Invalid token.",
"code": "authentication_failed"
}{
"detail": "Access to the requested resource is forbidden.",
"code": "access_forbidden"
}{
"detail": "Not found.",
"code": "not_found"
}{
"detail": "Conflict.",
"code": "conflict_status"
}{
"detail": "Payload Too Large.",
"code": "payload_too_large"
}{
"detail": "Request was rate limited.",
"code": "rate_limited",
"url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}{
"detail": "Server error.",
"code": "error"
}{
"detail": "Bad Gateway.",
"code": "bad_gateway"
}{
"detail": "Service Unavailable.",
"code": "service_unavailable"
}{
"detail": "Gateway timeout.",
"code": "gateway_timeout"
}Request Body
application/json
Whether the associated triggers' rules should be active
Organization URL.
URL of the associated queue
URLs of the associated triggers
Response
OK
ID of the delete recommendation
Whether the associated triggers' rules should be active
URL of the delete recommendation
Organization URL.
URL of the associated queue
URLs of the associated triggers
Invalid input data.
Detail of the error
Code of the error
The username/password is invalid or token is invalid (e.g. expired).
Detail of the error
Code of the error
Insufficient permission, missing authentication, invalid CSRF token and similar issue.
Detail of the error
Code of the error
The specified resource was not found.
Detail of the error
Code of the error
Conflict
Detail of the error
Code of the error
Payload too large (especially for files uploaded).
Detail of the error
Code of the error
Request rate is too high, wait before sending more requests. See Rate Limiting for more details.
Detail of the error
Code of the error
Link to the rate limiting documentation
Server failure while processing the request.
Detail of the error
Code of the error
Invalid response from the upstream server.
Detail of the error
Code of the error
We're temporarily offline for maintenance. Please try again later.
Detail of the error
Code of the error
Upstream server could not complete the request in time.
Detail of the error
Code of the error
Delete delete recommendation
DELETE api / v1 / delete_recommendations / {deleteRecommendationID}
Remove a delete recommendation object.
curl -X DELETE "https://example.rossum.app/api/v1/delete_recommendations/0"{
"detail": "Bad Request.",
"code": "bad_request"
}{
"detail": "Invalid token.",
"code": "authentication_failed"
}{
"detail": "Access to the requested resource is forbidden.",
"code": "access_forbidden"
}{
"detail": "Not found.",
"code": "not_found"
}{
"detail": "Conflict.",
"code": "conflict_status"
}{
"detail": "Request was rate limited.",
"code": "rate_limited",
"url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}{
"detail": "Server error.",
"code": "error"
}{
"detail": "Bad Gateway.",
"code": "bad_gateway"
}{
"detail": "Service Unavailable.",
"code": "service_unavailable"
}{
"detail": "Gateway timeout.",
"code": "gateway_timeout"
}Response
No Content
No response body.
Invalid input data.
Detail of the error
Code of the error
The username/password is invalid or token is invalid (e.g. expired).
Detail of the error
Code of the error
Insufficient permission, missing authentication, invalid CSRF token and similar issue.
Detail of the error
Code of the error
The specified resource was not found.
Detail of the error
Code of the error
Conflict
Detail of the error
Code of the error
Request rate is too high, wait before sending more requests. See Rate Limiting for more details.
Detail of the error
Code of the error
Link to the rate limiting documentation
Server failure while processing the request.
Detail of the error
Code of the error
Invalid response from the upstream server.
Detail of the error
Code of the error
We're temporarily offline for maintenance. Please try again later.
Detail of the error
Code of the error
Upstream server could not complete the request in time.
Detail of the error
Code of the error
Update delete recommendation
PUT api / v1 / delete_recommendations / {deleteRecommendationID}
Update a delete recommendation object.
curl -X PUT "https://example.rossum.app/api/v1/delete_recommendations/0" \ -H "Content-Type: application/json" \ -d '{ "queue": "https://example.rossum.app/api/v1/queues/8198", "triggers": [ "https://example.rossum.app/api/v1/triggers/500" ] }'{
"id": 1244,
"enabled": true,
"url": "https://example.rossum.app/api/v1/delete_recommendations/1244",
"organization": "string",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"triggers": [
"https://example.rossum.app/api/v1/triggers/500"
]
}{
"detail": "Bad Request.",
"code": "bad_request"
}{
"detail": "Invalid token.",
"code": "authentication_failed"
}{
"detail": "Access to the requested resource is forbidden.",
"code": "access_forbidden"
}{
"detail": "Not found.",
"code": "not_found"
}{
"detail": "Conflict.",
"code": "conflict_status"
}{
"detail": "Payload Too Large.",
"code": "payload_too_large"
}{
"detail": "Request was rate limited.",
"code": "rate_limited",
"url": "https://rossum.app/api/docs/openapi/guides/overview/#rate-limiting"
}{
"detail": "Server error.",
"code": "error"
}{
"detail": "Bad Gateway.",
"code": "bad_gateway"
}{
"detail": "Service Unavailable.",
"code": "service_unavailable"
}{
"detail": "Gateway timeout.",
"code": "gateway_timeout"
}Request Body
application/json
Whether the associated triggers' rules should be active
Organization URL.
URL of the associated queue
URLs of the associated triggers
Response
OK
ID of the delete recommendation
Whether the associated triggers' rules should be active
URL of the delete recommendation
Organization URL.
URL of the associated queue
URLs of the associated triggers
Invalid input data.
Detail of the error
Code of the error
The username/password is invalid or token is invalid (e.g. expired).
Detail of the error
Code of the error
Insufficient permission, missing authentication, invalid CSRF token and similar issue.
Detail of the error
Code of the error
The specified resource was not found.
Detail of the error
Code of the error
Conflict
Detail of the error
Code of the error
Payload too large (especially for files uploaded).
Detail of the error
Code of the error
Request rate is too high, wait before sending more requests. See Rate Limiting for more details.
Detail of the error
Code of the error
Link to the rate limiting documentation
Server failure while processing the request.
Detail of the error
Code of the error
Invalid response from the upstream server.
Detail of the error
Code of the error
We're temporarily offline for maintenance. Please try again later.
Detail of the error
Code of the error
Upstream server could not complete the request in time.
Detail of the error
Code of the error