Request to claim-detection in an image
Request
POST https://producer.events.newtral.es/claim-detection/resource/image
Request body
The request body takes a complete PredictionImage resource, containing the following writable properties:
{
"url": "uri"
}
Properties
| Name | Type | Description | Additional |
|---|---|---|---|
| url | uri |
The URL of the image to be verified. |
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 event has been successfully sent |
SendResponse |
| 400 |
Bad Request
The body is invalid |
AvroValidationException |
| 401 |
Unauthorized
The user is not authenticated |
UnauthorizedException |
| 500 |
Internal Server Error
The event could not be sent |
EventNotSentException |