create_folder

class sanhe_confluence_sdk.methods.folder.create_folder.CreateFolderRequestBodyParams(space_id: str = REQ, title: str = OPT, parent_id: str = OPT)[source]
class sanhe_confluence_sdk.methods.folder.create_folder.CreateFolderRequest(path_params: ~sanhe_confluence_sdk.methods.model.PathParams = <factory>, query_params: ~sanhe_confluence_sdk.methods.model.QueryParams = <factory>, body_params: ~sanhe_confluence_sdk.methods.folder.create_folder.CreateFolderRequestBodyParams = <factory>)[source]

See: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-folder/#api-folders-post

class sanhe_confluence_sdk.methods.folder.create_folder.CreateFolderResponseVersion(_raw_data: Dict[str, Any], _http_res: Response | None = None)[source]

Version schema.

property createdAt: str

Date and time when the version was created. ISO 8601 format.

property message: str

Message associated with the current version.

property number: int

The version number.

property minorEdit: bool

Describes if this version is a minor version.

property authorId: str

The account ID of the user who created this version.

FolderLinks schema.

property webui: str

Web UI link of the content.

class sanhe_confluence_sdk.methods.folder.create_folder.CreateFolderResponse(_raw_data: Dict[str, Any], _http_res: Response | None = None)[source]

FolderSingle schema - response for creating a folder.

property id: str

ID of the folder.

property type: str

The content type of the object.

property status: str

ContentStatus enum: current, draft, archived, historical, trashed, deleted.

property title: str

Title of the folder.

property parentId: str

ID of the parent content, or null if there is no parent.

property parentType: str

ParentContentType enum: page, whiteboard, database, embed, folder.

property position: int

Position of the folder within the parent tree.

property authorId: str

The account ID of the user who created this folder.

property ownerId: str

The account ID of the user who owns this folder.

property createdAt: str

Date and time when the folder was created. ISO 8601 format.

property spaceId: str

ID of the space the folder is in.