Invantive 문서Invantive Cloud의 일부
Invantive 지원 포럼로그인 / 회원가입

Collections: Webflow Collections

insert delete REST

  • 카탈로그: Webflow
  • 스키마: Cms
  • 기본 키: id
  • Label: Collections

insert과 delete을 사용하여 데이터를 조회하거나 수정할 수 있습니다.

요약

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 소스

  • 종점: /sites/{site_id}/collections

성능 특성

특징 값
평균 액세스 지연 시간 (ms) 350
분당 전체 스캔 행 수 58
분당 행 수 58

표의 열

표 Collections의 열은 다음과 같습니다. 각 열에는 SQL 데이터 유형이 지정되어 있습니다. 삽입 및 업데이트 작업 중에는 항상 모든 필수 열에 대해 null이 아닌 새로운 값을 지정해야 합니다.

이름 데이터 유형 라벨 필요한 공간 점수 문서
created_on datetime 작성일 플랫폼의 필터, 쓰기 가능 When the collection was created, UTC.
display_name varchar2 표시 이름 플랫폼의 필터, 쓰기 가능 The name of the collection, such as Blog Posts.
id varchar2 ID 플랫폼의 필터, 쓰기 가능 The id of the collection.
last_updated datetime 최종 업데이트 플랫폼의 필터, 쓰기 가능 When the collection was last changed, UTC.
singular_name varchar2 단수 명사 플랫폼의 필터, 쓰기 가능 The name of one item, such as Blog Post.
site_id varchar2 사이트 ID 플랫폼의 필터, 쓰기 가능 The site.
slug varchar2 슬러그 플랫폼의 필터, 쓰기 가능 The slug of the collection in the addresses of its items; also the name of its table.

키

키 칼럼 다음과 관련된 레퍼런스 종류 설명
Collections_site_id_fk site_id Sites.id 키

레퍼런스됨

Query 예시

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