Support for new CMS fields, advanced site configuration, and variable management features
Enhancements to CMS fields and collections Data API v2
- Create reference fields
To create a reference field, chooseMultiReference
orReference
as thetype
property in thefield
object. Additionally, include themetadata
property to specify thecollectionId
of the collection that the reference field will point to. You can create a reference field during collection creation using the create collection endpoint or by updating an existing collection using the create collection field endpoint. - Create fields during collection creation
You can now create multiple fields during collection creation using the create collection endpoint. Collections are limited to 60 fields per collection.
Add and manage robots.txt
Data API v2
- Configure
robots.txt
.
Use the following endpoints to get and update yourrobots.txt
file:
Add and manage well-known files Data API v2 - beta
Upload well-known files to sites with the following requirements:
- File size must be less than 100KB per file
- Maximum of 30 files total
- Files must have one of these extensions (or no extension):
.txt
.json
.noext
- A special extension that removes other extensions when uploaded. This helps compatibility with tools that require file extensions
Example:apple-app-site-association.noext.txt
will be uploaded asapple-app-site-association
New CMS field type: Option Data API v2 - beta
- Create Option fields
Option fields let you define a predefined list of choices for a collection item. You can add these fields either when creating a new collection via the create collection endpoint or add them to existing collections using the create collection field endpoint.
Create and manage variable collections Designer API
Use the following endpoints to create and manage variable collections: