Content

ContentTopicRollup Create

Create a topic-rollup.

curl -s -XPOST "https://api.lytics.io/api/content/topicrollup" \
    -H "Content-type: application/json" \
    -H "Authorization: $LIOKEY" \
    -d'
{
  "label": "Baking rollup",
  "acctid": "123456",
  "topics": [
      {"label": "Recipe"},
      {"label": "baking"}
  ]
}
' | jq '.'
post/api/content/topicrollup/{id}

Request

  • Base URL
    https://api.lytics.io
  • URL
    https://api.lytics.io/api/content/topicrollup/{id}
  • Auth
    API key in header Authorization

Path parameters

idstring required

id of topic-rollup

Query parameters

account_idstring

Your Lytics account ID.

Response

Created

Example response

{
  "data": {
    "id": "6a7f76ff97ad0e3e96c162f74aee8f8f",
    "account_id": "4f7b525bdba058fc096757a6",
    "label": "Baking rollup",
    "created": "2014-08-04T21:18:20.124Z",
    "updated": "2014-08-04T21:18:20.124Z",
    "topics": [
      {
        "label": "Recipe",
        "value": 0.66
      },
      {
        "label": "baking",
        "value": 0.55
      }
    ]
  }
}

Changes

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