Skip to content
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 host/avoidHost properties in ServerApi::{,re}start methods #7

Open
vmj opened this issue Feb 24, 2020 · 0 comments
Open
Labels
api-1.3 Needed to fully support UpCloud API 1.3
Milestone

Comments

@vmj
Copy link
Owner

vmj commented Feb 24, 2020

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

@vmj vmj added the api-1.3 Needed to fully support UpCloud API 1.3 label Feb 24, 2020
@vmj vmj changed the title Add support for new properties in ServerApi::start payload Add support for host/avoidHost properties in ServerApi::start payload Feb 24, 2020
@vmj vmj changed the title Add support for host/avoidHost properties in ServerApi::start payload Add support for host/avoidHost properties in ServerApi::{,re}start methods Feb 24, 2020
@vmj vmj added this to the 0.1.0 milestone Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-1.3 Needed to fully support UpCloud API 1.3
Projects
None yet
Development

No branches or pull requests

1 participant