CollectionFields: Webflow Collection Fields
insert delete REST
- Katalog:
Webflow - Schema:
Cms - Primärnycklar:
collection_id, field_id - Label: Collection Fields
Man kan hämta och ändra data med hjälp av insert och delete.
Sammanfattning
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-källa
- Slutpunkt:
/collections/{collection_id}
Prestandakarakteristika
| Egenskap | Värde |
|---|---|
| Genomsnittlig åtkomstfördröjning (ms) | 314 |
| Antal rader per minut vid fullskanning | 58 |
| Skriv rader per minut | 58 |
Tabellkolumner
Tabellens kolumner CollectionFields visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.
| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|---|---|---|
collection_ |
varchar2 |
Samlings-ID | filtreras på plattformen, skrivbar | The collection. | |
display_ |
varchar2 |
Visningsnamn | filtreras på plattformen, skrivbar | The name of the field in the Designer. | |
field_ |
varchar2 |
Fält-ID | filtreras på plattformen, skrivbar | The id of the field. | |
help_ |
varchar2 |
Hjälptext | filtreras på plattformen, skrivbar | The help text shown to an editor. | |
is_ |
char |
Redigerbar | filtreras på plattformen, skrivbar | Whether the value can be changed. | |
is_ |
char |
Nödvändigt | filtreras på plattformen, skrivbar | Whether an item needs a value. | |
referenced_ |
varchar2 |
Referens-ID för samlingen | filtreras på plattformen, skrivbar | For a Reference or MultiReference field: the collection it refers to.Required on the insert of such a field. | |
site_ |
varchar2 |
Webbplats-ID | filtreras på plattformen, skrivbar | The site. | |
slug |
varchar2 |
Snigel | filtreras på plattformen, skrivbar | The slug of the field: its key in the field data, and the name of its column. | |
type |
varchar2 |
Typ | filtreras på plattformen, skrivbar | The type, such as PlainText, RichText, Number, Switch, DateTime, Image, Option, Reference or MultiReference. | |
validations_ |
varchar2 |
Valideringar (JSON) | filtreras på plattformen, skrivbar | 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. |
Nycklar
| Nyckel | Kolumn | Avser för referens | Typ | Beskrivning |
|---|---|---|---|---|
Collection |
collection_ |
Collections.id |
Nyckel |
Refereras till av
- CollectionFieldOptions
collection_id(Key) - CollectionFieldOptions
field_id(Key)