diff --git a/src/api2/config/changer.rs b/src/api2/config/changer.rs index f97b6d05..ed4dd788 100644 --- a/src/api2/config/changer.rs +++ b/src/api2/config/changer.rs @@ -20,6 +20,7 @@ use crate::{ }; #[api( + protected: true, input: { properties: { name: { @@ -139,6 +140,7 @@ pub fn list_changers( } #[api( + protected: true, input: { properties: { name: { @@ -188,6 +190,7 @@ pub fn update_changer( } #[api( + protected: true, input: { properties: { name: { diff --git a/src/api2/config/drive.rs b/src/api2/config/drive.rs index eb7eeb71..d5e3bcd8 100644 --- a/src/api2/config/drive.rs +++ b/src/api2/config/drive.rs @@ -22,6 +22,7 @@ use crate::{ }; #[api( + protected: true, input: { properties: { name: { @@ -134,6 +135,7 @@ pub fn list_drives( } #[api( + protected: true, input: { properties: { name: { @@ -193,6 +195,7 @@ pub fn update_drive( } #[api( + protected: true, input: { properties: { name: {