]> git.proxmox.com Git - pmg-api.git/blobdiff - src/PMG/API2.pm
adapt to new pmgcfg version/release semantic
[pmg-api.git] / src / PMG / API2.pm
index 68c9ff9a73954df294387294408a83619cbed346..9274269965dccd05f8c82bd0d2379a475e15f637 100644 (file)
@@ -89,9 +89,18 @@ __PACKAGE__->register_method ({
     returns => {
        type => "object",
        properties => {
-           version => { type => 'string' },
-           release => { type => 'string' },
-           repoid => { type => 'string' },
+           version => {
+               type => 'string',
+               description => 'The current installed pmg-api package version',
+           },
+           release => {
+               type => 'string',
+               description => 'The current installed Proxmox Mailgateway Release',
+           },
+           repoid => {
+               type => 'string',
+               description => 'The short git commit hash ID from which this version was build',
+           },
        },
     },
     code => sub {