Collection field enhancements

Create reference fields

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

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