Content

Content Classify

Classify a document without adding the document to the content table corpus. Used for debugging.

get/api/content/doc/classify

Request

  • Base URL
    https://api.lytics.io
  • URL
    https://api.lytics.io/api/content/doc/classify
  • Auth
    API key in header Authorization

Query parameters

account_idstring

Your Lytics account ID.

urlstring

url to classify

textstring

text to classify

Response

OK

messagestring
statusnumber

Example response

{
  "data": {
    "id": "https://www.getlytics.com/blog/post/improving_google_analytics?utm_source=linkedin",
    "url": {
      "Params": {},
      "Utm": {
        "utm_campaign": null,
        "utm_content": null,
        "utm_medium": null,
        "utm_source": "linkedin",
        "utm_term": null
      },
      "UserInfo": null
    },
    "url_redirected_from": "",
    "description": "Stop Pretending Your Insights Are Actionable: Part 1, Google Analytics",
    "long_description": "Most analytics tools are used purely for insight discovery rather than empowering action. We explore how the Lytics analytics integrations focus on action and filling the some massive gaps traditional analytics tools miss.",
    "type": "web",
    "stream": "",
    "httpstatus": 0,
    "humanLanguage": "en",
    "tags": [
      {
        "type": "meta",
        "id": "og:title",
        "value": "stop pretending your insights are actionable: part 1, google analytics",
        "source": "meta",
        "vocab": "lytics",
        "relevance": 1
      },
      {
        "type": "concept",
        "id": "Google_Analytics",
        "tax": [
          "http://dbpedia.org/ontology/Company",
          "http://dbpedia.org/ontology/Website",
          "http://dbpedia.org/ontology/Work",
          "http://www.w3.org/2002/07/owl#Thing"
        ],
        "value": "Google Analytics",
        "source": "diffbot",
        "vocab": "dbpedia",
        "relevance": 0.95
      }
    ],
    "flags": null,
    "images": [
      {
        "url": "https://www.getlytics.com/img/blog/defaults/developers.gif"
      }
    ],
    "primary_image": "https://www.getlytics.com/img/blog/defaults/developers.gif",
    "videos": null,
    "primary_video": "",
    "published": "2015-10-23T00:00:00Z",
    "author": "Mark Hayden",
    "numpages": 0,
    "sitename": "Lytics",
    "productDescription": "",
    "brand": "",
    "price": "",
    "saveAmount": "",
    "productId": "",
    "created": "2016-06-24T21:20:43.421892991Z",
    "fetched": "2016-06-24T21:20:45.751844316Z",
    "updated": "2016-06-24T21:20:52.367247963Z",
    "enriched": {
      "diffbot": "2016-06-24T21:20:52.367248438Z",
      "google": "1970-01-01T00:00:00Z",
      "meta": "2016-06-24T21:20:45.751852586Z",
      "textrazor": "1970-01-01T00:00:00Z"
    },
    "version": 4
  },
  "message": "success",
  "status": 200
}

Changes

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