CollectionFields: Webflow Collection Fields
insert delete REST
- Luettelo:
Webflow - Kaavio:
Cms - Ensisijaiset avaimet:
collection_id, field_id - Label: Collection Fields
Voit hakea ja muokata tietoja käyttämällä insert ja delete.
Yhteenveto
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-lähde
- Päätepiste:
/collections/{collection_id}
Suorituskykyominaisuudet
| Ominaisuus | Arvo |
|---|---|
| Keskimääräinen yhteysviive (ms) | 314 |
| Täysskannausrivit minuutissa | 58 |
| Kirjoita rivejä minuutissa | 58 |
Taulukon sarakkeet
Taulukon CollectionFields sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.
| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|---|---|---|
collection_ |
varchar2 |
Kokoelman tunnus | suodattimet alustalla, kirjoitettavissa | The collection. | |
display_ |
varchar2 |
Näytönimi | suodattimet alustalla, kirjoitettavissa | The name of the field in the Designer. | |
field_ |
varchar2 |
Kentän tunnus | suodattimet alustalla, kirjoitettavissa | The id of the field. | |
help_ |
varchar2 |
Ohje | suodattimet alustalla, kirjoitettavissa | The help text shown to an editor. | |
is_ |
char |
Muokattavissa | suodattimet alustalla, kirjoitettavissa | Whether the value can be changed. | |
is_ |
char |
Tarvitaan | suodattimet alustalla, kirjoitettavissa | Whether an item needs a value. | |
referenced_ |
varchar2 |
Viitattu kokoelman tunnus | suodattimet alustalla, kirjoitettavissa | For a Reference or MultiReference field: the collection it refers to.Required on the insert of such a field. | |
site_ |
varchar2 |
Sivuston tunnus | suodattimet alustalla, kirjoitettavissa | The site. | |
slug |
varchar2 |
Etana | suodattimet alustalla, kirjoitettavissa | The slug of the field: its key in the field data, and the name of its column. | |
type |
varchar2 |
Tyyppi | suodattimet alustalla, kirjoitettavissa | The type, such as PlainText, RichText, Number, Switch, DateTime, Image, Option, Reference or MultiReference. | |
validations_ |
varchar2 |
JSON-validoinnit | suodattimet alustalla, kirjoitettavissa | 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. |
Avaimet
| Avain | Sarake | Viittaa | Laji | Kuvaus |
|---|---|---|---|---|
Collection |
collection_ |
Collections.id |
Avain |
Viitattu seuraavissa lähteissä
- CollectionFieldOptions
collection_id(Key) - CollectionFieldOptions
field_id(Key)