Data api resource statisticspath - movabletype/Documentation GitHub Wiki

Property Name Type Data Type Database Column Private Read Only Description
path value string Y The relative path of the target.
pageviews value unsigned int Y The pageviews for the path. This property exists only if the metrics to retrieve is "pageviews"
visits value unsigned int Y The visits for the path. This property exists only if the metrics to retrieve is "visits"
archiveType value string mt_fileinfo.fileinfo_archive_type Y The archive type of the path. This property is null if the path is not managed by MT.
entry Object - Y This property is null if "archiveType" is not "Individual".
entry.id value unsigned int mt_entry.entry_id Y The ID of entry.
author Object - Y This property is null if "archiveType" is neither "Author" nor "Author-∗".
author.id value unsigned int mt_author.author_id Y The ID of author.
category Object - Y This property is null if "archiveType" is neither "Category" nor "Category-∗".
category.id value unsigned int mt_category.category_id Y The ID of category.

Example

Pageviews for index page

{
  "path": "/",
  "pageviews": "92",
  "title": "Example Title",
  "archiveType": "index",
  "entry": null,,
  "author": null,
  "category": null
}

Pageviews for individual page

{
  "path": "/mt-column/plugin/multiblogext/",
  "pageviews": "62",
  "title": "Example Entry",
  "archiveType": "Individual",
  "entry": {
    "id": "475"
  },
  "author": null,
  "category": null
}

Visits for individual page

{
  "path": "/mt-column/plugin/multiblogext/",
  "visits": "62",
  "title": "Example Entry",
  "archiveType": "Individual",
  "entry": {
    "id": "475"
  },
  "author": null,
  "category": null
}
⚠️ **GitHub.com Fallback** ⚠️