Skip to main content

OvokClient.getLegalPage

A legal page ("terms-and-conditions", "data-privacy", …). Readable before sign-in with a tenant code.

Kind: Class method
Package: @ovok/core

Import​

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

TypeScript signatures​

getLegalPage(slug: string, options?: OvokCmsOptions): Promise<OvokCmsDocument>
ParameterTypeDetails
slugstring—
optionsOvokCmsOptions—

Returns: Promise<OvokCmsDocument>.

Class​

This method is available on OvokClient.

Learn the workflow​

Continue with Client Configuration for the workflow context and examples.

Source​

View the declaration in the SDK source.