Skip to main content

listCmsDocuments

A page of a CMS collection's published documents, merged with the shared tenant's. Signed out, as getCmsDocument.

Kind: Function
Package: @ovok/core

Import​

import { listCmsDocuments } from '@ovok/core';

TypeScript signatures​

<T extends object = OvokCmsDocument>(this: OvokClient, collection: string, options?: OvokCmsListOptions): Promise<OvokCmsPage<T>>
ParameterTypeDetails
collectionstring—
optionsOvokCmsListOptions—

Returns: Promise<OvokCmsPage<T>>.

Learn the workflow​

Continue with Client Configuration for the workflow context and examples.

Source​

View the declaration in the SDK source.