Implement functioning method to update systems on web app
This commit is contained in:
@@ -12,6 +12,9 @@ router.get('/:nodeId', nodesController.getNodeInfo);
|
||||
// Update an existing node
|
||||
router.put('/:nodeId', nodesController.updateExistingNode);
|
||||
|
||||
// Update an existing node's system
|
||||
router.put('/:nodeId/systems', nodesController.updateNodeSystem);
|
||||
|
||||
// TODO Need to authenticate this request
|
||||
/* POST a new node to the server
|
||||
*
|
||||
@@ -28,7 +31,7 @@ router.put('/:nodeId', nodesController.updateExistingNode);
|
||||
router.post('/newNode', nodesController.newNode);
|
||||
|
||||
// TODO Need to authenticate this request
|
||||
// Client checkin with the server to update information
|
||||
// Client checkin with the server to update client information
|
||||
router.post('/nodeCheckIn/:nodeId', nodesController.nodeCheckIn);
|
||||
|
||||
// Request a node to check in with the server
|
||||
|
||||
Reference in New Issue
Block a user