Skip to Content

GetFeedStats

GET
/analytics/v1/feeds/{feed_id}/stats

Authorization

headerX-API-Key<token>

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

Path Parameters

feed_id*feed_id
Length1 <= length

Query Parameters

range.start?start
range.end?end

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/analytics.v1.FeedStats",
  "$ref-value": {
    "type": "object",
    "properties": {
      "feed_id": {
        "type": "string",
        "examples": [
          "F4edRI23XL"
        ],
        "title": "feed_id"
      },
      "total_views": {
        "type": "string",
        "examples": [
          "1250"
        ],
        "title": "total_views",
        "format": "int64"
      },
      "unique_viewers": {
        "type": "string",
        "examples": [
          "1250"
        ],
        "title": "unique_viewers",
        "format": "int64"
      },
      "total_posts": {
        "type": "string",
        "examples": [
          "1250"
        ],
        "title": "total_posts",
        "format": "int64"
      },
      "avg_time_per_visit_ms": {
        "type": "number",
        "examples": [
          "0.85"
        ],
        "title": "avg_time_per_visit_ms",
        "format": "double"
      },
      "total_watch_time_ms": {
        "type": "number",
        "examples": [
          "0.85"
        ],
        "title": "total_watch_time_ms",
        "format": "double"
      }
    },
    "title": "FeedStats",
    "additionalProperties": false
  }
}
default
curl -X GET 'https://api.rixl.com/analytics/v1/feeds/F4edRI23XL/stats'

Success

application/json

{
  "$ref": "#/components/schemas/analytics.v1.FeedStats",
  "$ref-value": {
    "type": "object",
    "properties": {
      "feed_id": {
        "type": "string",
        "examples": [
          "F4edRI23XL"
        ],
        "title": "feed_id"
      },
      "total_views": {
        "type": "string",
        "examples": [
          "1250"
        ],
        "title": "total_views",
        "format": "int64"
      },
      "unique_viewers": {
        "type": "string",
        "examples": [
          "1250"
        ],
        "title": "unique_viewers",
        "format": "int64"
      },
      "total_posts": {
        "type": "string",
        "examples": [
          "1250"
        ],
        "title": "total_posts",
        "format": "int64"
      },
      "avg_time_per_visit_ms": {
        "type": "number",
        "examples": [
          "0.85"
        ],
        "title": "avg_time_per_visit_ms",
        "format": "double"
      },
      "total_watch_time_ms": {
        "type": "number",
        "examples": [
          "0.85"
        ],
        "title": "total_watch_time_ms",
        "format": "double"
      }
    },
    "title": "FeedStats",
    "additionalProperties": false
  }
}