Analytics

Get views

Get the total number of views a piece of content has.

get/wiki/rest/api/analytics/content/{contentId}/views

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/wiki/rest/api/analytics/content/{contentId}/views
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: https://auth.atlassian.com/authorize
      Token URL: https://auth.atlassian.com/oauth/token scopes: read:confluence-content.summary

Path parameters

contentIdstring required

The ID of the content to get the views for.

Query parameters

fromDatestring

The number of views for the content since the date.

Response

Returns the total number of views for the content.

idinteger

The content ID.

countinteger

The total number of views for the content.

Changes

No recorded changes to this operation across all 2 revisions of this API.