Catalog

Streams

Get list of streams, field info they contain.

get/api/schema/_streams

Request

  • Base URL
    https://api.lytics.io
  • URL
    https://api.lytics.io/api/schema/_streams
  • Auth
    API key in header Authorization

Response

OK

Example response

{
  "data": [
    {
      "stream": "events",
      "hidden": false,
      "ct": 37,
      "curct": 0,
      "last_msg_ts": "1401216931893",
      "last_update_ts": "1421167622683",
      "fields": [
        {
          "avg": 4,
          "card": 22,
          "is_array": true,
          "name": "utm_medium",
          "sample": [
            "cpc",
            "adwords",
            "blog",
            "pricing-page",
            "social",
            "integrations-page",
            "email",
            "Integrations-page",
            "docs",
            "search",
            "CPC",
            "twitter",
            "social_organic",
            "card",
            "social_paid",
            "sponsored",
            "mailchimp",
            "facebook",
            "infographic",
            "lytics-reporting",
            "retargeting",
            "referral"
          ],
          "smart": {
            "coverage": 0,
            "email": 0,
            "noun": 13,
            "time": 0,
            "uid": 0,
            "value": 0,
            "verb": 13,
            "ip": 0,
            "phone": 0,
            "url": 0,
            "analyses": 315
          },
          "sumlen": 146221,
          "type": "string",
          "usage": 32484,
          "first_seen": "2016-06-08T16:11:06Z",
          "last_seen": "2016-06-24T18:00:40.871025224Z",
          "hidden": false,
          "column": [
            {
              "table": "campaign",
              "as": "utm_mediums"
            },
            {
              "table": "user",
              "as": "utm_mediums"
            }
          ]
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.