Segment

SegmentAttributionList

Get bunch of segment sizes

get/api/segment/attribution

Request

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

Query parameters

account_idstring

Your Lytics account ID.

refreshboolean

SYSADMIN ONLY, refresh cache

  • Default false
limitinteger

number of historical data points to fetch

  • Default 168
idsstring required

list of ids to get, format = ids[]=123&ids[]=234 OR ids=123,345 etc, see standard []string param doc

Response

OK

Example response

{
  "data": [
    {
      "id": "1234",
      "metrics": [
        {
          "ts": "1413149713466",
          "value": 1002
        },
        {
          "ts": "1413149713455",
          "value": 1005
        }
      ]
    },
    {
      "id": "1111",
      "metrics": [
        {
          "ts": "1413149713466",
          "value": 1002
        },
        {
          "ts": "1413149713455",
          "value": 1005
        }
      ]
    }
  ]
}

Changes

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