POST /video/classification

 

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>' -H 'Content-Type: application/json'  -X POST -d '{"url":"<VIDEO_URL>", "languageCode": "<LANGUAGE_OF_VIDEO>"}' https://verity-api.gumgum.com/video/classification

Example Response

Header

Field

Type

Description

Optional/Required

Field

Type

Description

Optional/Required

x-api-key

String

GumGum authentication token.

Required

Content-Type

String (value : application/json)

Describing the MIME type for the application as being JSON.

Required

Body

Parameter name

Type

Description

Optional/Required

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.

Optional

callbackUrl

String

URL to target server listening for Verity data.

Optional


The contents of these documents and any attachments contain GumGum, Inc. confidential information and are legally protected from disclosure.