blog
konigle.managers.website.blog
¶
Blog managers for the Konigle SDK.
This module provides managers for blog resources, enabling blog post content management and operations.
AsyncBlogManager
¶
Bases: BaseBlogManager, BaseAsyncManager
Async manager for blog resources.
change_handle(id_, new_handle, redirect=False)
async
¶
Change the handle of a blog post.
create(data)
async
¶
Create a new blog post.
get_crawler_view(id_)
async
¶
Get the crawler view of a blog post.
publish(id_)
async
¶
Publish a blog post.
unpublish(id_)
async
¶
Unpublish a blog post.
update(id_, data)
async
¶
Update an existing blog post.
BaseBlogManager
¶
base_path = '/admin/api/blogs'
class-attribute
instance-attribute
¶
The API base path for this resource type.
resource_class = Blog
class-attribute
instance-attribute
¶
The resource model class this manager handles.
resource_update_class = BlogUpdate
class-attribute
instance-attribute
¶
The model class used for updating resources.
BlogManager
¶
Bases: BaseBlogManager, BaseSyncManager
Manager for blog resources.
change_handle(id_, new_handle, redirect=False)
¶
Change the handle of a blog post.
create(data)
¶
Create a new blog post.
get_crawler_view(id_)
¶
Get the crawler view of a blog post.
publish(id_)
¶
Publish a blog post.
unpublish(id_)
¶
Unpublish a blog post.
update(id_, data)
¶
Update an existing blog post.