Create Collection
Create a Collection for a site.
Required scope | cms:write
Path parameters
site_id
Unique identifier for a Site
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
displayName
Name of the collection. Each collection name must be distinct.
singularName
Singular name of each item.
slug
Part of a URL that identifier
fields
An array of custom fields to add to the collection
Response
Request was successful
id
Unique identifier for a Collection
displayName
Name given to the Collection
singularName
The name of one Item in Collection (e.g. ”Blog Post” if the Collection is called “Blog Posts”)
fields
The list of fields in the Collection
slug
Slug of Collection in Site URL structure
createdOn
The date the collection was created
lastUpdated
The date the collection was last updated