Content

ContentTopicRollupSummary

get/api/content/rollup/{label}

Request

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

Path parameters

labelstring required

label of topic-rollup

Query parameters

account_idstring

Your Lytics account ID.

Response

OK

messagestring
statusnumber

Example response

{
  "data": {
    "docs": {
      "total": 2,
      "urls": [
        {
          "author": "Cookie Monster",
          "created": "2016-01-14T08:39:01.354824186-07:00",
          "description": "you should definitely make these cookies",
          "fetched": "2016-07-19T13:39:20.158747984-04:00",
          "id": "4525087172572165639",
          "meta": [
            "og:locale/en_US"
          ],
          "primary_image": "http://cookdiary.net/wp-content/uploads/images/Oatmeal-Chocolate-Chip-Cookies_1441.jpg",
          "stream": "default",
          "title": "how to make some cookies",
          "topic_relevances": {
            "Recipe": 0.64,
            "baking": 0.75
          },
          "topic_rollups": {
            "Things": 0.75
          },
          "topics": [
            "baking",
            "Recipe"
          ],
          "updated": "2016-07-19T13:34:18-04:00",
          "url": "www.recipes.com/chocolate-chip-cookies"
        },
        {
          "author": "The Swedish Chef",
          "created": "2016-07-19T13:39:20.158747984-04:00",
          "description": "a delicious cake",
          "id": "-2119104978705508335",
          "primary_image": "http://www.vanillacake.com/cake.jpg",
          "stream": "default",
          "title": "Basic Vanilla Cake Recipe",
          "topic_relevances": {
            "Recipe": 0.64,
            "baking": 0.85
          },
          "topic_rollups": {
            "Desserts": 0.85
          },
          "topics": [
            "Recipe",
            "baking"
          ],
          "updated": "2016-07-19T13:29:18-04:00",
          "url": "www.recipes.com/cake"
        }
      ]
    },
    "rollups": null
  },
  "message": "success",
  "status": 200
}

Changes

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