POST

Query Folders


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

Up to 100 folders can be returned per request.

Query Folders runs with these defaults, which you can override:

  • updatedDate is sorted in DESC order
  • cursorPaging.limit is 100

Filterable fields: state. Sortable fields: displayName and updatedDate.

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

PropertyFiltersSort
displayNameSort: ASC, DESC
updatedDateSort: ASC, DESC
state$eqNone
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permission Scopes
Read Media Manager
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/site-media/v1/folders/query

Errors

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

Did this help?