# Attach (or replace) a draft's PDF

Draft-only — once published, the link's file is what's already live for any visitor holding the URL, so it can't be swapped out from under them. PDF, Word, Excel, CSV, PowerPoint, and image uploads are all accepted; anything that isn't already a PDF is converted (EAS-113). The "file" field may repeat up to 10 times in one request — each part is resolved to a PDF and the results are merged, in submission order, into the single PDF every visitor signs. Each file may be up to 25 MB, the files together up to 50 MB, and the merged PDF up to 25 MB.

Canonical: https://easerix.com/docs/developers/api/sign/public-links/uploadPublicSigningLinkFile

{/* 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="sign" operations={[{"path":"/v1/public-signing/{id}/file","method":"post"}]} />
    </>
  );
}
