Request to claim-detection in an uploaded media content
Request
POST https://producer.events.newtral.es/claim-detection/resource/upload-media
Request body
The request body takes a complete UploadMedia resource, containing the following writable properties:
{
"media": "binary"
}
Properties
Name | Type | Description | Additional |
---|---|---|---|
media | binary |
The media file (video/audio) to be uploaded, encoded in base64. |
Authorization
This request requires the use of one of following authorization methods:
API key
.
Response
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
201 |
Created
The media has been successfully uploaded |
SendResponse |
400 |
Bad Request
The body is invalid |
AvroValidationException |
401 |
Unauthorized
The user is not authenticated |
UnauthorizedException |
500 |
Internal Server Error
The media could not be uploaded |
EventNotSentException |