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

Version 1 Current »

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

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

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

  • No labels