Skip to main content
PUT
/
api
/
v1
/
page-hashes
Mark duplicate page as known
curl --request PUT \
  --url https://demo.komga.org/api/v1/page-hashes \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "DELETE_AUTO",
  "hash": "<string>",
  "size": 123
}
'
{
  "violations": [
    {
      "fieldName": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
action
enum<string>
required
Available options:
DELETE_AUTO,
DELETE_MANUAL,
IGNORE
hash
string
required
Minimum string length: 1
size
integer<int64>

Response

Accepted