Skip to content

API · cms-public ​

Trang sinh tự động

Parse từ schema.graphql (SDL backend export) bằng parser graphql. Mô tả và quyền lấy nguyên văn từ description trong SDL.

4 query · 0 mutation.

Query ​

publicArticles ​

Matrix A-04. Published articles, newest first (no body).

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
localeString
pageInt
pageSizeInt

Trả về PublicArticlePage!

FieldKiểuMô tả
items[PublicArticleSummary!]!
pageInt!
pageSizeInt!
totalInt!
requestedLocaleString!
localeString!Locale of the items. Not the requested one when localeFallback (GAP-105).
localeFallbackBoolean!
sourceStatusSourceStatus!

publicBanners ​

Matrix A-04. Banners live now for the REQUEST app (x-pi-app), in display order.

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
placementCmsBannerPlacement

Trả về [PublicBanner!]!

FieldKiểuMô tả
idID!
titleString!
altTextString
imagePublicMedia
sortOrderInt
targetPublicBannerTarget
targetStatusPublicTargetStatus!

publicContent ​

Matrix A-04. One published article by slug; draft, scheduled, unpublished and deleted are not_found.

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
slugString!
localeString

Trả về PublicArticle!

FieldKiểuMô tả
idID!
slugString!
localeString!
requestedLocaleString!
localeFallbackBoolean!True when the content is the vi base because the requested locale has none (GAP-105).
titleString!
excerptString
coverPublicMedia
categorySlugString
categoryNameString
keywords[String!]!
seoTitleString
seoDescriptionString
seoCanonicalUrlStringhttps URL on an allowed host; null when none or no longer allowed.
seoShareImagePublicMediaPublic READY CMS image from our media store; null when none or gone.
seoIndexableBoolean!False = ask search engines not to index it (not access control). No stored value reads true.
publishedAtDateTime!
versionInt!Published version number.
body[PublicBlock!]!
sourceStatusSourceStatus!UNAVAILABLE when the stored body cannot be rendered safely; body is then empty.

publicPage ​

Matrix A-04. One published content page by key; draft, scheduled and unpublished are not_found.

query · SDL không ghi quyền

Tham sốKiểuMặc địnhMô tả
slugString!
localeString

Trả về PublicPageContent!

FieldKiểuMô tả
idID!
slugString!
localeString!
requestedLocaleString!
localeFallbackBoolean!True when the content is the vi base because the requested locale has none (GAP-105).
titleString!
seoTitleString
seoDescriptionString
seoCanonicalUrlString
seoShareImagePublicMedia
seoIndexableBoolean!
publishedAtDateTime!
versionInt!Published version number.
body[PublicBlock!]!
sourceStatusSourceStatus!UNAVAILABLE when the stored body cannot be rendered safely; body is then empty.

Sinh từ ad83b0aea · 820 migration · PostgreSQL 17