method
RiduClient.preview
RiduClient.preview<Slug extends DraftCollectionSlug<Config>>(
collection: Slug,
id: string,
token: string,
options?: RequestOptions,
): Promise<OutputFor<Config, Slug>>Read preview data using a scoped token.
Related types
DraftCollectionSlugCollection slugs with the generated drafts capability.
RequestOptionsOptions shared by every request.
OutputForResolve a collection document output type.