Skip to content

folder

konigle.managers.website.folder

Folder managers for the Konigle SDK.

This module provides managers for folder resources, enabling hierarchical content organization and management.

AsyncFolderManager

Bases: BaseFolderManager, BaseAsyncManager

Async manager for folder resources.

change_handle(id_, new_handle, redirect=False) async

Change the handle of a folder.

create(data) async

Create a new folder.

get_crawler_view(id_) async

Get the crawler view of a folder.

get_home_folder(detail=False) async

Get the home folder.

publish(id_) async

Publish a folder.

unpublish(id_) async

Unpublish a folder.

update(id_, data) async

Update an existing folder.

BaseFolderManager

base_path = '/admin/api/content-folders' class-attribute instance-attribute

The API base path for this resource type.

filter_class = FolderFilters class-attribute instance-attribute

The filter model class for this resource type.

resource_class = Folder class-attribute instance-attribute

The resource model class this manager handles.

resource_update_class = FolderUpdate class-attribute instance-attribute

The model class used for updating resources.

FolderManager

Bases: BaseFolderManager, BaseSyncManager

Manager for folder resources.

change_handle(id_, new_handle, redirect=False)

Change the handle of a folder.

create(data)

Create a new folder.

get_crawler_view(id_)

Get the crawler view of a folder.

get_home_folder(detail=False)

Get the home folder.

publish(id_)

Publish a folder.

unpublish(id_)

Unpublish a folder.

update(id_, data)

Update an existing folder.