api.md

Created about 12 hours ago

attributes
source_pathreferences/pages-functions/api.md
source_sha256626867517dbee5912606b8e6a8090ce905daf7a9bcd7c4248f233d753ed09d06
source_urlhttps://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/pages-functions/api.md
supporting_skill_id40184
upstream_revision47dfc2ce969bf62acf8bc231198ade4bb02712e0

Pages Functions APIs

Fetch the API reference before writing a handler; keep runtime types and examples in their authoritative documentation.

Task Documentation
Choose method handlers and access EventContext API reference
Read parameters and resolve dynamic routes Routing
Compose middleware and continue a request Middleware
Use a supported resource binding Bindings
Handle requests through generated Worker output Advanced mode

Decide which handler owns the response, where shared state is established, and which paths should fall through to assets. The API reference also covers asynchronous work and asset fetching. See configuration.md for binding setup and patterns.md for request design.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.