The Folders API enables you to manage folders of collections for a Wix CMS.
With the Folders API, you can:
- Create, delete, update, or retrieve a folder.
- Create, delete, and retrieve collection references that connect a collection to a folder.
- Listen for events that trigger when a folder is created or updated.
- Folder: Organizes collections into groups.
- Root folder: The default folder created with every Wix CMS. All collections are automatically grouped into the root folder. The root folder's ID is
null and is the only folder in a site that may contain other folders.
- Collection: A group of data items stored together. See the Data Collections API.
- Collection reference: Connects a collection to a folder.