GetPageArgs
Arguments of the getPage method.
interface GetPageArgs {
locale?: string;
path?: PagePath;
searchParams?: Pick<SapccApiGetPageWithUserRequest, "code" | "pageType"> & Record<string, string>;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
locale | Optional | string | CMS locale. |
path | Optional | PagePath | Absolute path of the page. It will be used to match the page with the resolved pages. |
searchParams | Optional | Pick<SapccApiGetPageWithUserRequest, "code" | "pageType"> & Record<string, string> | Search parameters passed to the getPageWithUser call. You may specify code when you want to fetch content for a product details page. |
Referenced Types
- PagePath
SapccApiGetPageWithUserRequest