# Fetch a stored file (public, unauthenticated)

Generic public file-serving route shared by every feature that stores user-uploaded files through this service's media layer — bio-page avatar/background images today. Published bio pages are public, so the images they embed must be fetchable without a token; this proxies the stored object rather than exposing a raw bucket URL, matching the canvas asset-serving pattern.

Canonical: https://easerix.com/docs/developers/api/links/bio/getMedia

{/* 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="links" operations={[{"path":"/media/{key}","method":"get"}]} />
    </>
  );
}
