ItemReference resource type

The ItemReference resource provides information necessary to address a DriveItem via the API.

JSON representation

Here is a JSON representation of the resource

  "driveId": "string",
  "driveType": "personal | business | documentLibrary",
  "id": "string",
  "listId": "string",
  "name": "string",
  "path": "string",
  "shareId": "string",
  "sharepointIds": { "@odata.type": "microsoft.graph.sharepointIds" },
  "siteId": "string"


Property Type Description
driveId String Identifier of the drive instance that contains the item. Read-only.
driveType String Identifies the type of drive. See drive resource for values.
id String Identifier of the item in the drive. Read-only.
listId String Identifier of the list. Read-only.
name String The name of the item being referenced. Read-only.
path String Path that can be used to navigate to the item. Read-only.
shareId String Identifier for a shared resource that can be accessed via the Shares API.
sharepointIds sharepointIds Identifiers useful for SharePoint REST compatibility. Read-only.
siteId String Identifier of the site. Read-only.


To address a driveItem from an itemReference resource, construct a URL of the format:


The path value is an API path relative to the target drive, for example: /drive/root:/Documents/myfile.docx.

To retrieve the human-readable path for a breadcrumb, you can safely ignore everything up to the first : in the path string.