move subscription API path to /nodes

This aligns it with PVE and allows the widget toolkit's update window
"refresh" to work without modifications once POST /apt/update is
implemented.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Stefan Reiter
2020-07-21 13:41:06 +02:00
committed by Thomas Lamprecht
parent 956295cefe
commit 113c9b5981
5 changed files with 12 additions and 4 deletions

View File

@ -9,6 +9,7 @@ mod syslog;
mod journal;
mod services;
mod status;
mod subscription;
pub(crate) mod rrd;
pub mod disks;
@ -20,6 +21,7 @@ pub const SUBDIRS: SubdirMap = &[
("rrd", &rrd::ROUTER),
("services", &services::ROUTER),
("status", &status::ROUTER),
("subscription", &subscription::ROUTER),
("syslog", &syslog::ROUTER),
("tasks", &tasks::ROUTER),
("time", &time::ROUTER),