v1

latestOpenAPI 3.0.42026-07-1778875788.7 KB
drives.driveItem

Create new navigation property to items for drives

post/drives/{driveId}/items

Path parameters

driveIdstring required

The unique identifier of drive

Request body

idstring

The unique identifier for an entity. Read-only.

createdDateTimestring date-time

Date and time of item creation. Read-only.

descriptionstring nullable

Provides a user-visible description of the item. Optional.

eTagstring nullable

ETag for the item. Read-only.

lastModifiedDateTimestring date-time

Date and time the item was last modified. Read-only.

namestring nullable

The name of the item. Read-write.

webUrlstring nullable

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.

contentstring base64url nullable

The content stream, if the item represents a file.

cTagstring nullable

An eTag for the content of the item. This eTag isn't changed if only the metadata is changed. Note This property isn't returned if the item is a folder. Read-only.

rootRoot
sizenumber nullable

Size of the item in bytes. Read-only.

webDavUrlstring nullable

WebDAV compatible URL for the item.

Response

Created navigation property

idstring

The unique identifier for an entity. Read-only.

createdDateTimestring date-time

Date and time of item creation. Read-only.

descriptionstring nullable

Provides a user-visible description of the item. Optional.

eTagstring nullable

ETag for the item. Read-only.

lastModifiedDateTimestring date-time

Date and time the item was last modified. Read-only.

namestring nullable

The name of the item. Read-write.

webUrlstring nullable

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.

contentstring base64url nullable

The content stream, if the item represents a file.

cTagstring nullable

An eTag for the content of the item. This eTag isn't changed if only the metadata is changed. Note This property isn't returned if the item is a folder. Read-only.

rootRoot
sizenumber nullable

Size of the item in bytes. Read-only.

webDavUrlstring nullable

WebDAV compatible URL for the item.