Content types
The content types of a site. schema holds the field definitions; a field’s key does not change, and a removed field stays archived, with its values.
Module: Online content (content).
Endpoints
Section titled “Endpoints”GET /api/v1/content_types- List with filters, sorting and pagination (scopecontent:read)GET /api/v1/content_types/{id}- A record by id (scopecontent:read)POST /api/v1/content_types- Create a record (scopecontent:write)PATCH /api/v1/content_types/{id}- Modify the submitted fields (scopecontent:write)DELETE /api/v1/content_types/{id}- Delete or deactivate (scopecontent:write)POST /api/v1/content_types/{id}/purge_field- Permanently deletes an archived top-level field, along with its values in all entries. (scopecontent:write)
Fields
Section titled “Fields”id(string, uuid; read): Unique identifier (UUID).site_id(string; write, required)key(string; write)label_singular(string; write)label_plural(string; write, required)icon(string; write)supports(array; write)singleton(boolean; write)url_pattern(string; write)list_columns(array; write)schema(array; write)schema_version(number; write)template_key(string; read)sort_order(integer; read)created_at(string, date-time; read): Creation date (ISO 8601).updated_at(string, date-time; read): Last modification date (ISO 8601).
Events
Section titled “Events”content_types.createdcontent_types.updatedcontent_types.deleted