Skip to main content
POST
/
file
/
confirm-detection
/
{id}
Confirm File Detection
curl --request POST \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/file/confirm-detection/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "message": "File detection confirmed"
}
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Code Examples

const response = await fetch('https://server26-dot-royalti-project.uc.r.appspot.com/file/confirm-detection/example-id', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({})
});

const data = await response.json();
console.log(data);

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string
required

File identifier

Body

application/json · object

Response

File detection confirmed

success
boolean
default:true
message
string