ערוך

שתף באמצעות


BaseItem 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.

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.

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"
}

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.

Remarks

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