Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

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

Example Request

curl -H 'x-api-key: <YOUR_API_KEY>' -H 'Content-Type: application/json'  _KEY_HERE>' -X POST -d '{"url":"<VIDEOVIDEO_URL>URL", "languageCode": "<LANGUAGE_OF_VIDEO>"}' https://verity-api.gumgum.com/v2/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