Skip to content

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 +page files, and POST for an exported actions in +page.server.ts/+page.server.js. SvelteKit 3.2.0 sources: src/core/sync/create_manifest_data/index.js, src/runtime/server/endpoint.js and src/runtime/server/page/actions.js in interfaces/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 (with bodyWindowMs where a route has one), testOnly, probe from that route’s policy.ts. Missing fields are not 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’s policies export. These are the app’s configured buckets, not the edge limits in deployment/edge/ (not read here). policiesFor in 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 is not 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

PolicyBuckets
defaultip: capacity 60, refillPerSec 5; global: capacity 30000, refillPerSec 500
inviteip: capacity 60, refillPerSec 5; global: capacity 30000, refillPerSec 500; did: capacity 10, refillPerSec 0.002777777777777778
inviteRequestip: capacity 3, refillPerSec 0.0008333333333333334; global: capacity 30000, refillPerSec 500; global: capacity 20, refillPerSec 0.0002314814814814815
loginip: capacity 10, refillPerSec 0.16666666666666666
notificationsip: capacity 60, refillPerSec 5; global: capacity 30000, refillPerSec 500; did: capacity 120, refillPerSec 2
profileip: capacity 60, refillPerSec 5; global: capacity 30000, refillPerSec 500; did: capacity 30, refillPerSec 0.5