api2/tape/changer: reorganize api
add a changer listing here (copied from api2/config/changer) and put the status and transfer api calls below that puts the changer scan into the top level tape api and removes the (now redundant) info from the config api path Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
bbf01b644c
commit
740dc9d1d4
@ -16,6 +16,11 @@ pub const SUBDIRS: SubdirMap = &[
|
||||
("drive", &drive::ROUTER),
|
||||
("media", &media::ROUTER),
|
||||
("restore", &restore::ROUTER),
|
||||
(
|
||||
"scan-changers",
|
||||
&Router::new()
|
||||
.get(&changer::API_METHOD_SCAN_CHANGERS),
|
||||
),
|
||||
];
|
||||
|
||||
pub const ROUTER: Router = Router::new()
|
||||
|
Reference in New Issue
Block a user