NOTE: Update subscription on a controller:

add capability variables; remove capability variables; change item schema

This command gives the ability to update an existing subscription without removing its components.

  • 1) To add a new subscription of an existing abstract, add its definition according to hub.cloud.subscription.create rules. It should add a new item in an existing device of an ‘abstract’ category with the schema defined.
  • 2) To modify the existing item’s structure, do the same, but change the item’s schema. It should modify an existing item without changing its identifier.
  • 3) To remove a capability/variable, just add fields and WITHOUT all other fields.