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"
}
Confirms the detection/validation of a file after upload.

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Path Parameters

ParameterTypeInRequiredDescription
idstringpathāœ…File identifier

Request Body

Responses

āœ… 200 - File detection confirmed

āš ļø 400 - undefined

āš ļø 401 - undefined

āš ļø 404 - undefined

āŒ 500 - undefined

Tags

File

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
⌘I