Skip to content

Add support for host/avoidHost properties in ServerApi::{,re}start methods #7

Description

@vmj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-1.3Needed to fully support UpCloud API 1.3

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions