Update Widget/Datastream Property
Updates the Datastream Property and all assigned Widgets
GET
https://{server_address}/external/api/update/property?token={token}&pin={pin}&{property}={value}
This endpoint allows you to update the Datastream Property value via GET request. All widgets (both web and mobile) that are assigned to this datastream will inherit this property. For example, if you have 2 widgets assigned to the datastream with the pin 10 and use set property "label" to "xxx", both widgets will get this label. The Datastream Property is persistent and will be stored forever until you change it with another value. In order to clear the property you need to clear the device data in device actions menu. Example:
https://blynk.cloud/external/api/update/property?token=ffujYGgbf805tgsf&pin=v1&isDisabled=true
Path Parameters
Name | Type | Description |
---|---|---|
property | string | The property of the widget you want ot update. Possible values: |
value | string | The desired value of the property |
pin | string | Virtual pin number (should start with "v") |
token | string | Device auth token |
You can get the Device auth token in Device info.
Last updated