invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

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_on datetime Created On filters on the platform, writable When the collection was created, UTC.
display_name 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_updated datetime Last Updated filters on the platform, writable When the collection was last changed, UTC.
singular_name varchar2 Singular Name filters on the platform, writable The name of one item, such as Blog Post.
site_id 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_id_fk site_id Sites.id Key

Referenced By

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