Zum Hauptinhalt springen

Get a Server

GET/servers/{serverId}/
v2
GET
project-get-server

Request

  • serverIdstring
    required

    ID of the Server to be retrieved.

Responses

application/json

OK

  • clusterNamestring
    required
  • createdAtstring (date-time)
    required
  • customerIdstring
    required
  • descriptionstring
    required
  • disabledReason"suspended"
  • idstring (uuid)
    required
  • imageRefIdstring (uuid)
  • isReadyboolean
    required

    deprecated by property status

  • machineTypeobject
    required
    • cpustring
      required
    • memorystring
      required
    • namestring
      required
  • readinessstring (one of: creating, ready, unready)
    required

    deprecated by property status

  • shortIdstring
    required
  • statisticsBaseDomainstring (hostname)
  • statusstring (one of: pending, ready, unready)
    required
  • storagestring
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/servers/string