InvantiveのドキュメントInvantive Cloudの一部
Invantive サポートフォーラムログイン / 会員登録

Collections: Webflow Collections

insert delete REST

  • カタログ:Webflow
  • スキーマ: Cms
  • 主キー:id
  • Label: Collections

insert および delete を使用して、データの取得や変更を行うことができます。

概要

The CMS collections of the sites. Each one is also a table of its own in the schemas Collections and LiveCollections. An insert creates an empty collection with its name and slug fields; a delete removes the collection and every item in it.

APIソース

  • エンドポイント: /sites/{site_id}/collections

性能特性

特徴 値
平均アクセス遅延(ms) 350
全件スキャンの毎分行数 58
書き込みの毎分行数 58

表の列

テーブル Collections の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

名前 データ型 ラベル 必須 マーク ドキュメント
created_on datetime 作成日 プラットフォーム上でフィルタ可能、書き込み可能 When the collection was created, UTC.
display_name varchar2 表示名 プラットフォーム上でフィルタ可能、書き込み可能 The name of the collection, such as Blog Posts.
id varchar2 ID プラットフォーム上でフィルタ可能、書き込み可能 The id of the collection.
last_updated datetime 最終更新日 プラットフォーム上でフィルタ可能、書き込み可能 When the collection was last changed, UTC.
singular_name varchar2 単数形の名詞 プラットフォーム上でフィルタ可能、書き込み可能 The name of one item, such as Blog Post.
site_id varchar2 サイトID プラットフォーム上でフィルタ可能、書き込み可能 The site.
slug varchar2 スラグ プラットフォーム上でフィルタ可能、書き込み可能 The slug of the collection in the addresses of its items; also the name of its table.

キー

キー コラム 「~を指す」 種類 説明
Collections_site_id_fk site_id Sites.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 pge.title page_title
,      cln.display_name template_of_collection
from   Webflow.Pages.Pages pge
join   Webflow.Cms.Collections cln
on     cln.id = pge.collection_id