vmj / groovy-upcloud Goto Github PK
View Code? Open in Web Editor NEWGroovy UpCloud library
License: GNU General Public License v3.0
Groovy UpCloud library
License: GNU General Public License v3.0
Space is not a valid char in token. https://tools.ietf.org/html/rfc7231#section-5.5.3
Let's use "groovy-upcloud/<version>" instead.
Server resource has a simple_backup
property (String
).
IpAddressApi::update(Resource,....)
used to be PUT
in API version 1.2 and below. In API version 1.3 it has changed to PATCH
.
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.
This begs a question: should the method take a RestartServer
resource as a parameter?
https://developers.upcloud.com/1.3/8-servers/#restart-server
There's a new Network
resource, part of which is a new IpNetwork
resource. One can list, create, modify, and delete these networks.
When dealing with Server
resources, there's a new list of Interface
resources in the networking
property.
These Interface
resources can also be created after the server creation. The server must be stopped and the network must already exist.
The UpCloudApi::account
response may have resource_limits
and/or trial_resource_limits
properties. These should be added to Account
resource.
https://developers.upcloud.com/1.3/3-accounts/#get-account-information
Host
, which has (among other simple properties) a List<Stat> stats
propertyUpCloudApi::hosts
that returns a list of List<Host> hosts
resourcesHostApi
with the methods:
HostApi::load(...args)
HostApi::update(Resource, ...args)
(only Host::description
seems to be allowed here`)Question: the properties of Host
or Stat
are not documented?
Zones in the prices listing may have the following subresources that are not covered:
They each have the amount and price fields common to the plan resources.
Starting a server used to be an empty POST
call. Now it takes a Server
resource with host
and/or avoidHost
properties.
Both of those properties are optional. Does the API still accept empty POST
body?
https://developers.upcloud.com/1.3/8-servers/#start-server
Restarting a server now takes an optional host
property.This begs a question: should the method take a RestartServer resource as a parameter? And why not avoidHost
, or does it?
https://developers.upcloud.com/1.3/8-servers/#restart-server
These properties seem to be available in UpCloudApi::ipAddresses
response, and IpAddressApi::load
response.
https://developers.upcloud.com/1.3/10-ip-addresses/#list-ip-addresses
https://developers.upcloud.com/1.3/10-ip-addresses/#get-ip-address-details
The mac
and floating
properties can be sent in UpCloudApi::create(IpAddress,...)
payload.
https://developers.upcloud.com/1.3/10-ip-addresses/#assign-ip-address
The mac
can be sent in IpAddressApi::update(IpAddress,...)
payload.
https://developers.upcloud.com/1.3/10-ip-addresses/#modify-ip-address
There's a new API
GET /1.3/account/resource_billing_summary/RESOURCE_ID/YYYY-MM
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.