Skip to content

GET

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web/src/app/p/[slugId]/[audienceSlug]/[documentSlug]/md/route.ts

Same-origin per-page markdown twin: GET /p////md — the raw markdown of a published page for agents / "View as Markdown". Proxies the API's urlId-keyed .md endpoint.

Signature

ts
async function GET(req: Request, ctx: { params: Promise<{ slugId: string; audienceSlug: string; documentSlug: string }> })

Parameters

NameType
reqRequest
ctx{ params: Promise<{ slugId: string; audienceSlug: string; documentSlug: string }> }

Was this page helpful?

Download as PDF