API/API Reference/Check for an update
Check for an update
Return the current Phoenixd version and next supported update.
GET
/nodes/{nodeId}/updateRequired scope: nodes:read.
availableUpdate is null when there is no supported update. currentVersion may be null if its version cannot be determined.
Request
curl "https://api.nodana.io/v1/nodes/node-123/update" \
-H "Authorization: Bearer YOUR_API_KEY"Response
200 OK
{
"currentVersion": "0.9.0",
"availableUpdate": {
"version": "0.9.1"
}
}