/RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/Documents/{documentId}
Represents a backed up OneDrive document with a specified ID.
Resource URL
The URL of the reference resource representation:
https://<Backup-Office365>:4443/v3/RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/Documents/{documentId} |
Related Resources
/RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/Documents
Methods
The following methods are supported for the /RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/Documents/{documentId} resource:
- (GET) /RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/Documents/{documentId}
- (POST) /RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/Documents/{documentId}/Action
Properties
The /RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/Documents/{documentId} resource has the following properties:
Property | Type | Description |
---|---|---|
Id | string | Specifies the ID of the backed up OneDrive document. For example, "Id": "AAAAAKGE4dIvQUtGjuSnq8JTHAgBAPliTMf_6DxPiJ6TGYB9CqAAAAAAAQ0AAA==". |
Name | string | Specifies the name of the backed up OneDrive document. For example, "name": "Calendar". |
Parent | object | Specifies _links for the parent object. |
Version | int | Specifies the version of the document. |
SizeBytes | int | Specifies the size of the document. |
CreatedBy | string | Specifies the user, which created the document. For example, "createdBy": "Sam Jones". |
CreationTime | UTC | Specifies date and time when the document was created. For example, "creationTime": "2017-07-04T16:08:20.2882911Z". |
ModifiedBy | string | Specifies the user, which performed the last modifications to the document. For example, "modifiedBy": "Sam Jones". |
ModificationTime | UTC | Specifies date and time when the document was modified. For example, "modificationTime": "2017-07-04T16:08:20.2882911Z". |
InheritedPermissions | bool | Specifies if the permission settings of an element will be passed on to the children of that element. For example, "inheritedPermissions": "true". |
_links | Dictionary of string [key] and Object [value] | Links to related resources (navigation property). |
Resource Representation
The /RestoreSessions/{restoreSessionId}/Organization/OneDrives/{oneDriveId}/Documents/{documentId} resource has the following representation:
{ "sizeBytes": 80101, "inheritedPermissions": true, "version": "1.0", "id": "724011c3-a540-4684-b24f-3e2ab4ef6380df26ea7d-6468-4846-bdf5-4e88d871ed11", "name": "content.jpg", "createdBy": "System Account", "creationTime": "2017-04-09T09:12:59", "modifiedBy": "System Account", "modificationTime": "2017-04-09T09:12:59", "_links": { "self": { "href": "https://support.north.local:4443/v3/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/documents/0e4079a2-faa5-41bf-b8a7-ba883308cbc9" }, "onedrive": { "href": "https://support.north.local:4443/v3/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39" }, "parent": { "href": "https://support.north.local:4443/v3/restoresessions/61954db6-7278-4d26-86f7-888bda5a4ec4/organization/onedrives/b3184e77-b95b-45f7-96cc-180a20b61cbd8507931c-4561-4ddf-bc90-411aba44bb39/folders/89e2b52a-66e3-4a1a-a088-4655dfbe95d7" } } }
|