Veeam Backup for Microsoft Office 365 4.0
RESTful API Reference
Related documents

Getting OneDrive Folders

Returns a resource representation of OneDrive folders for exploring and restoring.

Request

GET https://<hostname>:4443/v4/RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/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 request body message: application/json; charset=utf-8

Response Body

In the response body, the server returns a representation of the /RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/Folders

Example

The following request returns an entity representation of OneDrive folders.

Request:

GET https://abc.tech.local:4443/v4/RestoreSessions/61954db6-7278-4d26-86f7-888bda5a4ec4/Organization/OneDrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/Folders

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response:

200 OK

 

Response Body:

{

 "offset": 0,

 "limit": 30,

 "results": [

  {

   "id": "89e2b52a-66e3-4a1a-a088-4655dfbe95d7",

   "name": "F1",

   "createdBy": "System Account",

   "creationTime": "2017-04-04T12:01:49",

   "modifiedBy": "System Account",

   "modificationTime": "2017-04-04T12:01:49",

   "_links": {

    "self": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders/89e2b52a-66e3-4a1a-a088-4655dfbe95d7"

    },

    "onedrive": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39"

    },

    "folders": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders?parentId=89e2b52a-66e3-4a1a-a088-4655dfbe95d7"

    },

    "documents": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/documents?parentId=89e2b52a-66e3-4a1a-a088-4655dfbe95d7"

    }

   }

  },

  {

   "id": "67cdafbf-8c14-434e-a02d-a04f228e0086",

   "name": "F2",

   "createdBy": "System Account",

   "creationTime": "2017-05-23T12:32:28",

   "modifiedBy": "System Account",

   "modificationTime": "2017-05-23T12:32:28",

   "_links": {

    "self": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders/67cdafbf-8c14-434e-a02d-a04f228e0086"

    },

    "onedrive": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39"

    },

    "parent": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders/89e2b52a-66e3-4a1a-a088-4655dfbe95d7"

    },

    "folders": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders?parentId=67cdafbf-8c14-434e-a02d-a04f228e0086"

    },

    "documents": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/documents?parentId=67cdafbf-8c14-434e-a02d-a04f228e0086"

    }

   }

  },

  {

   "id": "3dfb16ea-0dd1-43d0-becf-ee47713afb67",

   "name": "Shared with Everyone",

   "createdBy": "administrator",

   "creationTime": "2017-12-06T12:26:46",

   "modifiedBy": "administrator",

   "modificationTime": "2017-12-06T12:26:46",

   "_links": {

    "self": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders/3dfb16ea-0dd1-43d0-becf-ee47713afb67"

    },

    "onedrive": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39"

    },

    "folders": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders?parentId=3dfb16ea-0dd1-43d0-becf-ee47713afb67"

    },

    "documents": {

     "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/documents?parentId=3dfb16ea-0dd1-43d0-becf-ee47713afb67"

    }

   }

  }

 ],

 "_links": {

  "self": {

   "href": "https://support.north.local:4443/v4/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders/?offset=0&limit=30"

  }

 }

}

 

This Document Help Center
User GuideRESTful API ReferencePowerShell ReferenceVeeam Explorers User GuideVeeam Explorers PowerShell Reference
I want to report a typo

There is a misspelling right here:

 

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