]> git.proxmox.com Git - pmg-api.git/commit
api: statistics: refactor return for detail calls
authorStoiko Ivanov <s.ivanov@proxmox.com>
Thu, 21 Jan 2021 15:51:03 +0000 (16:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Jan 2021 08:28:42 +0000 (09:28 +0100)
commit5522af5f70462dd9984b9ccb0d351f8dab5b16fa
treec4b85e86c25b2312f775ffbb819a2f2bf11e051c
parentc581aea67a81ead6ebc0fa7b57dd49f2349b8647
api: statistics: refactor return for detail calls

all api methods returning information for a particular sender,
receiver or contact have similar returns.

This commit pulls the common ones out into a sub like the common method
parameters in $default_properties.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/API2/Statistics.pm