CollectionItems: Webflow Collection Items
read only REST
- カタログ:
Webflow - スキーマ:
Cms - 主キー:
collection_id, id, cms_locale_id - Label: Collection Items
データの取得のみ可能です。
概要
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ソース
- エンドポイント:
/collections/{collection_id}/items
性能特性
| 特徴 | 値 |
|---|---|
| 平均アクセス遅延(ms) | 436 |
| 全件スキャンの毎分行数 | 5,800 |
表の列
テーブル CollectionItems の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。
| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|---|---|---|
cms_ |
varchar2 |
CMS ロケール ID | プラットフォーム上でフィルタ可能、書き込み可能 | The locale of this version of the item; see SiteLocales. | |
collection_ |
varchar2 |
コレクションID | プラットフォーム上でフィルタ可能、書き込み可能 | The collection. | |
created_ |
datetime |
作成日 | プラットフォーム上でフィルタ可能、書き込み可能 | When the item was created, UTC. | |
field_ |
varchar2 |
フィールドデータ JSON | プラットフォーム上でフィルタ可能、書き込み可能 | Every field of the item as JSON, keyed on the slug of the field. | |
id |
varchar2 |
ID | プラットフォーム上でフィルタ可能、書き込み可能 | The id of the item; the same in every locale of the item. | |
is_ |
char |
アーカイブ済み | プラットフォーム上でフィルタ可能、書き込み可能 | Whether the item is archived: kept, but not published. | |
is_ |
char |
ドラフト | プラットフォーム上でフィルタ可能、書き込み可能 | 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 |
最終更新日 | プラットフォーム上でフィルタ可能、書き込み可能 | When the item was last published, UTC; null when never. | |
last_ |
datetime |
最終更新日 | プラットフォーム上でフィルタ可能、書き込み可能 | When the item was last changed, UTC. | |
name |
varchar2 |
名前 | プラットフォーム上でフィルタ可能、書き込み可能 | The name of the item, its field name. | |
site_ |
varchar2 |
サイトID | プラットフォーム上でフィルタ可能、書き込み可能 | The site. | |
slug |
varchar2 |
スラグ | プラットフォーム上でフィルタ可能、書き込み可能 | The slug of the item in its address, its field slug. |
キー
| キー | コラム | 「~を指す」 | 種類 | 説明 |
|---|---|---|---|---|
Collection |
collection_ |
Collections.id |
キー |
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