Search query parameter

The q parameter is used to search a user's Microsoft OneDrive for objects that contain the specified text.

See the Search object for more info about the search results.

This example returns all objects in the user's OneDrive that contain the string, "family".

me/skydrive/search?q=family

You can also use the Limit and the Offset parameters to select specific entries within the search results. With a search operation, a default value of 100 is used if the limit parameter is not specified. Consequently, large search results will be automatically returned in groups of 100, if a limit parameter is not specified.

Note

In the JavaScript Object Notation (JSON)-formatted object that's returned, you can look in the paging object for the previous and next structures to get the offset and limit parameter values of the previous and next entries.

See also

REST reference