About this endpoint
What it does
Uploads a video file and runs shot change detection using the requested service provider. The response returns a JSON object with a data object that may include either an azure object or a google object, depending on requested_service.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | Binary file upload. |
| azure_region | String | No | Azure region. Example: trial. |
| azure_account_id | String | No | Azure account ID. |
| requested_service | ENUM | Yes | Service provider to use. Allowed values: azure, google. Example: azure. |
| azure_access_token | String | No | Azure access token. |
| google_credential_file | String | No | Binary service account JSON file for Google routes. |
Response
Returns a JSON object with a data object field. The data object may contain an azure object when requested_service is azure, or a google object when requested_service is google.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Object | Yes | Response wrapper object. |
| data.azure | Object | No | Present when requested_service is azure. Additional properties are allowed. |
| data.google | Object | No | Present when requested_service is google. Additional properties are allowed. |