Invantive-dokumentaatioosa Invantive Cloudia
Invantive-tukifoorumitKirjaudu sisään / Rekisteröidy

CollectionItems: Webflow Collection Items

read only REST

  • Luettelo: Webflow
  • Kaavio: Cms
  • Ensisijaiset avaimet: collection_id, id, cms_locale_id
  • Label: Collection Items

Voi hakea vain tietoja.

Yhteenveto

The staged items of every CMS collection, drafts included, with their field data as JSON. A collection table in the schema Collections has a column per field and can be written. Primary locale only, unless filtered on cms_locale_id.

API-lähde

  • Päätepiste: /collections/{collection_id}/items

Suorituskykyominaisuudet

Ominaisuus Arvo
Keskimääräinen yhteysviive (ms) 436
Täysskannausrivit minuutissa 5,800

Taulukon sarakkeet

Taulukon CollectionItems sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

Nimi Tietotyyppi Etiketti Tarvitaan Merkit Dokumentaatio
cms_locale_id varchar2 CMS-kieliversion tunnus suodattimet alustalla, kirjoitettavissa The locale of this version of the item; see SiteLocales.
collection_id varchar2 Kokoelman tunnus suodattimet alustalla, kirjoitettavissa The collection.
created_on datetime Luotu suodattimet alustalla, kirjoitettavissa When the item was created, UTC.
field_data_json varchar2 Kenttätiedot JSON-muodossa suodattimet alustalla, kirjoitettavissa Every field of the item as JSON, keyed on the slug of the field.
id varchar2 ID suodattimet alustalla, kirjoitettavissa The id of the item; the same in every locale of the item.
is_archived char Arkistoitu suodattimet alustalla, kirjoitettavissa Whether the item is archived: kept, but not published.
is_draft char Luonnos suodattimet alustalla, kirjoitettavissa Whether the item is a draft, left out of the next publication.An item created through this driver is a draft unless is_draft is set to false.
last_published datetime Viimeisin julkaisu suodattimet alustalla, kirjoitettavissa When the item was last published, UTC; null when never.
last_updated datetime Viimeisin päivitys suodattimet alustalla, kirjoitettavissa When the item was last changed, UTC.
name varchar2 Nimi suodattimet alustalla, kirjoitettavissa The name of the item, its field name.
site_id varchar2 Sivuston tunnus suodattimet alustalla, kirjoitettavissa The site.
slug varchar2 Etana suodattimet alustalla, kirjoitettavissa The slug of the item in its address, its field slug.

Avaimet

Avain Sarake Viittaa Laji Kuvaus
CollectionItems_collection_id_fk collection_id Collections.id Avain

Esimerkkihakuyrityksiä

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 itm.collection_id
,      itm.name
,      itm.slug
from   Webflow.Cms.CollectionItems itm
where  itm.is_draft = true