It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Intronis Backup
formerly ECHOplatform

Account

  • Last updated on

URI

/v1/accounts/{username}

URI Parameters

username (string)

Methods

GET

GET /v1/accounts/{username}

Gets an account's information.

Scope

accounts_read

Request Body Parameters

  • n/a

Response Attributes

  • account_id (int)
  • username (string)
  • signup_date (date)
  • status (string const) - ACTIVE|TEST|FROZEN|CANCELED
  • usage (int) - number of bytes stored
  • reference_code (string)
  • info (link object)
  • action_history (link object)
  • usage_history (link object)
  • addresses (link object)
  • cancellation (link object)
  • available_plans (link object)
  • computers (link object)
  • reports (link object)
  • password (link object)

Example JSON

Request:

GET /v1/accounts/barracuda HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/json

 

Response:

HTTP/1.1 200 OK

Content-Type: application/json

{

  "account_id": 10,

  "username": “barracuda”,

  "signup_date": "2011-01-01T09:00:00-05:00",

  "status": "ACTIVE",

  "usage": 1099511627776,

  "reference_code": "acct-123",

  "links": [

   {

     "title": "info",

     "rel": "related",

     "href": "https://api.intronis.com/v1/accounts/barracuda/info"

   },

   {

     "title": "action_history",

     "rel": "related",

     "href": "https://api.intronis.com/v1/accounts/barracuda/action_history"

   },

   {

     "title": "usage_history",

     "rel": "related",

     "href": "https://api.intronis.com/v1/accounts/barracuda/usage_history"

   },

   {

     "title": "addresses",

     "rel": "related",

     "href": "https://api.intronis.com/v1/accounts/barracuda/addresses"

   },

   {

     "title": "cancellation",

     "rel": "related",

     "href": "https://api.intronis.com/v1/accounts/barracuda/cancellation"

   },

   {

     "title": "available_plans",

     "rel": "related",

     "href": "https://api.intronis.com/v1/accounts/barracuda/available_plans"

   },

   {

     "title": "computers",

     "rel": "related",

     "href": "https://api.intronis.com/v1/accounts/barracuda/computers"

   },

   {

     "title": "reports",

     "rel": "related",

     "href": "https://api.intronis.com/v1/accounts/barracuda/reports"

   },

   {

     "title": "password",

     "rel": "related",

     "href": "https://api.intronis.com/v1/accounts/barracuda/password"

   }

  ]

}

 

Response:

HTTP/1.1 200 OK

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8"?>

<account>

  <account_id>10</account_id>

  <username>barracuda</username>

  <signup_date>2011-01-01T09:00:00-05:00</signup_date>

  <status>ACTIVE</status>

  <usage>1099511627776</usage>

  <reference_code>acct-123</reference_code>

  <link title="info" rel="related" href="https://api.intronis.com/v1/accounts/barracuda/info"/>

  <link title="action_history" rel="related" href="https://api.intronis.com/v1/accounts/barracuda/action_history"/>

  <link title="usage_history" rel="related" href="https://api.intronis.com/v1/accounts/barracuda/usage_history"/>

  <link title="addresses" rel="related" href="https://api.intronis.com/v1/accounts/barracuda/addresses"/>

  <link title="cancellation" rel="related" href="https://api.intronis.com/v1/accounts/barracuda/cancellation"/>

  <link title="available_plans" rel="related" href="https://api.intronis.com/v1/accounts/barracuda/available_plans"/>

  <link title="computers" rel="related" href="https://api.intronis.com/v1/accounts/barracuda/computers"/>

</account>

 

 

Example XML

Request:

GET /v1/accounts/barracuda HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/xml