GET API/Packages

Gets a list of package structures available to users.

Request Information

URI Parameters None.

Body Parameters

None.

Response Information

Resource Description

Package Structures List

Collection of PackagesModels

Name Description Type Additional Information
ID Package unique identifier integer Required
Cost - decimal number None
Description - string None
Enabled - boolean Required
Name - string Required
StorageLimit In Gb decimal number None
isGlacierRestoreLimit - boolean Required
RestoreLimit In Gb decimal number None
GlacierRestoreType Only for Amazon to Glacier accounts. Notes: 'Standard' = default value. 'No' = Do not restore files from Glacier GlacierRestoreType None
UseRestoreLimit User restore limit. Default value is 'false' boolean None

Response Formats

application/json, text/json

[
  {
    "ID": 1,
    "Cost": 2.0,
    "Description": "sample string 3",
    "Enabled": true,
    "Name": "sample string 5",
    "StorageLimit": 6.1,
    "isGlacierRestoreLimit": true,
    "RestoreLimit": 1.1,
    "GlacierRestoreType": 0,
    "UseRestoreLimit": true
  },
  {
    "ID": 1,
    "Cost": 2.0,
    "Description": "sample string 3",
    "Enabled": true,
    "Name": "sample string 5",
    "StorageLimit": 6.1,
    "isGlacierRestoreLimit": true,
    "RestoreLimit": 1.1,
    "GlacierRestoreType": 0,
    "UseRestoreLimit": true
  }
]

application/xml, text/xml

<ArrayOfPackagesModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MBSAPImvc.Engine.Models">
  <PackagesModels>
    <Cost>2</Cost>
    <Description>sample string 3</Description>
    <Enabled>true</Enabled>
    <GlacierRestoreType>Standard</GlacierRestoreType>
    <ID>1</ID>
    <Name>sample string 5</Name>
    <RestoreLimit>1.1</RestoreLimit>
    <StorageLimit>6.1</StorageLimit>
    <UseRestoreLimit>true</UseRestoreLimit>
    <isGlacierRestoreLimit>true</isGlacierRestoreLimit>
  </PackagesModels>
  <PackagesModels>
    <Cost>2</Cost>
    <Description>sample string 3</Description>
    <Enabled>true</Enabled>
    <GlacierRestoreType>Standard</GlacierRestoreType>
    <ID>1</ID>
    <Name>sample string 5</Name>
    <RestoreLimit>1.1</RestoreLimit>
    <StorageLimit>6.1</StorageLimit>
    <UseRestoreLimit>true</UseRestoreLimit>
    <isGlacierRestoreLimit>true</isGlacierRestoreLimit>
  </PackagesModels>
</ArrayOfPackagesModels>
https://git.cloudberrylab.com/egor.m/doc-help-mbs.git