Dominevo
ReferenceHTTP API

addonSettingsRaw

The addonSettingsRaw 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/addon-settings.router.ts. Its methods are called at /trpc/addonSettingsRaw.<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.

MethodKindTier
getGlobalqueryadmin
getDeviceOverridesqueryadmin

addonSettingsRaw.getGlobal

  • Kind: query — GET /trpc/addonSettingsRaw.getGlobal
  • Tier: admin — an administrator only
  • Source: server/backend/src/api/core/addon-settings.router.ts:98
  • Try it: open /system/api-explorer?method=addonSettingsRaw.getGlobal on your hub

Input

AddonIdInputSchema = z.object({ addonId: z.string().min(1) })

Output

AddonSettingsRecordSchema = z.record(z.string(), z.unknown())

addonSettingsRaw.getDeviceOverrides

  • Kind: query — GET /trpc/addonSettingsRaw.getDeviceOverrides
  • Tier: admin — an administrator only
  • Source: server/backend/src/api/core/addon-settings.router.ts:108
  • Try it: open /system/api-explorer?method=addonSettingsRaw.getDeviceOverrides on your hub

Input

AddonDeviceInputSchema = z.object({ addonId: z.string().min(1), deviceId: z.string().regex(/^\d+$/, 'deviceId must be a numeric device id') })

Output

AddonSettingsRecordSchema = z.record(z.string(), z.unknown())