Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

To initiate a new video analysis, submit a POST request via curl to /video/classification. Include the required language code parameter.

Example Request

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

Example Response

Header

Field

Type

Description

Optional/Required

x-api-key

String

GumGum authentication token.

Required

Body

Parameter name

Type

Description

Optional/Required

url

String

URL of video to be analyzed. Must be properly URL-encoded. 

Required

languageCode

String

ISO 639-1 Language Code.

Required

callbackUrl

String

URL to target server listening for Verity data.

Optional

  • No labels