GetHotSegments
GET
header
X-API-Key<token>API key for protected endpoints, supplied in the X-API-Key header.
video_id*video_idLength
1 <= lengthrange.start?startrange.end?endResponse Body
200application/json
Success
type: unknown
{
"$ref": "#/components/schemas/analytics.v1.HotSegmentsResponse",
"$ref-value": {
"type": "object",
"properties": {
"segments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/analytics.v1.HotSegment",
"$ref-value": {
"type": "object",
"properties": {
"start_second": {
"type": "integer",
"examples": [
"42"
],
"title": "start_second",
"format": "int32"
},
"end_second": {
"type": "integer",
"examples": [
"42"
],
"title": "end_second",
"format": "int32"
},
"multiplier": {
"type": "number",
"examples": [
"0.85"
],
"title": "multiplier",
"format": "double"
}
},
"title": "HotSegment",
"additionalProperties": false
}
},
"title": "segments"
}
},
"title": "HotSegmentsResponse",
"additionalProperties": false
}
}default
curl -X GET 'https://api.rixl.com/analytics/v1/videos/FpzVPNx1cG/hot-segments'Success
application/json
{
"$ref": "#/components/schemas/analytics.v1.HotSegmentsResponse",
"$ref-value": {
"type": "object",
"properties": {
"segments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/analytics.v1.HotSegment",
"$ref-value": {
"type": "object",
"properties": {
"start_second": {
"type": "integer",
"examples": [
"42"
],
"title": "start_second",
"format": "int32"
},
"end_second": {
"type": "integer",
"examples": [
"42"
],
"title": "end_second",
"format": "int32"
},
"multiplier": {
"type": "number",
"examples": [
"0.85"
],
"title": "multiplier",
"format": "double"
}
},
"title": "HotSegment",
"additionalProperties": false
}
},
"title": "segments"
}
},
"title": "HotSegmentsResponse",
"additionalProperties": false
}
}