Skip to content

Latest commit

 

History

History
85 lines (68 loc) · 3.49 KB

File metadata and controls

85 lines (68 loc) · 3.49 KB
author spgraph-docs-team
description The baseItem resource is an abstract resource that contains a common set of properties shared among several other resources types.
ms.date 09/10/2017
title BaseItem
ms.localizationpriority medium
doc_type resourcePageType
ms.subservice onedrive

BaseItem resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

The baseItem resource is an abstract resource that contains a common set of properties shared among several other resources types.

Base type of drive, driveItem, recycleBin, recycleBinItem, site, and sharedDriveItem.

Properties

Property Type Description
description string The description of the item.
id string The unique identifier of the drive. Read-only.
createdBy identitySet Identity of the user, device, or application that created the item. Read-only.
createdDateTime dateTimeOffset Date and time of item creation. Read-only.
eTag string ETag for the item. Read-only.
lastModifiedBy identitySet Identity of the user, device, and application that last modified the item. Read-only.
lastModifiedDateTime dateTimeOffset Date and time the item was last modified. Read-only.
name string The name of the item. Read-write.
parentReference itemReference Parent information, if the item has a parent. Read-write.
webUrl string (url) URL that either displays the resource in the browser (for Office file formats), or is a direct link to the file (for other formats). Read-only.

Relationships

None.

JSON representation

Here's a JSON representation of a baseItem resource.

{
  "id": "string (identifier)",
  "createdBy": { "@odata.type": "microsoft.graph.identitySet" },
  "createdDateTime": "datetime",
  "description": "string",
  "eTag": "string",
  "lastModifiedBy": { "@odata.type": "microsoft.graph.identitySet" },
  "lastModifiedDateTime": "datetime",
  "name": "string",
  "parentReference": { "@odata.type": "microsoft.graph.itemReference" },
  "webUrl": "url"
}

Remarks

The baseItem type isn't expected to be used directly.