# 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.


Canonical: https://easerix.com/docs/developers/api/notes/collaboration/getPageViews

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="notes" operations={[{"path":"/v1/pages/{id}/views","method":"get"}]} />
    </>
  );
}
