Get a Reseller Backup Resource

In this article

    You can get a representation of a reseller cloud repository with the specified ID.

    Request

    To get a representation of a reseller backup resource in Veeam Service Provider Console, send the GET HTTPS request to the URL of its resource.

    HTTP Request

    GET https://<hostname>:1281/v2/resellers/{ID}/backupResources/{ID}

    Request Headers

    The request header must contain the authorization token for the current logon session.

    Response

    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 200 OK.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTP headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the request body message: application/json; charset=utf-8

    Response Body

    In the response body, Veeam Service Provider Console returns a representation of the /resellers/{ID}/backupResources/{ID} resource.

    Example Get a Reseller Backup Resource

    The following example returns a representation of a cloud repository with ID 1 of a reseller with ID 6.

    Request:

    GET https://localhost:1281/v2/resellers/6/backupResources/1

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response Code:

    200 Success

     

    Response Body:

    [

     {

       "backupRepositoryUid": "88788f9e-d8f5-4eb4-bc4f-9b3f5403bcec",

       "id": 1,

       "cloudConnectAgentUid": "c074807d-319c-46d2-a972-da519d1ba515",

       "freeSpace": 107374182400,

       "usedSpace": 0,

       "cloudRepositoryFriendlyName": "CloudRep6",

       "quota": {

         "storageGb": 200,

         "quotasIsUnlimited": false,

         "vms": 4,

         "workstations": 4,

         "servers": 4

       },

       "_links": [

         {

           "rel": "self",

           "method": "GET",

           "href": "https://vac:1281/v2/resellers/6/backupResources/1"

         },

         {

           "rel": "create",

           "method": "POST",

           "href": "https://vac:1281/v2/resellers/6/backupResources"

         },

         {

           "rel": "delete",

           "method": "DELETE",

           "href": "https://vac:1281/v2/resellers/6/backupResources/1"

         },

         {

           "rel": "edit",

           "method": "PUT",

           "href": "https://vac:1281/v2/resellers/6/backupResources/1"

         }

       ]

     }

    ]

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.