-
- All Implemented Interfaces:
-
notion.api.v1.endpoint.EndpointsSupport
public interface PagesSupport implements EndpointsSupport
-
-
Method Summary
Modifier and Type Method Description PagecreatePage(PageParent parent, Map<String, PageProperty> properties, List<Block> children, Icon icon, Cover cover)PagecreatePage(CreatePageRequest page)PageretrievePage(String pageId)PageretrievePage(RetrievePageRequest request)PageupdatePageProperties(String pageId, Map<String, PageProperty> properties, Icon icon, Cover cover)PageupdatePageProperties(UpdatePagePropertiesRequest request)abstract NotionHttpClientgetHttpClient()abstract NotionJsonSerializergetJsonSerializer()abstract NotionLoggergetLogger()abstract StringgetBaseUrl()abstract StringgetToken()-
-
Method Detail
-
createPage
Page createPage(PageParent parent, Map<String, PageProperty> properties, List<Block> children, Icon icon, Cover cover)
-
createPage
Page createPage(CreatePageRequest page)
-
retrievePage
Page retrievePage(String pageId)
-
retrievePage
Page retrievePage(RetrievePageRequest request)
-
updatePageProperties
Page updatePageProperties(String pageId, Map<String, PageProperty> properties, Icon icon, Cover cover)
-
updatePageProperties
Page updatePageProperties(UpdatePagePropertiesRequest request)
-
getHttpClient
abstract NotionHttpClient getHttpClient()
-
getJsonSerializer
abstract NotionJsonSerializer getJsonSerializer()
-
getLogger
abstract NotionLogger getLogger()
-
getBaseUrl
abstract String getBaseUrl()
-
-
-
-