Assets: Webflow Assets
update delete REST
- Catalog:
Webflow - Schema:
Assets - Primary Keys:
id - Label: Assets
Can retrieve data and change data using update and delete.
Summary
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 Source
- Endpoint:
/sites/{site_id}/assets
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 334 |
| Full scan rows per minute | 5,800 |
Table Columns
The columns of the table Assets 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 |
|---|---|---|---|---|---|
alt_ |
varchar2 |
Alt Text | filters on the platform, writable | The text describing the image for visitors who cannot see it. | |
content_ |
varchar2 |
Content Type | filters on the platform, writable | The MIME type, such as image/png. | |
created_ |
datetime |
Created On | filters on the platform, writable | When the asset was uploaded, UTC. | |
display_ |
varchar2 |
Display Name | filters on the platform, writable | The name of the asset in the Designer. | |
folder_ |
varchar2 |
Folder ID | filters on the platform, writable | The folder of the asset; null at the top. | |
hosted_ |
varchar2 |
Hosted URL | filters on the platform, writable | The address of the file on the content delivery network of Webflow. | |
id |
varchar2 |
ID | filters on the platform, writable | The id of the asset. | |
last_ |
datetime |
Last Updated | filters on the platform, writable | When the asset was last changed, UTC. | |
original_ |
varchar2 |
Original File Name | filters on the platform, writable | The name of the file when it was uploaded. | |
site_ |
varchar2 |
Site ID | filters on the platform, writable | The site. | |
size |
int64 |
File Size | filters on the platform, writable | The size in bytes. | |
variant_ |
int32 |
Variant Count | filters on the platform, writable | The number of responsive variants Webflow made of the image. |
Keys
| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
Assets_ |
folder_ |
AssetFolders.id |
Key | |
Assets_ |
site_ |
Sites.id |
Key |