MrKampf / proxmoxVE

The is a PHP 8 ProxmoxVe API client. With it you can easily and quickly retrieve information from your Proxmox server or cluster.
GNU General Public License v3.0
51 stars 26 forks source link

/api2/json/nodes/{node}/storage/{storage}/file-restore/download #19

Open novafree1 opened 2 years ago

novafree1 commented 2 years ago

Method get() in the Proxmox\Api\Nodes\Node\Storage\Storage\FileRestore\Download have to return not arrey, it have to return row data from response. Because /api2/json/nodes/{node}/storage/{storage}/file-restore/download return not json arrey as other method it return 'any'.

So in the Api class I propose to add one more method which will return ResponseInterface or iterator with headers