POST

Query File Descriptors


Note: This query method uses the new Wix API Query Language syntax. If you're still using the old query syntax with chained query builder methods, see Migrate from SDK Query Builders to Wix API Query Language for guidance. The old query builder methods continue to work.

Retrieves a list of files in the Media Manager, given the provided cursor paging, filtering, and sorting.

Up to 200 files can be returned per request.

When filtering by mediaType, supported values are: IMAGE, VIDEO, AUDIO, DOCUMENT, VECTOR, ARCHIVE, and MODEL3D.

To learn about working with Query methods, see API Query Language and Sorting and Paging.

PropertyFiltersSort
displayNameSort: ASC, DESC
sizeInBytesSort: ASC, DESC
private$eqNone
mediaType$eq, $inNone
_updatedDateSort: ASC, DESC
state$eqNone
Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Read Media Manager
Learn more about app permissions.
Method Declaration
Copy
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?