Request

POST https://producer.events.newtral.es/claim-detection/resource/upload-image

Request body

The request body takes a complete UploadImage resource, containing the following writable properties:

{
    "image": "binary"
}

Properties

Name Type Description Additional
image binary

The image file 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 image 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 image could not be uploaded

EventNotSentException