CollectionFields: Webflow Collection Fields
insert delete REST
- Katalog:
Webflow - Schéma:
Cms - Primární klíče:
collection_id, field_id - Label: Collection Fields
Pomocí insert a delete lze načítat a měnit data.
Shrnutí
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.
Zdroj API
- Koncový bod:
/collections/{collection_id}
Provozní charakteristiky
| Charakteristika | Hodnota |
|---|---|
| Průměrná latence přístupu (ms) | 314 |
| Počet řádků při úplném skenování za minutu | 58 |
| Počet řádků za minutu | 58 |
Sloupce tabulky
Sloupce tabulky CollectionFields jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).
| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|---|---|---|
collection_ |
varchar2 |
ID sbírky | filtry na platformě, zapisovatelné | The collection. | |
display_ |
varchar2 |
Zobrazované jméno | filtry na platformě, zapisovatelné | The name of the field in the Designer. | |
field_ |
varchar2 |
ID pole | filtry na platformě, zapisovatelné | The id of the field. | |
help_ |
varchar2 |
Nápověda | filtry na platformě, zapisovatelné | The help text shown to an editor. | |
is_ |
char |
Upravitelné | filtry na platformě, zapisovatelné | Whether the value can be changed. | |
is_ |
char |
Vyžadováno | filtry na platformě, zapisovatelné | Whether an item needs a value. | |
referenced_ |
varchar2 |
ID odkazované sbírky | filtry na platformě, zapisovatelné | For a Reference or MultiReference field: the collection it refers to.Required on the insert of such a field. | |
site_ |
varchar2 |
ID stránky | filtry na platformě, zapisovatelné | The site. | |
slug |
varchar2 |
Slimák | filtry na platformě, zapisovatelné | The slug of the field: its key in the field data, and the name of its column. | |
type |
varchar2 |
Typ | filtry na platformě, zapisovatelné | The type, such as PlainText, RichText, Number, Switch, DateTime, Image, Option, Reference or MultiReference. | |
validations_ |
varchar2 |
Ověření JSON | filtry na platformě, zapisovatelné | 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. |
Klíče
| Klíč | Sloupec | Vztahuje se k | Druh | Popis |
|---|---|---|---|---|
Collection |
collection_ |
Collections.id |
Klíč |
Odkazuje na
- CollectionFieldOptions
collection_id(Key) - CollectionFieldOptions
field_id(Key)