About this endpoint
What it does
Uploads a file and runs logo/brand detection against the selected service. The response returns a JSON object containing a data object with provider-specific result objects for azure, apyhub, and google.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Binary file upload. |
| azure_key | String | No | Azure key value. |
| google_key | String | No | Google key value. |
| azure_region | String | No | Azure region. |
| azure_endpoint | String | No | Azure endpoint URL. |
| azure_account_id | String | No | Azure account ID. |
| requested_service | ENUM | No | Which service to use: azure, google, or apyhub. Default: apyhub. |
| azure_access_token | String | No | Azure access token. |
Response
Returns a JSON object with a data object field. Inside data, the schema declares three provider result objects: azure, apyhub, and google. The endpoint's exact success status code is not declared in the schema.
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | No | Container for provider-specific detection results. |
| data.azure | Object | No | Response object from Microsoft Azure Computer Vision. |
| data.apyhub | Object | No | Response object from ApyHub Vision detector. |
| data.google | Object | No | Response object from Google Cloud Vision. |