proxmox-backup/src/api2/admin.rs

12 lines
236 B
Rust
Raw Normal View History

2019-02-17 08:59:20 +00:00
use crate::api_schema::router::*;
2019-01-04 09:32:27 +00:00
pub mod datastore;
2019-11-21 08:36:41 +00:00
const SUBDIRS: SubdirMap = &[
("datastore", &datastore::ROUTER)
];
pub const ROUTER: Router = Router::new()
.get(&list_subdirs_api_method!(SUBDIRS))
.subdirs(SUBDIRS);