{
  "opencollection": "1.0.0",
  "info": {
    "name": "Kaltura OTT accessControl stats API",
    "version": "3.6.287.20720"
  },
  "items": [
    {
      "info": {
        "name": "stats",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "stats.collect",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/stats/action/collect",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format of the response"
              },
              {
                "name": "clientTag",
                "value": "",
                "type": "query"
              },
              {
                "name": "partnerId",
                "value": "",
                "type": "query"
              },
              {
                "name": "language",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Will write to the event log a single line representing the event\n\nclient version - will help interpret the line structure. Different client versions might have slightly different data/data formats in the line\nevent_id - number is the row number in yuval's excel\ndatetime - same format as MySql's datetime - can change and should reflect the time zone\nsession id - can be some big random number or guid\npartner id\nentry id\nunique viewer\nwidget id\nui_conf id\nuid - the puser id as set by the ppartner\nc"
        },
        {
          "info": {
            "name": "stats.kmcCollect",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/stats/action/kmcCollect",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format of the response"
              },
              {
                "name": "clientTag",
                "value": "",
                "type": "query"
              },
              {
                "name": "partnerId",
                "value": "",
                "type": "query"
              },
              {
                "name": "language",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Will collect the kmcEvent sent form the KMC client\n\n// this will actually be an empty function because all events will be sent using GET and will anyway be logged in the Apache log"
        },
        {
          "info": {
            "name": "stats.reportDeviceCapabilities",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/stats/action/reportDeviceCapabilities",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format of the response"
              },
              {
                "name": "clientTag",
                "value": "",
                "type": "query"
              },
              {
                "name": "partnerId",
                "value": "",
                "type": "query"
              },
              {
                "name": "language",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Use this action to report device capabilities to the kaltura server."
        },
        {
          "info": {
            "name": "stats.reportError",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/stats/action/reportError",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format of the response"
              },
              {
                "name": "clientTag",
                "value": "",
                "type": "query"
              },
              {
                "name": "partnerId",
                "value": "",
                "type": "query"
              },
              {
                "name": "language",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Use this action to report errors to the kaltura server."
        },
        {
          "info": {
            "name": "stats.reportKceError",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/service/stats/action/reportKceError",
            "params": [
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "The format of the response"
              },
              {
                "name": "clientTag",
                "value": "",
                "type": "query"
              },
              {
                "name": "partnerId",
                "value": "",
                "type": "query"
              },
              {
                "name": "language",
                "value": "",
                "type": "query"
              }
            ]
          }
        }
      ]
    }
  ],
  "bundled": true
}