VM PNG RRD API Statistics

SagnikS

Well-Known Member
Feb 23, 2018
43
2
48
23
Hello,
I'm using the Proxmox API to get png RRD statistics, but I'm receiving something like this:
Code:
{
    "data": {
        "filename": "/var/lib/rrdcached/db/pve2-vm/800_cpu.png",
        "image":"<encoded string>" }
}

What is it encoded in, and how should I decode it? Also, it doesn't seem to be documented properly in the API Viewer.`[/CODE]
 
Can you show how you call the API / which API endpoint?