]>
git.proxmox.com Git - proxmox-backup.git/blob - src/api2/subscription.rs
b0a2e97f1a7e3b2e88fd3e130784384153c15366
4 use crate::api_schema
::*;
5 use crate::api_schema
::router
::*;
6 use serde_json
::{json, Value}
;
12 _rpcenv
: &mut dyn RpcEnvironment
,
13 ) -> Result
<Value
, Error
> {
15 let url
= "https://www.proxmox.com/en/proxmox-backup-server/pricing";
18 "message": "There is no subscription key",
19 "serverid": tools
::get_hardware_address()?
,
24 pub fn router() -> Router
{
28 ObjectSchema
::new("Read subscription info.")))