PagesApiFp
PagesApi - functional programming interface
Signature
PagesApiFp: (
configuration?: Configuration
) => {
getAllPages(baseSiteId: string,
currentPage?: number,
fields?: GetAllPagesFieldsEnum,
pageSize?: number,
pageType?: GetAllPagesPageTypeEnum,
sort?: string,
options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance,
basePath?: string) => AxiosPromise<ListAdaptedPages>>;
getAllPagesWithUser(baseSiteId: string,
userId: string,
currentPage?: number,
fields?: GetAllPagesWithUserFieldsEnum,
pageSize?: number,
pageType?: GetAllPagesWithUserPageTypeEnum,
sort?: string,
options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance,
basePath?: string) => AxiosPromise<ListAdaptedPages>>;
getPage(baseSiteId: string,
code?: string,
fields?: GetPageFieldsEnum,
pageLabelOrId?: string,
pageType?: GetPagePageTypeEnum,
options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance,
basePath?: string) => AxiosPromise<PageAdaptedData>>;
getPageById(baseSiteId: string,
pageId: string,
fields?: GetPageByIdFieldsEnum,
options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance,
basePath?: string) => AxiosPromise<PageAdaptedData>>;
getPageByIdAndUser(baseSiteId: string,
pageId: string,
userId: string,
fields?: GetPageByIdAndUserFieldsEnum,
options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance,
basePath?: string) => AxiosPromise<PageAdaptedData>>;
getPageWithUser(baseSiteId: string,
userId: string,
code?: string,
fields?: GetPageWithUserFieldsEnum,
pageLabelOrId?: string,
pageType?: GetPageWithUserPageTypeEnum,
options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance,
basePath?: string) => AxiosPromise<PageAdaptedData>>;
}Parameters
| Name | Required | Type | Description |
|---|---|---|---|
configuration | Optional | Configuration |
Referenced Types
- GetAllPagesFieldsEnum
- GetAllPagesPageTypeEnum
AxiosRequestConfigAxiosInstanceAxiosPromise- ListAdaptedPages
- GetAllPagesWithUserFieldsEnum
- GetAllPagesWithUserPageTypeEnum
- GetPageFieldsEnum
- GetPagePageTypeEnum
- GetPageByIdFieldsEnum
- GetPageByIdAndUserFieldsEnum
- GetPageWithUserFieldsEnum
- GetPageWithUserPageTypeEnum