This documentation is archived and is not being maintained.

Filter query parameter

The filter query parameter specifies the types of items to return, when requesting Microsoft OneDrive items.

Last modified: March 10, 2015

This example uses the filter query parameter to request albums from the user's OneDrive.

/FOLDER_ID/files?filter=albums

The following values are supported:

  • albums

  • audio

  • folders

  • photos

  • videos

When specifying multiple values, use a comma-delimited list like this.

/FOLDER_ID/files?filter=videos,audio

The filter query parameter is supported for any request that returns a list of OneDrive items, for example, queries ending in /files, or /shared.

Show: