Accounts-account-email-domain:GET

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
(Success getting domain info)
 
m (1 revision: Release 96)
 

Latest revision as of 09:44, 31 July 2014

[edit] GET /accounts/{account}/email/{domain}

Gets email domain's info.

Contents


[edit] Request

GET /accounts/{account}/email/{domain}

[edit] URI Parameters

account - string
domain - string

[edit] Request Headers

Authorization - HTTP Authorization header [1]
The Authentication credentials of the client application.
Content-Type
Optional. Set this header to application/json; charset=UTF-8

[edit] Response

[edit] Status Code

200 OK
Success
401 Unauthorized
The supplied credentials are invalid or do not provide permissions for this operation.
404 Not Found
The domain name does not exist.

[edit] Response Body

{
   "quota": 19320,
   "links": [
      {
         "location": "{APIBaseURL}/accounts/{account}/email/{domain}", 
         "rel": "self"
      }
   ]
}
 


[edit] Parameters

quota - int
Domain quota in MB(sum of all domain's mailboxes quota).

[edit] Examples

[edit] Success getting domain info

Request

GET /accounts/test-account/email/test.com
 

Response

200 OK

{
   "quota": 19320, 
   "links": [
      {
         "href": "{APIBaseURL}/accounts/test-account/email/test.com/", 
         "rel": "self"
      }
   ]
}


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox