# Set who reviews a page and how often

Gives a page a reviewer and a review interval (EAS-739). When a review
falls due the reviewer is notified, and once more a week after that if
nothing has happened. `everyMonths` is 0 (never, the default), 1, 3, 6 or 12.
`ownerId` is the reviewer, and empty means the page's creator. Changing the
interval restarts the clock from now. Changing only the reviewer keeps
the page's due date, so reassigning an overdue page does not make it look
fresh, and the new reviewer is told at the next sweep. Either change
forgets the reminders sent so far. This is not an edit of the page, so its
`updated` time does not move.

A page falls due when the latest of its creation, its last edit, the time
the interval was set and the last confirmation, plus the interval, has
passed. Only the page's creator, its reviewer or a workspace owner or
admin may change this (403 otherwise). A reviewer must be a member of the
workspace, on the team when the page is in a team's space, and a page in a
private space can only be reviewed by its creator (400 otherwise). A page
in the trash can't be reviewed (409). Each real change adds a
`notes.page.review_changed` entry to the audit log.


Canonical: https://easerix.com/docs/developers/api/notes/pages/setPageReview

{/* 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}/review","method":"put"}]} />
    </>
  );
}
