Collections: Webflow Collections
insert delete REST
- Catalog:
Webflow - Schema:
Cms - Primary Keys:
id - Label: Collections
Can retrieve data and change data using insert and delete.
Summary
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 Source
- Endpoint:
/sites/{site_id}/collections
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 350 |
| Full scan rows per minute | 58 |
| Write rows per minute | 58 |
Table Columns
The columns of the table Collections 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 |
|---|---|---|---|---|---|
created_ |
datetime |
Created On | filters on the platform, writable | When the collection was created, UTC. | |
display_ |
varchar2 |
Display Name | filters on the platform, writable | The name of the collection, such as Blog Posts. | |
id |
varchar2 |
ID | filters on the platform, writable | The id of the collection. | |
last_ |
datetime |
Last Updated | filters on the platform, writable | When the collection was last changed, UTC. | |
singular_ |
varchar2 |
Singular Name | filters on the platform, writable | The name of one item, such as Blog Post. | |
site_ |
varchar2 |
Site ID | filters on the platform, writable | The site. | |
slug |
varchar2 |
Slug | filters on the platform, writable | The slug of the collection in the addresses of its items; also the name of its table. |
Keys
| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
Collections_ |
site_ |
Sites.id |
Key |
Referenced By
- CollectionFields
collection_id(Key) - CollectionItems
collection_id(Key) - LiveCollectionItems
collection_id(Key) - InvantiveTestAuthors
collection_id(Key) - InvantiveTestPosts
collection_id(Key) - InvantiveTestAuthors
collection_id(Key) - InvantiveTestPosts
collection_id(Key) - Pages
collection_id(Key)
Sample Queries
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