Skip to main content

OvokClient.getPublicDocumentDownloadUrl

Returns a public document endpoint for use in an image, download, or media element.

Kind: Class method
Package: @ovok/core

Import​

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

TypeScript signatures​

getPublicDocumentDownloadUrl(token: string, params?: { width?: string | number; height?: string | number; fit?: string; }): Promise<string>
ParameterTypeDetails
tokenstring—
params{ width?: string | number; height?: string | number; fit?: string; }—

Returns: Promise<string>.

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.