invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

CollectionItems: Webflow Collection Items

read only REST

  • Catalog: Webflow
  • Schema: Cms
  • Primary Keys: collection_id, id, cms_locale_id
  • Label: Collection Items

Can only retrieve data.

Summary

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 Source

  • Endpoint: /collections/{collection_id}/items

Performance Characteristics

Characteristic Value
Average access latency (ms) 436
Full scan rows per minute 5,800

Table Columns

The columns of the table CollectionItems are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
cms_locale_id varchar2 CMS Locale ID filters on the platform, writable The locale of this version of the item; see SiteLocales.
collection_id varchar2 Collection ID filters on the platform, writable The collection.
created_on datetime Created On filters on the platform, writable When the item was created, UTC.
field_data_json varchar2 Field Data JSON filters on the platform, writable Every field of the item as JSON, keyed on the slug of the field.
id varchar2 ID filters on the platform, writable The id of the item; the same in every locale of the item.
is_archived char Archived filters on the platform, writable Whether the item is archived: kept, but not published.
is_draft char Draft filters on the platform, writable 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 Last Published filters on the platform, writable When the item was last published, UTC; null when never.
last_updated datetime Last Updated filters on the platform, writable When the item was last changed, UTC.
name varchar2 Name filters on the platform, writable The name of the item, its field name.
site_id varchar2 Site ID filters on the platform, writable The site.
slug varchar2 Slug filters on the platform, writable The slug of the item in its address, its field slug.

Keys

Key Column Refers to Kind Description
CollectionItems_collection_id_fk collection_id Collections.id Key

Sample Queries

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