v1

latestOpenAPI 3.0.42026-07-1778875788.7 KB
drives.driveItem

Invoke function search

Search the hierarchy of items for items matching a query. You can search within a folder hierarchy, a whole drive, or files shared with the current user.

get/drives/{driveId}/items/{driveItemId}/microsoft.graph.search(q='{q}')

Path parameters

driveIdstring required

The unique identifier of drive

driveItemIdstring required

The unique identifier of driveItem

qstring nullable required

Usage: q='{q}'

Query parameters

$topinteger

Show only the first n items

$skipinteger

Skip the first n items

$searchstring

Search items by search phrases

$filterstring

Filter items by property values

$countboolean

Include count of items

$selectstring[]

Select properties to be returned

$orderbystring[]

Order items by property values

$expandstring[]

Expand related entities

Response

Success

@odata.nextLinkstring nullable