CollectionFields: Webflow Collection Fields
insert delete REST
- Catalog:
Webflow - Schema:
Cms - Primary Keys:
collection_id, field_id - Label: Collection Fields
Can retrieve data and change data using insert and delete.
Summary
The fields of the CMS collections, one request per collection. A field is a column of the table of its collection, named after its slug. An insert adds a field of a simple type; a delete removes it with its values.
API Source
- Endpoint:
/collections/{collection_id}
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 314 |
| Full scan rows per minute | 58 |
| Write rows per minute | 58 |
Table Columns
The columns of the table CollectionFields are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
collection_ |
varchar2 |
Collection ID | filters on the platform, writable | The collection. | |
display_ |
varchar2 |
Display Name | filters on the platform, writable | The name of the field in the Designer. | |
field_ |
varchar2 |
Field ID | filters on the platform, writable | The id of the field. | |
help_ |
varchar2 |
Help Text | filters on the platform, writable | The help text shown to an editor. | |
is_ |
char |
Editable | filters on the platform, writable | Whether the value can be changed. | |
is_ |
char |
Required | filters on the platform, writable | Whether an item needs a value. | |
referenced_ |
varchar2 |
Referenced Collection ID | filters on the platform, writable | For a Reference or MultiReference field: the collection it refers to. Required on the insert of such a field. | |
site_ |
varchar2 |
Site ID | filters on the platform, writable | The site. | |
slug |
varchar2 |
Slug | filters on the platform, writable | The slug of the field: its key in the field data, and the name of its column. | |
type |
varchar2 |
Type | filters on the platform, writable | The type, such as PlainText, RichText, Number, Switch, DateTime, Image, Option, Reference or MultiReference. | |
validations_ |
varchar2 |
Validations JSON | filters on the platform, writable | The validations of the field as JSON, such as the maximum length or the options. On the insert of an Option field it carries the choices, such as {"options":[{"name":"News"}]}. The format of a Number field can not be set: Webflow makes it integer, and a decimal one is made in the Designer. |
Keys
| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
Collection |
collection_ |
Collections.id |
Key |
Referenced By
- CollectionFieldOptions
collection_id(Key) - CollectionFieldOptions
field_id(Key)