Remote item facet

The Remote item facet contains data and references items that exist in another drive. It is available on the remoteItem property of driveItem resources that have been shared and added to a drive, for example, by using the "Add to OneDrive" feature.

Note: Unlike with folders in the user's drive, an item moved into a remote item might have its id changed.

JSON representation

{
  "createdBy": { "@odata.type": "oneDrive.identitySet" },
  "file": { "@odata.type": "oneDrive.file" },
  "fileSystemInfo": { "@odata.type": "oneDrive.fileSystemInfo" },
  "folder": { "@odata.type": "oneDrive.folder" },
  "id": "string",
  "lastModifiedBy": { "@odata.type": "oneDrive.identitySet" },
  "lastModifiedDateTime": "string (timestamp)",
  "name": "string",
  "parentReference": { "@odata.type": "oneDrive.itemReference" },
  "shared": {"@odata.type": "oneDrive.shared" },
  "size": 1024,
  "webUrl": "https://1drv.ms/voo/bar"
}

Properties

Property name Type Description
createdBy identitySet Identity of the user, device, and application which created the item. Read-only.
file file Indicates that the remote item is a file.
fileSystemInfo fileSystemInfo Information about the remote item from the local file system.
folder folder Indicates that the remote item is a folder.
id string Unique identifier for the remote item in its drive.
lastModifiedBy identitySet Identity of the user, device, and application which last modified the item. Read-only.
lastModifiedDateTime dateTimeOffset Date and time the item was last modified. Read-only.
name string Optional. Filename of the remote item.
parentReference itemReference Properties of the parent of the remote item.
shared sharedFacet Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only.
size Int64 Size of the remote item.