diff --git a/services/save-and-restore/src/main/java/org/phoebus/service/saveandrestore/web/controllers/TakeSnapshotController.java b/services/save-and-restore/src/main/java/org/phoebus/service/saveandrestore/web/controllers/TakeSnapshotController.java index 33ae7ffae6..60b9fb23f0 100644 --- a/services/save-and-restore/src/main/java/org/phoebus/service/saveandrestore/web/controllers/TakeSnapshotController.java +++ b/services/save-and-restore/src/main/java/org/phoebus/service/saveandrestore/web/controllers/TakeSnapshotController.java @@ -74,7 +74,7 @@ public List takeSnapshot(@PathVariable String configNodeId) { * @return A {@link Snapshot} representing the new snapshot node. */ @SuppressWarnings("unused") - @PutMapping(value = "/take-snapshot/{nodeId}", produces = JSON) + @PutMapping(value = "/take-snapshot/{configNodeId}", produces = JSON) public Snapshot takeSnapshotAndSave(@PathVariable String configNodeId, @RequestParam(name = "name", required = false) String snapshotName, @RequestParam(name = "comment", required = false) String comment) {