Rest API (PATCH) not working as expected #884
Unanswered
MrSTOP
asked this question in
Help wanted
Replies: 1 comment
-
Sounds like you have "Lazy ping" enabled. When lazy ping is enabled, the device status will only be updated when a client is connected to the webinterface.
It's not really recommended to change the "status" value of a device since it well be overwritten as soon as upspan runs another ping. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to get the current status of a computer using http request in node red.
I have been able to get the computer status by using
[GET] /api/collections/devices/records/:id
, but the status does not update. According to the Wiki, I need to use[PATCH] /api/collections/devices/records/:id
to update the computer status. When I send the request, the "updated" time in the http response will change, but the "status" in the response will not update. The computer status will only be updated when I open the upsnap webpage.How should I update the computer status through the Rest API?
Beta Was this translation helpful? Give feedback.
All reactions