Resolve a potential duplicate
Submits a resolve-duplicate event. If shouldDeleteNewItem is true, the new entity
is deleted and the existing one is retained; otherwise both entities are kept and the
pair is marked reviewed.
Request
Method: POST
Path: /api/potential-duplicates/resolve
Authentication: Not required
Request Body
Content Type: application/json
Schema: See component schemas below
Responses
200 - Resolved
Examples
cURL
curl -X POST \
-H "Content-Type: application/json" \
http://localhost:3000/api/potential-duplicates/resolve \
-d '{"example": "data"}'
JavaScript
const response = await fetch('http://localhost:3000/api/potential-duplicates/resolve', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
// Request data
}),
});
const data = await response.json();
console.log(data);
This documentation is automatically generated from the OpenAPI specification.