Doku durchsuchenStrg K
Menü
Doku / Kommandozeile Geändert am Auf GitHub bearbeiten

neodesk cdap

Als Markdown kopieren

CDAP-Geräte, ihre Widgets und Befehle.

Die Befehle stehen hier auf Englisch, so wie die Kommandozeile sie mit neodesk cdap --help zeigt. Die Flags, die jeder Befehl kennt, stehen in der Befehlsreferenz.

neodesk cdap alerts

List CDAP alerts.

neodesk cdap alerts [flags]

Needs cdap.view; only reads. Calls GET /api/cdap/alerts.

neodesk cdap command

Send a command to a widget of a CDAP device.

neodesk cdap command <id> [flags]
Argument What it is
<id> The ID
Flag What it is
--widget-id WIDGET_ID the widget's ID in the device's manifest
--action set|trigger|execute|reset|query what to do with the widget
--value JSON the value for the widget as JSON, like true for a toggle or 50 for a slider
--reason REASON why, sent to the device with the command

Needs cdap.command; changes something: needs a token with read and write access; runs something on a device or the server. Calls POST /api/cdap/devices/{id}/command.

neodesk cdap get

Show one CDAP device.

neodesk cdap get <id> [flags]
Argument What it is
<id> The ID

Needs cdap.view; only reads. Calls GET /api/cdap/devices/{id}.

Link a CDAP device to a desktop device (empty to unlink).

neodesk cdap link <id> [flags]
Argument What it is
<id> The ID
Flag What it is
--linked-peer-id LINKED_PEER_ID ID of the desktop device to link; empty removes the link

Needs cdap.command; changes something: needs a token with read and write access. Calls POST /api/cdap/devices/{id}/link.

neodesk cdap linked

Show the desktop device a CDAP device is linked to.

neodesk cdap linked <id> [flags]
Argument What it is
<id> The ID

Needs cdap.view; only reads. Calls GET /api/cdap/devices/{id}/linked.

neodesk cdap list

List CDAP devices.

neodesk cdap list [flags]

Needs cdap.view; only reads. Calls GET /api/cdap/devices.

neodesk cdap manifest

Show a CDAP device's widgets.

neodesk cdap manifest <id> [flags]
Argument What it is
<id> The ID

Needs cdap.view; only reads. Calls GET /api/cdap/devices/{id}/manifest.

neodesk cdap state

Show a CDAP device's widget values.

neodesk cdap state <id> [flags]
Argument What it is
<id> The ID

Needs cdap.view; only reads. Calls GET /api/cdap/devices/{id}/state.

neodesk cdap status

Show whether the CDAP gateway runs.

neodesk cdap status [flags]

Needs cdap.view; only reads. Calls GET /api/cdap/status.

neodesk cdap toggle

Turn the CDAP gateway on or off (after a restart).

neodesk cdap toggle [flags]
Flag What it is
--enabled turn the gateway on (true) or off (false); it takes effect after a restart

Needs server.config; changes something: needs a token with read and write access. Calls POST /api/cdap/toggle.

Durchsucht Seiten, Abschnitte, Befehle und Einstellungen.