Assets: Webflow Assets
update delete REST
- カタログ:
Webflow - スキーマ:
Assets - 主キー:
id - Label: 資産
update および delete を使用して、データの取得や変更を行うことができます。
概要
The files uploaded to the sites: images, documents and videos. An update changes the display name, the alternative text or the folder; a delete removes the file, also from the pages using it.
APIソース
- エンドポイント:
/sites/{site_id}/assets
性能特性
| 特徴 | 値 |
|---|---|
| 平均アクセス遅延(ms) | 334 |
| 全件スキャンの毎分行数 | 5,800 |
表の列
テーブル Assets の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。
| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|---|---|---|
alt_ |
varchar2 |
代替テキスト | プラットフォーム上でフィルタ可能、書き込み可能 | The text describing the image for visitors who cannot see it. | |
content_ |
varchar2 |
コンテンツの種類 | プラットフォーム上でフィルタ可能、書き込み可能 | The MIME type, such as image/png. | |
created_ |
datetime |
作成日 | プラットフォーム上でフィルタ可能、書き込み可能 | When the asset was uploaded, UTC. | |
display_ |
varchar2 |
表示名 | プラットフォーム上でフィルタ可能、書き込み可能 | The name of the asset in the Designer. | |
folder_ |
varchar2 |
フォルダID | プラットフォーム上でフィルタ可能、書き込み可能 | The folder of the asset; null at the top. | |
hosted_ |
varchar2 |
ホストされているURL | プラットフォーム上でフィルタ可能、書き込み可能 | The address of the file on the content delivery network of Webflow. | |
id |
varchar2 |
ID | プラットフォーム上でフィルタ可能、書き込み可能 | The id of the asset. | |
last_ |
datetime |
最終更新日 | プラットフォーム上でフィルタ可能、書き込み可能 | When the asset was last changed, UTC. | |
original_ |
varchar2 |
元のファイル名 | プラットフォーム上でフィルタ可能、書き込み可能 | The name of the file when it was uploaded. | |
site_ |
varchar2 |
サイトID | プラットフォーム上でフィルタ可能、書き込み可能 | The site. | |
size |
int64 |
ファイルサイズ | プラットフォーム上でフィルタ可能、書き込み可能 | The size in bytes. | |
variant_ |
int32 |
バリアント数 | プラットフォーム上でフィルタ可能、書き込み可能 | The number of responsive variants Webflow made of the image. |
キー
| キー | コラム | 「~を指す」 | 種類 | 説明 |
|---|---|---|---|---|
Assets_ |
folder_ |
AssetFolders.id |
キー | |
Assets_ |
site_ |
Sites.id |
キー |