Verity API processes HTTP POST requests to initiate a new video analysis. To start the video analysis, submit a POST request via curl to /video/classification. Include the required language code parameter.
Example
curl -H 'x-api-key: <YOUR_API_KEY_HERE>' -X POST -d '{"url":"http://content.jwplatform.com/videos/00D9qbqJ-320.mp4", "languageCode": "en"}' https://verity-api.gumgum.com/video/classification
Header
Field | Type | Description | Optional/Required |
---|---|---|---|
x-api-key | String | GumGum authentication token. | Required |
Body
Parameter name | Type | Description | Optional/Required |
---|---|---|---|
| String | URL of video to be analyzed. Must be properly URL-encoded. | Required |
| String | ISO 639-1 Language Code. | Required |
| String | URL to target server listening for Verity data. | Optional |