EaserixDocs
DevelopersAPI referenceNotesCollaboration

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 Markdown
GET
/v1/pages/{id}/views
AuthorizationBearer <token>

In: header

Path Parameters

id*string
Formatuuid

Response 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"    }  ]}