Getting SharePoint Folders

In this article

    You can get a resource representation of backed-up SharePoint folders.

    Request

    GET https://<hostname>:4443/v5/RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId}/Folders

    Request Headers

    The request header must contain an authorization token of the current session.

    Request Body

    None.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a response code 200 OK.

    Response Headers

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

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

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

    Response Body

    In the response body, the server returns a resource representation of the /RestoreSessions/{restoreSessionId}/Organization/Sites/{siteId}/Folders resource.

    Examples

    Example 1

    Request:

    GET https://abc.tech.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/Organization/Sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/Folders

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    {

     "offset": 0,

     "limit": 30,

     "results": [

      {

       "type": "ListFolder",

       "id": "1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc378b8bb47-34aa-4e8e-9c95-9dff94f35898",

       "name": "AB922B82-8406-4E49-B17B-9057BDF09503",

       "createdBy": "System Account",

       "creationTime": "2017-04-16T08:06:36",

       "modifiedBy": "System Account",

       "modificationTime": "2017-04-16T08:06:36",

       "_links": {

        "self": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/folders/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc378b8bb47-34aa-4e8e-9c95-9dff94f35898"

        },

        "folders": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/folders?parentId=1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc378b8bb47-34aa-4e8e-9c95-9dff94f35898"

        },

        "list": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/lists/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc3"

        },

        "items": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/items?parentId=1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc378b8bb47-34aa-4e8e-9c95-9dff94f35898"

        }

       }

      },

      {

       "type": "ListFolder",

       "id": "1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc30b8e1466-e830-4199-b7c3-a09d1b0c6ca4",

       "name": "FEB96200-6E92-41DB-856B-E8702BCDF33A",

       "createdBy": "System Account",

       "creationTime": "2017-04-16T08:06:36",

       "modifiedBy": "System Account",

       "modificationTime": "2017-04-16T08:06:36",

       "_links": {

        "self": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/folders/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc30b8e1466-e830-4199-b7c3-a09d1b0c6ca4"

        },

        "folders": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/folders?parentId=1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc30b8e1466-e830-4199-b7c3-a09d1b0c6ca4"

        },

        "list": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/lists/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc3"

        },

        "items": {

         "href": "https://support.north.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/items?parentId=1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88ddbf94c035-744a-4ecb-85de-b0e55380bdc30b8e1466-e830-4199-b7c3-a09d1b0c6ca4"

        }

       }

      },

     

     ],

     "_links": {

      "self": {

       "href": "https://support.north.local:4443/v5/RestoreSessions/9de1aad8-b932-4083-b58a-edac38c35533/organization/sites/1cfe4469-0a31-414b-9fd0-e84a087dcb739f242172-6d3f-47a2-816a-4989d45e88dd/folders?offset=0&limit=30"

      }

     }

    }

    I want to report a typo

    There is a misspelling right here:

     

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