admin api: update semantics of some endpoints, and update doc

This commit is contained in:
Alex Auvolat
2025-01-28 16:18:48 +01:00
parent 5037b97dd4
commit ed58f8b0fe
6 changed files with 122 additions and 58 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ macro_rules! admin_endpoints {
}
impl AdminApiRequest {
fn name(&self) -> &'static str {
pub fn name(&self) -> &'static str {
match self {
$(
Self::$special_endpoint(_) => stringify!($special_endpoint),