ReferenceHTTP API
apiCatalog
The apiCatalog router: 2 hand-written core methods, with tier, input and output.
A core router of the hub (not a capability), source server/backend/src/api/core/api-catalog.router.ts. Its methods are called at /trpc/apiCatalog.<method>. A core method checks only the tier: a scoped token that is signed in reaches every protected method here, unless the method itself refuses it. See How to call and Authorization.
Inputs and outputs are the validation schemas as written in the source.
| Method | Kind | Tier |
|---|---|---|
list | query | admin |
inputSchema | query | admin |
apiCatalog.list
- Kind: query —
GET /trpc/apiCatalog.list - Tier: admin — an administrator only
- Source:
server/backend/src/api/core/api-catalog.router.ts:79 - Try it: open
/system/api-explorer?method=apiCatalog.liston your hub
Input
noneOutput
not declaredapiCatalog.inputSchema
- Kind: query —
GET /trpc/apiCatalog.inputSchema - Tier: admin — an administrator only
- Source:
server/backend/src/api/core/api-catalog.router.ts:86 - Try it: open
/system/api-explorer?method=apiCatalog.inputSchemaon your hub
Input
InputSchemaInput = z.object({ path: z.string().min(1) })Output
not declared