CollectionFields: Webflow Collection Fields
insert delete REST
- カタログ:
Webflow - スキーマ:
Cms - 主キー:
collection_id, field_id - Label: Collection Fields
insert および delete を使用して、データの取得や変更を行うことができます。
概要
The fields of the CMS collections, one request per collection. A field is a column of the table of its collection, named after its slug. An insert adds a field of a simple type; a delete removes it with its values.
APIソース
- エンドポイント:
/collections/{collection_id}
性能特性
| 特徴 | 値 |
|---|---|
| 平均アクセス遅延(ms) | 314 |
| 全件スキャンの毎分行数 | 58 |
| 書き込みの毎分行数 | 58 |
表の列
テーブル CollectionFields の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。
| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|---|---|---|
collection_ |
varchar2 |
コレクションID | プラットフォーム上でフィルタ可能、書き込み可能 | The collection. | |
display_ |
varchar2 |
表示名 | プラットフォーム上でフィルタ可能、書き込み可能 | The name of the field in the Designer. | |
field_ |
varchar2 |
フィールドID | プラットフォーム上でフィルタ可能、書き込み可能 | The id of the field. | |
help_ |
varchar2 |
ヘルプテキスト | プラットフォーム上でフィルタ可能、書き込み可能 | The help text shown to an editor. | |
is_ |
char |
編集可能 | プラットフォーム上でフィルタ可能、書き込み可能 | Whether the value can be changed. | |
is_ |
char |
必須 | プラットフォーム上でフィルタ可能、書き込み可能 | Whether an item needs a value. | |
referenced_ |
varchar2 |
参照されたコレクションID | プラットフォーム上でフィルタ可能、書き込み可能 | For a Reference or MultiReference field: the collection it refers to.Required on the insert of such a field. | |
site_ |
varchar2 |
サイトID | プラットフォーム上でフィルタ可能、書き込み可能 | The site. | |
slug |
varchar2 |
スラグ | プラットフォーム上でフィルタ可能、書き込み可能 | The slug of the field: its key in the field data, and the name of its column. | |
type |
varchar2 |
タイプ | プラットフォーム上でフィルタ可能、書き込み可能 | The type, such as PlainText, RichText, Number, Switch, DateTime, Image, Option, Reference or MultiReference. | |
validations_ |
varchar2 |
検証用JSON | プラットフォーム上でフィルタ可能、書き込み可能 | The validations of the field as JSON, such as the maximum length or the options.On the insert of an Option field it carries the choices, such as {"options":[{"name":"News"}]}.The format of a Number field can not be set: Webflow makes it integer, and a decimal one is made in the Designer. |
キー
| キー | コラム | 「~を指す」 | 種類 | 説明 |
|---|---|---|---|---|
Collection |
collection_ |
Collections.id |
キー |
参照元
- CollectionFieldOptions
collection_id(Key) - CollectionFieldOptions
field_id(Key)