You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resets the value of the specified point(s) and returns its new value(s) and meta-data.
Note: Device endpoints accept query parameters to refine their output, as described in the introduction to the Devices section.
Note: See the introduction to the Devices section for information on the use of topics.
If an attempt is made to set a point which is not writable, the response will be 405 Method Not Allowed.
If the request uses partial topics and/or query parameters to select more than one point to set, the query parameter write-all must be set. If write-all is not set, the request will fail with 405 Method Not Allowed. The request will also fail unless all writes are successful, and any points which would otherwise be set will be reverted to their previous value.
Request:
Authorization: BEARER <jwt_token>
Response:
With valid BEARER token on success: 200 OK
Content Type: application/json
Body:
{
"value": <new_value>,
"meta": <meta_data>
}
With valid BEARER token if any point is not writable: 405 Method Not Allowed:
Resets the value of the specified point(s) and returns its new value(s) and meta-data.
If an attempt is made to set a point which is not writable, the response will be
405 Method Not Allowed
.If the request uses partial topics and/or query parameters to select more than one point to set, the query parameter
write-all
must be set. Ifwrite-all
is not set, the request will fail with405 Method Not Allowed
. The request will also fail unless all writes are successful, and any points which would otherwise be set will be reverted to their previous value.Request:
BEARER <jwt_token>
Response:
200 OK
application/json
405 Method Not Allowed
:application/json
400 Bad Request
application/json
401 Unauthorized
The text was updated successfully, but these errors were encountered: