Form submission deletion, reference field creation, and page method updates

Delete form submissions Data API v2

Delete form submissions from a site using the delete form submission endpoint.

Track publishing history Data API v2

Track publishing history for a site using the lastPublished parameter. This parameter returns the date and time of the last published version of a site’s custom domain. This parameter will appear in the response for the get custom domains endpoint, as well as the list sites and get site endpoints.

JavaScript SDK updates Data API v2

Version 3.1.0 is now available and up to date with the latest changes in the Data API v2.


Create reference fields Data API v2 - beta

Create reference fields in a collection using the create collection field endpoint.

To create a reference field, you’ll need to:

  • Set the type property in the field object to either MultiReference or Reference
  • Include the metadata property with the collectionId of the target collection
1{
2 "displayName": "Authors",
3 "type": "Reference",
4 "metadata": {
5 "collectionId": "580e63fc8c9a982ac9b8b745"
6 }
7}

You can add reference fields in two ways:

Create multiple collection fields during collection creation
Data API v2 - beta

Create multiple collection fields during collection creation using the create collection endpoint. Collections are limited to 60 fields per collection.


Page properties enhancements Designer API

Page methods for the designer API now accept null values. The following methods now accept null values: