Anonymization
Check the status of an anonymization job.
JWT token needed for all other routes. The token acquired with the login route.
Job ID received from POST request
client_uuid-SRV_ANONYMIZATION-abc123def456Job status
Current status of the job
SucceededPossible values: URL to download the processed media (when status is completed)
https://api.services.wassa.io/innovation-service/result/b83603c4-b9c7-4e86-9fe4-a2eeba2dfa06.jpegURL to download the JSON with detection coordinates (when status is completed)
https://api.services.wassa.io/innovation-service/result/b83603c4-b9c7-4e86-9fe4-a2eeba2dfa06.jsonError message (when status is failed)
Error messageBad Request - Invalid job ID
Unauthorized - Invalid token
Forbidden - Insufficient permissions
GET /innovation-service/anonymization?anonymization_job_id=client_uuid-SRV_ANONYMIZATION-abc123def456 HTTP/1.1
Host: api.services.wassa.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"status": "Succeeded",
"output_media": "https://api.services.wassa.io/innovation-service/result/b83603c4-b9c7-4e86-9fe4-a2eeba2dfa06.jpeg",
"output_json": "https://api.services.wassa.io/innovation-service/result/b83603c4-b9c7-4e86-9fe4-a2eeba2dfa06.json",
"error": "Error message"
}This route will create a job for anonymizing faces and/or license plates in images or videos. The process is asynchronous and will return a job ID that can be used to check the status.
Note: For a basic request, only the input_media field is required. All other form fields should be disabled in the test interface.
JWT token needed for all other routes. The token acquired with the login route.
Image or video file to process. Accepted formats are JPEG, PNG, WEBP, MP4, AVI, MOV, MKV, ZIP.
Enable face detection and blurring
trueEnable license plate detection and blurring
trueReturn URLs to download detection coordinates in JSON format
trueJob successfully created
client_uuid-SRV_ANONYMIZATION-abc123def456Bad Request - Invalid parameters
Unauthorized - Invalid token
Payment Required
Forbidden - Insufficient permissions
Payload Too Large
POST /innovation-service/anonymization HTTP/1.1
Host: api.services.wassa.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 267
{
"input_media": "binary",
"activation_faces_blur": true,
"activation_plates_blur": true,
"output_detections_url": true,
"included_area": {
"top": 1,
"bottom": 1,
"left": 1,
"right": 1
},
"blur_type": {
"anonymization_type": "blur",
"smooth_padding": null,
"hex_color": null,
"num_pixels": null
}
}{
"anonymization_job_id": "client_uuid-SRV_ANONYMIZATION-abc123def456"
}Last updated