Accounts-account-email-domain-infostore:GET

From Hostway API Documentation
Revision as of 15:24, 15 November 2013 by Mike.robski (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Gets InfoStore usage.

Contents


Request

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

URI Parameters

account - string
domain - string

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


Response

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.

Response Body

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


Parameters

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

Examples

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