Запрос:
{ "jsonrpc": "2.0", "method": "vm-billing", "id": "858b11a8-ccc3-11e9-a588-e4d15929abe7", "params": { "vm_id": 205, "begin_time": 1567342800, "end_time": 1567347642 } }
Ответ:
{ "id" : "858b11a8-ccc3-11e9-a588-e4d15929abe7", "jsonrpc" : "2.0", "result" : { "code" : 1, "data" : { "results" : [ { "series" : [ { "columns" : [ "time", "rx_bytes", "tx_bytes" ], "name" : "virtio_net", "values" : [ [ "1970-01-01T00:00:00Z", 2328943108, 78679228 ] ] } ], "statement_id" : 0 } ] } } }