Endpoints
Generated by scripts/docs/endpoints.ts. Do not edit.
The web process’s declared routes, read from the SvelteKit route tree.
How a cell is filled
- Path is the route id relative to
interfaces/web/src/routes, including SvelteKit parameters, encoded characters and layout groups. It is a route pattern, not a concrete request URL. - Method lists exports of
+server.ts/+server.js, GET for+pagefiles, and POST for an exportedactionsin+page.server.ts/+page.server.js. SvelteKit 3.2.0 sources:src/core/sync/create_manifest_data/index.js,src/runtime/server/endpoint.jsandsrc/runtime/server/page/actions.jsininterfaces/web/node_modules/@sveltejs/kit. Implicit HEAD/OPTIONS are omitted; a handler may still refuse a method. - Group, session, rate limit, write limit, body limit, deadline, test only, probe copy
group,session,limit,writeLimit,maxBody,deadlineMs(withbodyWindowMswhere a route has one),testOnly,probefrom that route’spolicy.ts. Missing fields arenot recorded, not a claim that the runtime has no session, limit or deadline. - Buckets, write buckets copy the named entries of
interfaces/web/src/lib/server/limits.ts’spoliciesexport. These are the app’s configured buckets, not the edge limits indeployment/edge/(not read here).policiesForin the same file removes IP entries in socket mode and adds the login global ceiling. - Why, input, output, errors, auth come only from
docs/site/data/endpoints/web.yaml. Absent or empty prose isnot recorded.
Request gate sources
interfaces/web/src/lib/server/policy.ts defines session modes. interfaces/web/src/hooks.server.ts applies them: requestProblem allows GET/HEAD and form POST with a declared body cap; limitOf chooses writeLimit for POST when present; sessionProblem reads sessions for explicit session modes or the app group, requires them for required/onboarding and for writes on non-read methods, and applies member buckets for required/onboarding/writes sessions. A probe skips the address and member limits. withDeadline falls back to REQUEST_DEADLINE_MS when the route has no deadline. Test-only routes require TEST_ROUTES.
The same hook accepts only form media types for POST. SvelteKit’s Origin check runs before the hook (interfaces/web/node_modules/@sveltejs/kit/src/runtime/server/respond.js, 3.2.0). These pages do not infer handler authorization from the session column.
Rate-limit policies
Every entry of interfaces/web/src/lib/server/limits.ts’s policies export is listed, including names no route uses.
web
| Policy | Buckets |
|---|---|
default | ip: capacity 60, refillPerSec 5; global: capacity 30000, refillPerSec 500 |
invite | ip: capacity 60, refillPerSec 5; global: capacity 30000, refillPerSec 500; did: capacity 10, refillPerSec 0.002777777777777778 |
inviteRequest | ip: capacity 3, refillPerSec 0.0008333333333333334; global: capacity 30000, refillPerSec 500; global: capacity 20, refillPerSec 0.0002314814814814815 |
login | ip: capacity 10, refillPerSec 0.16666666666666666 |
notifications | ip: capacity 60, refillPerSec 5; global: capacity 30000, refillPerSec 500; did: capacity 120, refillPerSec 2 |
profile | ip: capacity 60, refillPerSec 5; global: capacity 30000, refillPerSec 500; did: capacity 30, refillPerSec 0.5 |