GET api/Domain/{domain}/Restorable?user={user}
Get the restorable status of a domain
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
domain |
Domain name |
string |
Required |
user |
Optional user handle - if empty logged in user will be used |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Object with restorable flag and domain status on success
Collection of errors on failure
Return codes
200 - ok
401 - unauthorized
404 - not found
500 - internal server error
Name | Description | Type | Additional information |
---|---|---|---|
IsRestorable |
Domain is restorable |
boolean |
None. |
Status |
Domain status |
string |
None. |
Handle |
Domain handle |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IsRestorable": true, "Status": "sample string 3", "Handle": "sample string 4" }, { "IsRestorable": true, "Status": "sample string 3", "Handle": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfRestorable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Domain"> <Restorable> <Handle>sample string 4</Handle> <IsRestorable>true</IsRestorable> <Status>sample string 3</Status> </Restorable> <Restorable> <Handle>sample string 4</Handle> <IsRestorable>true</IsRestorable> <Status>sample string 3</Status> </Restorable> </ArrayOfRestorable>