curl --request POST \
--url https://demo.komga.org/api/v1/collections/{id}/thumbnails \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file'{
"collectionId": "<string>",
"fileSize": 123,
"height": 123,
"id": "<string>",
"mediaType": "<string>",
"selected": true,
"type": "<string>",
"width": 123
}Required role: ADMIN
curl --request POST \
--url https://demo.komga.org/api/v1/collections/{id}/thumbnails \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: multipart/form-data' \
--form file='@example-file'{
"collectionId": "<string>",
"fileSize": 123,
"height": 123,
"id": "<string>",
"mediaType": "<string>",
"selected": true,
"type": "<string>",
"width": 123
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.