collections

Update collection schema (fields and title/slug/content/image pointers)

Cannot change the type of an existing field id; remove and add a new field instead. The field whose id matches slugField must remain present, have type text, and required: true.

patch/api/v1/sites/{subdomain}/collections/{collectionId}

Request

  • Base URL: https://slatehut.com
  • URL: https://slatehut.com/api/v1/sites/{subdomain}/collections/{collectionId}
  • Auth: HTTP bearer

Request body

titleFieldstring required
slugFieldstring required
contentFieldstring
imageFieldstring

Response

Changes

No recorded changes to this operation across all 1 revision of this API.