invantive-dokumentationen del av Invantive Cloud
Invantive supportforumLogga in / Registrera dig

CollectionItems: Webflow Collection Items

read only REST

  • Katalog: Webflow
  • Schema: Cms
  • Primärnycklar: collection_id, id, cms_locale_id
  • Label: Collection Items

Kan endast hämta data.

Sammanfattning

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.

API-källa

  • Slutpunkt: /collections/{collection_id}/items

Prestandakarakteristika

Egenskap Värde
Genomsnittlig åtkomstfördröjning (ms) 436
Antal rader per minut vid fullskanning 5,800

Tabellkolumner

Tabellens kolumner CollectionItems 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
cms_locale_id varchar2 CMS-språk-ID filtreras på plattformen, skrivbar The locale of this version of the item; see SiteLocales.
collection_id varchar2 Samlings-ID filtreras på plattformen, skrivbar The collection.
created_on datetime Skapad den filtreras på plattformen, skrivbar When the item was created, UTC.
field_data_json varchar2 Fältdata i JSON-format filtreras på plattformen, skrivbar Every field of the item as JSON, keyed on the slug of the field.
id varchar2 ID filtreras på plattformen, skrivbar The id of the item; the same in every locale of the item.
is_archived char Arkiverat filtreras på plattformen, skrivbar Whether the item is archived: kept, but not published.
is_draft char Utkast filtreras på plattformen, skrivbar 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_published datetime Senast publicerad filtreras på plattformen, skrivbar When the item was last published, UTC; null when never.
last_updated datetime Senast uppdaterad filtreras på plattformen, skrivbar When the item was last changed, UTC.
name varchar2 Namn filtreras på plattformen, skrivbar The name of the item, its field name.
site_id varchar2 Webbplats-ID filtreras på plattformen, skrivbar The site.
slug varchar2 Snigel filtreras på plattformen, skrivbar The slug of the item in its address, its field slug.

Nycklar

Nyckel Kolumn Avser för referens Typ Beskrivning
CollectionItems_collection_id_fk collection_id Collections.id Nyckel

Exempel på Query-frågor

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