How many times a page was viewed in the last 30 days
Total views and the number of different people, from signed-in viewers, plus views through public share links counted apart as `publicViews`. Counts only by default. The list of who viewed (`viewers`) is included only when the workspace owner or an admin has turned `showViewerNames` on in the Notes settings; it then shows to everyone who can open the page. `canManage` says whether the caller may change that setting.
View as MarkdownAuthorization
bearer In: header
Path Parameters
uuidResponse Body
application/json
application/json
curl -X GET "https://example.com/v1/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/views"{ "days": 0, "views": 0, "people": 0, "publicViews": 0, "showNames": true, "canManage": true, "viewers": [ { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string", "views": 0, "last": "2019-08-24T14:15:22Z" } ]}Presence heartbeat
Marks the caller as viewing the page; returns other live viewers and the current doc rev (used for soft-realtime refresh).
Count the caller's view of a page
Counts one view of the page by the caller (EAS-738). The page sends this when it opens and does not wait for the answer. Opening the same page again within 10 minutes is the same view, so a repeat is not an error: the answer is 204 either way. A trashed page is not counted. The page sends this only after it has been on screen a few seconds. Views of a page through a public link are reported to `/v1/public/pages/{token}/views` instead.