[pmg-devel] applied: [PATCH pmg-api v3 1/2] api: statistics: add common method for details

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Feb 11 10:15:32 CET 2021


On 02.02.21 14:03, Stoiko Ivanov wrote:
> This patch changes adds a new method, which yields the detail statistics
> for a particular address.
> 
> Depending on the provided type argument it returns the same information as
> the contact/sender/receiver detail calls.
> 
> This allows the statistics to be displayed for addresses containing
> '/' in their localpart, once this is permitted in our api schema.
> 
> the idea follows a similar change for the user blocklists in
> e8d909c11faeb5a4f84f39ef50e0eaf8ea65046d
> 
> By adding a new API method we can eventually drop the old methods with 7.0
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
>  src/PMG/API2/Statistics.pm | 63 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 63 insertions(+)
> 
>

applied, thanks!

Ammended the commit to adapt the FIXME comments as we actually can drop those
three API endpoints in 7.0




More information about the pmg-devel mailing list