...
curl -H 'x-api-key: <YOUR_API_KEY_HERE>KEY>' -H 'Content-Type: application/json' -X POST -d '{"url":"<IMAGE_URL>"}' https://verity-api.gumgum.com/image/classification
Example Response
Code Block | ||
---|---|---|
| ||
{ "uuid": "c7bcbe0406cbe788-ea77feda-48084929-8e919782-28d325d1b1fc15549d722a76", "url": "https://nationalinterest.org/sites/default/files/main_images/sdgvsdgdfd.jpg", "acceptedAt": "20202021-06-25T2310T00:0905:4122.729Z508Z" } |
Header
Field | Type | Description | Optional/Required |
---|---|---|---|
x-api-key | String | GumGum authentication token. | Required |
Content-Type | String (value : application/json) | Describing the MIME type for the application as being JSON. | Required |
Body
Parameter name | Type | Description | Optional/Required |
---|---|---|---|
sourceUrl | String | URL of the page where the image is located. Not currently supported. | Optional |
url | String | URL of image to be analyzed. See supported image formats. | Required |
callbackUrl | String | URL to target server listening for Verity data. | Optional |