Skip to Content

GetVideoHeatmap

GET
/analytics/v1/videos/{video_id}/heatmap

Authorization

headerX-API-Key<token>

API key for protected endpoints, supplied in the X-API-Key header.

Path Parameters

video_id*video_id
Length1 <= length

Query Parameters

buckets?buckets
Formatint32
range.start?start
range.end?end

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/analytics.v1.VideoHeatmap",
  "$ref-value": {
    "type": "object",
    "properties": {
      "video_id": {
        "type": "string",
        "examples": [
          "FpzVPNx1cG"
        ],
        "title": "video_id"
      },
      "total_duration_ms": {
        "type": "string",
        "examples": [
          "1250"
        ],
        "title": "total_duration_ms",
        "format": "int64"
      },
      "data": {
        "type": "array",
        "examples": [
          "0.85"
        ],
        "items": {
          "type": "number",
          "examples": [
            "0.85"
          ],
          "format": "double"
        },
        "title": "data"
      }
    },
    "title": "VideoHeatmap",
    "additionalProperties": false
  }
}
default
curl -X GET 'https://api.rixl.com/analytics/v1/videos/FpzVPNx1cG/heatmap'

Success

application/json

{
  "$ref": "#/components/schemas/analytics.v1.VideoHeatmap",
  "$ref-value": {
    "type": "object",
    "properties": {
      "video_id": {
        "type": "string",
        "examples": [
          "FpzVPNx1cG"
        ],
        "title": "video_id"
      },
      "total_duration_ms": {
        "type": "string",
        "examples": [
          "1250"
        ],
        "title": "total_duration_ms",
        "format": "int64"
      },
      "data": {
        "type": "array",
        "examples": [
          "0.85"
        ],
        "items": {
          "type": "number",
          "examples": [
            "0.85"
          ],
          "format": "double"
        },
        "title": "data"
      }
    },
    "title": "VideoHeatmap",
    "additionalProperties": false
  }
}