Versions Compared

Key

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

Overview: Below is information pertaining to how IRIS.TV’s Contextual Video Marketplace integrates with Overview: This details how to access Context data contextual segments via an API. This can be used for web and non-web environments, including apps for Android, Roku, Amazon Fire, and other connected devices.

...

This workflow requires three values:

  • client_token: Authentication string associated with each client. This will be provided by IRIS.TV once the content feed is imported.

  • platform_id: The reference ID for the video from the publisher’s CMS.

  • access_token: Token used to authenticate with the IRIS.TV API

...

The API will respond with a video_info field that includes:

  • guid: IRIS.TV ID of the asset (different from platform_id)

  • context: context categorization on iris_id : the asset’s current iris_id.

  • iris_id_expires_at : the UNIX timestamp when the current iris_id will expire.

  • context : contextual segments for the asset

A sample of the API response:

Code Block
languagejson
{
  "success": true,
  "video_info": {
    "guidiris_id": "a616d88dd39bd8a49048cf61ad3cf5d5iris_098eiman91",
    "context": [
      "segment context_1", segment 2, segment 3, segment 4 
      "context_2", 
      "context_3"
    ],
    "iris_id_expires_at": 1588636800
  }
}

Note: The Context field will be used for all IRIS.TV Contextual Video Marketplace workflows.

...