Retrieves a list of files in the Media Manager, given the provided cursor paging, filtering, and sorting.
Query File Descriptors runs with these defaults, which you can override:
updatedDate is sorted in DESC ordercursorPaging.limit is 100Up to 100 files can be returned per request.
Filterable fields: mediaType, private, and state. Sortable fields: displayName, updatedDate, and sizeInBytes.
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.
| Property | Filters | Sort |
|---|---|---|
displayName | Sort: ASC, DESC | |
sizeInBytes | Sort: ASC, DESC | |
private | $eq | None |
mediaType | $eq, $in | None |
updatedDate | Sort: ASC, DESC | |
state | $eq | None |
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.