URL | GET {{basepath}}/hosting/domainInUse/:domainname |
---|---|
Category | Hosting |
Allows you to retrieve the hosting identifier for a domainname or subdomain
Returns a HostingDomainInUseResponse object.
:domainname | sub2.example-2022-4-26-13-50-36.com |
---|
GET {{basepath}}/hosting/domainInUse/:domainname
:domainname | example.com |
---|
404 Not Found
{
"responseId": "1_5644257f64086d62aab0260d716f5e1f8969356f",
"status": "not_found",
"message": "No hosting found"
}
GET {{basepath}}/hosting/domainInUse/:domainname
:domainname | example-2022-4-26-13-12-46.com |
---|
200 OK
{
"responseId": "1_94e57e9637106151ff90c3ce7a3b19e8889031df",
"status": "ok",
"message": "A hosting was found",
"hostingIdentifier": "1_89d660ceed9e3193c82be85392a74018b80f6695"
}
GET {{basepath}}/hosting/domainInUse/:domainname
:domainname | sub2.example-2022-4-26-13-50-36.com |
---|
200 OK
{
"responseId": "1_8f49c39b18587f5d0932e4097308655c268e434d",
"status": "ok",
"message": "A hosting was found",
"hostingIdentifier": "1_8eced42827605d5027ff06027635235ffd919244"
}