CollectionItems: Webflow Collection Items
read only REST
- Katalog:
Webflow - Schéma:
Cms - Primární klíče:
collection_id, id, cms_locale_id - Label: Collection Items
Lze načítat pouze data.
Shrnutí
The staged items of every CMS collection, drafts included, with their field data as JSON. A collection table in the schema Collections has a column per field and can be written. Primary locale only, unless filtered on cms_locale_id.
Zdroj API
- Koncový bod:
/collections/{collection_id}/items
Provozní charakteristiky
| Charakteristika | Hodnota |
|---|---|
| Průměrná latence přístupu (ms) | 436 |
| Počet řádků při úplném skenování za minutu | 5,800 |
Sloupce tabulky
Sloupce tabulky CollectionItems 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 |
|---|---|---|---|---|---|
cms_ |
varchar2 |
ID národní konfigurace CMS | filtry na platformě, zapisovatelné | The locale of this version of the item; see SiteLocales. | |
collection_ |
varchar2 |
ID sbírky | filtry na platformě, zapisovatelné | The collection. | |
created_ |
datetime |
Vytvořeno dne | filtry na platformě, zapisovatelné | When the item was created, UTC. | |
field_ |
varchar2 |
Data z terénu ve formátu JSON | filtry na platformě, zapisovatelné | Every field of the item as JSON, keyed on the slug of the field. | |
id |
varchar2 |
ID | filtry na platformě, zapisovatelné | The id of the item; the same in every locale of the item. | |
is_ |
char |
Archivováno | filtry na platformě, zapisovatelné | Whether the item is archived: kept, but not published. | |
is_ |
char |
Návrh | filtry na platformě, zapisovatelné | Whether the item is a draft, left out of the next publication.An item created through this driver is a draft unless is_draft is set to false. | |
last_ |
datetime |
Poslední zveřejnění | filtry na platformě, zapisovatelné | When the item was last published, UTC; null when never. | |
last_ |
datetime |
Poslední aktualizace | filtry na platformě, zapisovatelné | When the item was last changed, UTC. | |
name |
varchar2 |
Jméno | filtry na platformě, zapisovatelné | The name of the item, its field name. | |
site_ |
varchar2 |
ID stránky | filtry na platformě, zapisovatelné | The site. | |
slug |
varchar2 |
Slimák | filtry na platformě, zapisovatelné | The slug of the item in its address, its field slug. |
Klíče
| Klíč | Sloupec | Vztahuje se k | Druh | Popis |
|---|---|---|---|---|
Collection |
collection_ |
Collections.id |
Klíč |
Příklad Query
select cln.display_name collection_name
, itm.name
, itm.last_updated
from Webflow.Cms.CollectionItems itm
join Webflow.Cms.Collections cln
on cln.id = itm.collection_id
where itm.last_updated >= sysdateutc - 7
select itm.collection_id
, itm.name
, itm.slug
from Webflow.Cms.CollectionItems itm
where itm.is_draft = true