-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for monthly billing summary API #2
Comments
These seem to be available in 1.2 API, too. |
The monthly billing summary response has the following structure:
Zero amounts are not returned. Will need to add the network support when working with the networks in #6 |
The detailed monthly summary response has the following structure:
The response does not adhere to the "list wrapper" convention. Hence "resources" ends up being whatever List of Maps -type the JSON implementation generates. This needs support. |
There are two new APIs:
GET /1.3/account/billing_summary/YYYY-MM
GET /1.3/account/billing_summary/YYYY-MM/detailed
See if they require one or two methods in
UpCloudApi
trait.Also, check how they parse and if they conflict with any of the resources.
https://developers.upcloud.com/1.3/3-accounts/#get-monthly-billing-summary
https://developers.upcloud.com/1.3/3-accounts/#get-detailed-monthly-billing-summary
This is separate from #3 but the implied (new)
Billing
resource will be a mess.The text was updated successfully, but these errors were encountered: