About this endpoint
What it does
Uploads a file and runs landmark detection against the selected service. The response returns a JSON object with a data object containing 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 value. |
| azure_endpoint | String | No | Azure endpoint URL. |
| azure_account_id | String | No | Azure account ID value. |
| requested_service | ENUM | No | Choose which service to target: azure, google, or apyhub. Default: apyhub. |
| azure_access_token | String | No | Azure access token value. |
Response
Returns a JSON object with a data object field. That data object can contain provider result objects for azure, apyhub, and google, each documented in the schema as an object.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | No | Result container object. May include azure, apyhub, and google provider response objects. |