vmj / groovy-upcloud

Groovy UpCloud library
GNU General Public License v3.0
1 stars 0 forks source link

Add support for resource billing summary APIs #3

Open vmj opened 4 years ago

vmj commented 4 years ago

There's a new API

where RESOURCE_ID can be a server or storage UUID or an IP address.

https://developers.upcloud.com/1.3/3-accounts/#get-monthly-resource-billing-summary

This issue is separate from #2 but the implied (new) Billing resource will be a mess.

vmj commented 4 years ago

This seems to be available in 1.2 API, too.

vmj commented 4 years ago

The response has the following structure:

That's ugly ☹️