Accounts-account-email-domain-infostore:GET

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
 
m (1 revision: Release 87)
 

Latest revision as of 16:24, 15 November 2013

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

Gets InfoStore usage.

Contents


[edit] Request

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

[edit] URI Parameters

account - string
domain - string

[edit] Request Headers

Authorization - HTTP Authorization header [1]
The Authentication credentials of the client application.
Content-Type
Required. 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

{
   "infoStore": {
      "usage": 0,
      "quota": 20
   },
   "links": [
      {
         "location": "{APIBaseURL}/accounts/{account}/email/{domain}/infostore/", 
         "rel": "self"
      }
   ]
}
 


[edit] Parameters

usage - int
InfoStore usage in MB.
quota - int
InfoStore quota in MB.

[edit] Examples

[edit] Success getting account type

Request

GET /accounts/test/email/test.com/infostore
 

Response

200 OK

{"infoStore": {"usage": 0, "quota": 20}, "links": [{"href": "{APIBaseURL}/accounts/test/email/test.com/infostore/", "rel": "self"}]}


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox