BaseItem resource type
The baseItem resource is an abstract resource that contains a common set of properties shared among several other resources types. Resources that derive from baseItem include:
JSON representation
Here is 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 |
---|---|---|
id | string | The unique identifier of the drive. Read-only. |
createdBy | identitySet | Identity of the user, device, or application which created the item. Read-only. |
createdDateTime | dateTimeOffset | Date and time of item creation. Read-only. |
description | string | Provides a user-visible description of the item. Read-write. Only on OneDrive Personal. |
eTag | string | ETag for the item. Read-only. |
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 | The name of the item. Read-write. |
parentReference | itemReference | Parent information, if the item has a parent. Read-write. |
webUrl | string (url) | URL that displays the resource in the browser. Read-only. |
Remarks
The baseItem
type is not expected to be used directly.