User Tools

Site Tools


cmd:update

Update Command

The update command is used to change attributes of an existing node, referring its id, the attribute by name and the raw value as text:

update <node id> <attribute> <value>
  • The node id is a number.
  • The attribute is a text referring one of the defined attributes.
  • The value is a string which must be enclosed in double-quotes if it contains any white-space or special characters.

If the node id exists and the user has permissions to alter the node and the attribute is valid, the node attribute will be altered and all subscribers will be notified. If the user does not have the right permissions, the node id does not exists or the attribute is not valid, nothing will happen on the server and an error is sent back.

cmd/update.txt · Last modified: 2020/06/06 17:56 by deva