Dominevo
ReferenceHTTP API

adminUi

The adminUi router: 2 methods of the admin-ui capability, with tier, scope, input and output.

Capability admin-ui · scope system · mode singleton · source packages/types/src/capabilities/admin-ui.cap.ts:8.

Every method is called at /trpc/adminUi.<method> — queries with GET, mutations with POST. See How to call and Authorization.

MethodKindTierToken scopeViewer
getStaticDirqueryadminadmin onlyno
getVersionqueryadminadmin onlyno

adminUi.getStaticDir

  • Kind: query — GET /trpc/adminUi.getStaticDir
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=adminUi.getStaticDir on your hub

Input

void

Output

{ staticDir: string }

adminUi.getVersion

  • Kind: query — GET /trpc/adminUi.getVersion
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=adminUi.getVersion on your hub

Input

void

Output

{ version: string }