HostingAdoptResponse

Request Information
TYPE Response
CategoryObjects

Description

Object: HostingAdoptResponse

Properties

name type required default description
hosting object: Hosting yes The adopted hosting object
responseId string yes The response id
clientRequestId string yes The client request id if it was provided via the client-request-id header
status string yes The status of the request
message string yes The message

Sample JSON

{
  "responseId": "1_9139c63e2c673927cf6850d89d4e77b3da42ba6a",
  "status": "pending",
  "message": "Your hosting adoption is pending",
  "hosting": {
    "identifier": "1_a966d1ef4df5c72946a2d5c162cfd456cd29bd99",
    "status": "adopting",
    "domain": "example.com",
    "info": {
      "serverPlan": "unknown",
      "pleskUser": "unknown",
      "pleskFtpUser": "unknown",
      "pleskClientId": 0,
      "pleskHostingId": 0,
      "activeDomains": 0,
      "subdomains": 0,
      "diskspace": 0,
      "databases": 0,
      "traffic": 0,
      "trafficPrevDay": 0
    },
    "options": [
      {
        "name": "letsEncrypt",
        "value": "disabled",
        "arguments": []
      }
    ],
    "package": {
      "packageId": "basic",
      "type": "plesk",
      "status": "active",
      "spec": [
        {
          "type": "diskspace",
          "value": "1000"
        }
      ],
      "created": 1626272615,
      "modified": 1626272619
    },
    "server": {
      "identifier": "pleskdev",
      "hostname": "pleskdev.yourdomainprovider.net",
      "type": "plesk",
      "status": "active",
      "ips": [
        {
          "address": "213.249.70.50",
          "version": 4
        },
        {
          "address": "2a01:448:1004::50",
          "version": 6
        }
      ],
      "availablePackages": [
        "basic",
        "pro"
      ],
      "usage": 7,
      "capacity": 20,
      "created": 1626259040,
      "modified": 1626259045
    },
    "suspended": false,
    "suspendedDomain": false,
    "renewalDay": 10,
    "period": 1,
    "openJobCount": 1,
    "domains": [],
    "servicePeriod": 7,
    "serviceStatus": "adopting",
    "serviceRenewalMonth": 5,
    "created": 1683703194,
    "modified": 1683703194,
    "metadata": {
      "mdhostingid": 1,
      "blorp": "21341234",
      "serverType": "smoketest"
    }
  }
}