Accounts-account-email-domain-infostore:GET
From Hostway API Documentation
(Difference between revisions)
Mike.robski (Talk | contribs) |
Mike.robski (Talk | contribs) m (1 revision: Release 87) |
Latest revision as of 15:24, 15 November 2013
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"}]}