Dominevo
ReferenceDevice capabilities

device-admin-link

device-admin-link — 'this device has a management page of its own, and here is its address'.

device-admin-link — "this device has a management page of its own, and here is its address".

At a glance

Capabilitydevice-admin-link
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typesany (no device type declared)
Sourcepackages/types/src/capabilities/device-admin-link.cap.ts

Methods

Every method takes the device id (deviceId) to address the device; the input tables below list the other fields.

MethodKindRequired of a providerAccess
getAdminLinkqueryyesadmin

query

The device's management page, or null when this device has none.

auth: 'admin' deliberately. This is administration, not actuation — the same bucket as reboot and camera-credentials, and explicitly NOT the actuation set scripts/check-actuation-not-admin.ts protects. The URL is also a statement about the LAN, which a household member with a view grant on a light has no reason to be handed.

The surfaces gate on the QUERY, never on a role they guessed: a caller without the right loses the query and draws nothing, which is the same thing a device with no page draws.

Input

No fields besides deviceId.

Output

FieldTypeRequiredDescription
urlstringyes
labelstringyes
target"device" | "integration"yes
hoststringyes