Partner Signup List

Partner Signup List

URI

/v1/partners/{username}/signups

URI Parameters

  • username (string)

Methods

GET

GET /v1/partners/{username}/signups

Gets the partner's signups.

Scope

partners_read

Query Selector Parameters

  • since (date)

  • type (string const) – ACCOUNT|PARTNER – If no type is specified, then all types will be returned

  • status (string const) – ACTIVE|TEST|FROZEN|CANCELED – If no status is specified, then all statuses will be returned

Query Pagination Parameters

  • page (int) – the page to show (min 1, default 1)

  • page_size (int) – the number of signups per page (min 1, max 100, default 10)

Query Sorting Parameters

  • order_by (string const) – TYPE|USERNAME|NAME

  • order_dir (string const) – ASC|DESC

Request Body Parameters

  • n/a

Response Attributes

  • username (string)

  • name (string)

  • company (string)

  • type (string const) – ACCOUNT|PARTNER

  • usage (int) – number of bytes stored

  • link (link object)

Example JSON

Request:

GET /v1/partners/barracuda/signups HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/json

 

Response:

HTTP/1.1 200 OK

Content-Type: application/json

 

{

  "page": 1,

  "page_size": 10,

  "count": 2,

  "links": [

   {

     "rel": "first",

     "href": "https://api.intronis.com/v1/partners/barracuda/signups?page=1"

   },

  ],         

  "list": [

   {

     "username": "barracuda_a",

     "name": "John Smith",

     "company": "barracuda",

     "type": "ACCOUNT",

     "usage": 1099511627776,

     "link": {

       "rel": "self",

       "href": "https://api.intronis.com/v1/accounts/barracuda_a"

     }

   },

   {

     "username": "barracuda__p",

     "name": "John Smith",

     "company": "barracuda",

     "type": "PARTNER",

     "usage": 1099511627776,

     "link": {

       "rel": "self",

       "href": "https://api.intronis.com/v1/partners/barracuda_p"

     }

   }

  ]

}

Example XML

Request:

GET /v1/partners/barracuda/signups HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/xml

 

Response:

HTTP/1.1 200 OK

Content-Type: application/xml

 

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

<list page="2" page_size="10" count="2">

  <link rel="first" href="https://api.intronis.com/v1/partners/barracuda/signups?page=1"/>

  <signup>

   <username>barracuda_a</username>

   <name>John Smith</name>

   <company>barracuda</company>

   <type>ACCOUNT</type>

   <usage>1099511627776</usage>

   <link rel="self" href="https://api.intronis.com/v1/accounts/barracuda_a"/>

  </signup>

  <signup>

   <username>barracuda_p</username>

   <name>John Smith</name>

   <company>barracuda</company>

   <type>PARTNER</type>

   <usage>1099511627776</usage>

   <link rel="self" href="https://api.intronis.com/v1/partners/barracuda_p"/>

  </signup>

</list>


We value your feedback.
If you have questions, suggestions, or feedback on our documentation, contact the Campus Product Documentation team.
For general product inquiries or technical support, please contact the global Barracuda Support team.