Edit

oneDriveForBusinessBrowseSession resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a browse session created on a restore point of a backed-up OneDrive.

Inherits from browseSessionBase.

Methods

Method Return type Description
Create oneDriveForBusinessBrowseSession Create a new oneDriveForBusinessBrowseSession object.
Get oneDriveForBusinessBrowseSession Read the properties and relationships of oneDriveForBusinessBrowseSession object.
List oneDriveForBusinessBrowseSession collection Get a list of the oneDriveForBusinessBrowseSession objects and their properties.
browse browseQueryResponseItem collection Allow client to browse files and folder present within a BrowseSession

Properties

Property Type Description
backupSizeInBytes String The size of the backup in bytes.
createdDateTime DateTimeOffset The time of the creation of the browse session.
error publicError Contains the error details if the browse session creation fails.
expirationDateTime DateTimeOffset The time after which the browse session is deleted automatically.
id String The unique identifier of the browse session. Inherited from entity. Inherits from entity
restorePointDateTime DateTimeOffset The date time of the restore point on which browse session is created.
status browseSessionStatus The status of the browse session. The possible values are: creating, created, failed, unknownFutureValue.
directoryObjectId String Id of the backed-up OneDrive.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.oneDriveForBusinessBrowseSession",
  "id": "String (identifier)",
  "status": "String",
  "createdDateTime": "String (timestamp)",
  "expirationDateTime": "String (timestamp)",
  "restorePointDateTime": "String (timestamp)",
  "backupSizeInBytes": "String",
  "error": {
    "@odata.type": "microsoft.graph.publicError"
  },
  "directoryObjectId": "String"
}