Open vmj opened 4 years ago
Starting a server used to be an empty POST call. Now it takes a Server resource with host and/or avoidHost properties.
POST
Server
host
avoidHost
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
Starting a server used to be an empty
POST
call. Now it takes aServer
resource withhost
and/oravoidHost
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 notavoidHost
, or does it?https://developers.upcloud.com/1.3/8-servers/#restart-server