page
konigle.managers.website.page
¶
Page managers for the Konigle SDK.
This module provides managers for page resources, enabling general page content management and operations.
AsyncPageManager
¶
Bases: BasePageManager, BaseAsyncManager
Async manager for page resources.
change_handle(id_, new_handle, redirect=False)
async
¶
Change the handle of a page.
create(data)
async
¶
Create a new page.
get_crawler_view(id_)
async
¶
Get the crawler view of a page.
publish(id_)
async
¶
Publish a page.
unpublish(id_)
async
¶
Unpublish a page.
update(id_, data)
async
¶
Update an existing page.
BasePageManager
¶
base_path = '/admin/api/pages'
class-attribute
instance-attribute
¶
The API base path for this resource type.
filter_class = PageFilters
class-attribute
instance-attribute
¶
The filter class used for listing resources.
resource_class = Page
class-attribute
instance-attribute
¶
The resource model class this manager handles.
resource_update_class = PageUpdate
class-attribute
instance-attribute
¶
The model class used for updating resources.
PageManager
¶
Bases: BasePageManager, BaseSyncManager
Manager for page resources.