EVENTS_PLAN.md Phase 1. Six of the nine core tables — the ones that do not
depend on the module contract — plus definitions CRUD, publish, archive, and
the action registry with core as its first registrant.
**Nothing dispatches.** There is no runner until Phase 2, so a run row is
created and stays `scheduled`. That is this phase's correct answer and the
surface renders it verbatim rather than hiding it.
Schema (`db/schema.sql`, append-only):
event_series, event_definitions, event_versions, event_runs,
event_run_steps, event_run_log. The four that need a writer —
event_action_settings, event_run_budget, event_run_resources,
event_run_participants — arrive with the phases that give them one.
Registry (`modules/registries.js` + `config/coreEventActions.js`):
registerEventActions staging and commit, with its own id namespace, the
closed risk and reversibility sets, revert() required iff and only iff
reversible: 'ledger', a bounded budgetMs and a param shape whose every
entry needs a type and an example. perform/revert/cost are stripped from
everything the catalog serves. Core declares core.announce, core.wait and
core.cue through the same staging area a module will use.
It is reachable ONLY by registerCore(): loader.js builds its own api facade
and has no method that delegates here, so no module can call it and
MODULE_API_VERSION is untouched. Phase 7 adds the facade and the bump.
Surface (13 routes under /api/v1/admin/events):
Reads staff-wide; publish, archive and run creation admin-only from this
phase per EVENTS.md §N2, even though the switchboard they will consult does
not exist yet — a button that is admin-only later and open now is a gate
nobody notices was missing. The live run controls and `verify` are absent
rather than stubbed, because nothing is in flight yet.
Four things the build settled, all recorded in docs:
- event_definitions gained a `spec` column. A draft's working copy cannot
be an event_versions row: that table is immutable and a run pins one.
- The spec validator must accept its own output. It added `actionVersion`
and `dormant` and then refused them as unknown keys, which would have made
the second save of any definition — and publish's re-validation —
impossible. A test caught it; both are now accepted and recomputed.
- A param's `example` is required, optional params included, matching
registerEventTriggers. It is the authoring form's placeholder.
- Two routes the §API-surface table did not name: GET /admin/events/:id and
GET /admin/events/series.
Core's three perform() bodies answer { ok: false, retry: false } rather than
{ ok: true }: `ok: true` on an action that did nothing is a recorded world
change that did not occur, which is the exact mistake §F's failure default
exists to prevent.
`conditions.checkLiteral` is exported and reused for step-param type checking
— one switch over the six types, so "is this a datetime" has one answer.
Verified: 44 new tests, whole server suite, `npm run check:modules`, routes
manifest and swagger regenerated (the manifest diff is +13 routes, zero moved).
Docs: RunicGateway/docs#209
Co-Authored-By: Claude <noreply@anthropic.com>
1044 lines
22 KiB
JSON
1044 lines
22 KiB
JSON
{
|
|
"$comment": "Generated route inventory - the authoritative freeze of the URL surface. Regenerate with `npm run routes:manifest` in website/server; a domain-split PR must produce a zero-line diff here.",
|
|
"public": [
|
|
{
|
|
"method": "GET",
|
|
"path": "/.well-known/assetlinks.json"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/csp-report"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/docs.json"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/health"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/activity"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/auth/providers"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/auth/providers"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/auth/providers/:id"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/auth/providers/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/bot-activity"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/bot-activity/unban"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/dashboard"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/discord-bot/config"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/discord-bot/config"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/email/config"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/email/config"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/email/disconnect"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/email/test"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/audience-preview"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/audiences"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/channels"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/retention"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/engagement/retention"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/rules"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/engagement/rules"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/engagement/rules/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/rules/:id"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/engagement/rules/:id"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/admin/engagement/rules/:id/enabled"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/segments"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/engagement/segments"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/engagement/segments/:id"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/engagement/segments/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/sends"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/engagement/suppressions"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/suppressions"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/engagement/suppressions"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/engagement/suppressions/by-hash/:hash"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/templates"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/engagement/templates/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/templates/:id"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/engagement/templates/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/engagement/templates/:id/duplicate"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/engagement/templates/:id/preview"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/engagement/templates/:id/test-send"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/engagement/triggers"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/events"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/events"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/events/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/events/:id"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/events/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/events/:id/publish"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/events/:id/runs"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/events/:id/versions"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/events/catalog"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/events/runs"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/events/runs/:runId"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/events/runs/:runId/log"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/events/series"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/invites"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/invites"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/invites/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/appeals"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/appeals/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/moderation/appeals/:id/claim"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/moderation/appeals/:id/resolve"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/filter-hits"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/members"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/recent"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/reports"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/moderation/reports/:id/handle"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/search"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/spam-hits"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/stats/summary"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/user/:discordId"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/user/:discordId/actions"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/user/:discordId/appeals"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/moderation/user/:discordId/notes"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/moderation/user/:discordId/notes"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/modules"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/modules"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/modules/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/modules/:id/disable"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/modules/:id/enable"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/modules/:id/purge"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/modules/restart"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/modules/sources"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/pages"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/pages"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/pages/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/pages/:id"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/admin/pages/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/pages/:id/preview"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/pages/:id/unprotect"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/posts"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/posts"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/posts/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/posts/:id"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/posts/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/posts/:id/announce"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/posts/:id/announce/retry"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/admin/posts/:id/publish"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/posts/upload"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/settings"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/settings"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/settings/:key"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/settings/brand-asset/:slot"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/site-mode"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/teams/:id/archive"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/teams/:id/display-name"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams/:id/forum/moderation"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams/:id/grants"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/teams/:id/hide"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/teams/:id/leader-override"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/teams/:id/leader-override/:memberKey"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/teams/:id/unhide"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams/forum/settings"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams/forum/uploads"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams/integrations"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/teams/integrations"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/teams/integrations/:teamId"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams/requests"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/teams/requests/:id/decide"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/teams/resync"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams/review"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/teams/voice"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/teams/voice"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/teams/voice/:teamId"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/teams/voice/sync"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/uploads"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/users"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/users"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/users/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/users/:id"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/users/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/users/:id/mfa/reset"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/users/:id/trusted-devices"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/users/:id/trusted-devices"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/users/:id/trusted-devices/:deviceId"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/users/email-dedupe-report"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/users/email-dedupe-report/acknowledge"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/wiki"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/wiki"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/wiki/:slug"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/wiki/:slug"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/wiki/:slug"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/admin/wiki/:slug/publish"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/wiki/:slug/revisions"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/wiki/:slug/revisions/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/wiki/:slug/revisions/:id/restore"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/wiki/categories"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/admin/wiki/categories"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/admin/wiki/categories/:id"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/admin/wiki/categories/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/admin/wiki/tags"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/email/verify/:token"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/email/verify/:token"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/invite/:token"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/invite/:token/accept"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/login"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/login/totp"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/logout"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/account"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/auth/me/account/email"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/auth/me/account/email/pending"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/me/account/email/resend"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/account/identities"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/auth/me/account/identities/:provider"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/auth/me/account/password"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/me/account/recovery-codes/generate"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/account/recovery-codes/status"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/me/account/totp/disable"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/me/account/totp/enable"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/me/account/totp/setup"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/auth/me/account/username"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/devices"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/me/devices"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/auth/me/devices/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/notifications"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/me/notifications/:id/read"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/notifications/channels"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/auth/me/notifications/channels"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/me/notifications/read-all"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/notifications/streams"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/notifications/subscriptions"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/auth/me/notifications/subscriptions"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/notifications/teams"
|
|
},
|
|
{
|
|
"method": "PUT",
|
|
"path": "/api/v1/auth/me/notifications/teams"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/notifications/unread-count"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/sessions"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/auth/me/sessions/:id"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/auth/me/trusted-devices"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/me/trusted-devices"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/me/trusted-devices"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/auth/me/trusted-devices/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/mobile/login"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/mobile/logout"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/mobile/refresh"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/mobile/sso/exchange"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/mobile/sso/start"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/password/forgot"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/password/reset/:token"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/password/reset/:token"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/providers"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/register"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/sso/:provider/callback"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/sso/:provider/link"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/auth/sso/:provider/start"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/auth/sso/totp"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/player/appeals"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/player/appeals"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/player/appeals/:id/withdraw"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/player/appeals/eligible"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/player/teams"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/player/teams/:slug/access"
|
|
},
|
|
{
|
|
"method": "PATCH",
|
|
"path": "/api/v1/player/teams/:slug/forum/posts/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/player/teams/:slug/forum/posts/:id/moderate"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/player/teams/:slug/forum/report"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/player/teams/:slug/forum/threads"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/player/teams/:slug/forum/threads"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/player/teams/:slug/forum/threads/:id"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/player/teams/:slug/forum/threads/:id/moderate"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/player/teams/:slug/forum/threads/:id/posts"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/player/teams/:slug/forum/uploads"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/player/teams/:slug/forum/uploads/:id"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/player/teams/:slug/grants"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/player/teams/:slug/grants"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/api/v1/player/teams/:slug/grants/:userId"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/public/contact"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/engagement/unsubscribe/:token"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/public/engagement/unsubscribe/:token"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/modules"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/pages/:id/preview/:token"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/pages/:slug"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/posts/:category"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/posts/:category/:idOrSlug"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/settings"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/status"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/teams"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/teams/:slug"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/teams/:slug/activity"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/teams/:slug/members"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/teams/by-external/:moduleId/:externalId"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/teams/unsubscribe/:token"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/api/v1/public/teams/unsubscribe/:token"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/version"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/wiki"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/wiki/:slug"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/wiki/categories"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/public/wiki/tags"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/settings/nav"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/api/v1/settings/theme/options"
|
|
}
|
|
],
|
|
"internal": [
|
|
{
|
|
"method": "GET",
|
|
"path": "/health"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/internal/bot-config"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/internal/commands"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/internal/commands/dispatch"
|
|
}
|
|
]
|
|
}
|