Servers

View a server

Returns the full details of a single server including its connection configuration. Returns server details including provisioning state for managed protocols. For static_hosting servers the response includes a static_hosting block (status, url). For managed_vps servers the response includes a managed_vps block (status, ip_address, region, size, ssh_key). Either block is null when the underlying managed resource does not exist yet (e.g. provisioning failed before it was created). Poll this endpoint to track provisioning.

get/projects/{project_id}/servers/{id}

Request

  • Base URL: https://sg.deployhq.com
  • URL: https://sg.deployhq.com/projects/{project_id}/servers/{id}
  • Auth: HTTP basic

Path parameters

project_idstring required

The identifier or permalink of the project

idstring required

The identifier of the server

Response

Success

idinteger
identifierstring
namestring
protocol_typestring
enabledboolean

Changes

No recorded changes to this operation across all 1 revision of this API.