# Save through an edit-mode share link (no auth)

Anonymous save path for edit-mode share links: same optimistic
rev contract as the authenticated save (409 carries the current
server doc). View-only links get 403. Wiki-link syncing is skipped
and last_edited_by is left untouched.


Canonical: https://easerix.com/docs/developers/api/notes/sharing/publicPutDoc

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