Analytics

Get viewers

Get the total number of distinct viewers a piece of content has.

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

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/wiki/rest/api/analytics/content/{contentId}/viewers
  • 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 viewers for.

Query parameters

fromDatestring

The number of views for the content since the date.

Response

Returns the total number of distinct viewers for the content.

idinteger

The content ID.

countinteger

The total number of distinct viewers for the content.

Changes

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