
{/*
TODO checklist for each new L3 page:
1. Add nav entry in zudoku.config.tsx under the relevant Fund Management category items[]
2. Update prev on this page and next on the preceding page
3. Update next on this page and prev on the following page (if exists)
4. Add redirect in zudoku.config.tsx: { from: "/rest/[operationId]", to: "/trading/rest-api/fund-management/[category]/[slug]" }
*/}

<EndpointPage
  breadcrumbs={[
    { label: "Trading", href: "/trading/trading" },
    { label: "Fund Management", href: "/trading/rest-api/fund-management" },
    { label: "TODO: Category", href: "/trading/rest-api/fund-management/TODO-category" },
    { label: "TODO: Endpoint Title" },
  ]}
  title="TODO: Endpoint Title"
  method="GET"
  url="https://api.gemini.com/v1/TODO"
  description="TODO: description"
  example={{
    request: {
      method: "GET",
      url: "https://api.gemini.com/v1/TODO",
      headers: [],
    },
  }}
  sections={[
    {
      heading: "Responses",
      children: (
        <ResponsesSection tabs={[
          {
            code: "200",
            description: "TODO: success description",
            params: [],
            example: `{}`,
          },
          { code: "401", description: "Unauthorized - missing or invalid authentication", params: [{ name: "result", type: "string", description: "Error" }, { name: "reason", type: "string", description: "A short description" }, { name: "message", type: "string", description: "Detailed error message" }], example: `{\n  "result": "error",\n  "reason": "MissingApikeyHeader",\n  "message": "Must provide 'X-GEMINI-APIKEY' header"\n}` },
          { code: "500", description: "Internal server error", params: [{ name: "result", type: "string", description: "Error" }, { name: "reason", type: "string", description: "A short description" }, { name: "message", type: "string", description: "Detailed error message" }], example: `{\n  "result": "error",\n  "reason": "Internal Server Error",\n  "message": "Unexpected server error occurred."\n}` },
        ]} />
      ),
    },
  ]}
/>

<PageNavigation
  prev={{ label: "TODO: prev label", href: "/trading/rest-api/fund-management/TODO-prev-slug" }}
  next={{ label: "TODO: next label", href: "/trading/rest-api/fund-management/TODO-next-slug" }}
/>
