create_page

class sanhe_confluence_sdk.methods.page.create_page.CreatePageRequestQueryParams(embedded: bool = OPT, private: bool = OPT, root_level: bool = OPT)[source]
class sanhe_confluence_sdk.methods.page.create_page.CreatePageRequestBodyParams(space_id: str = REQ, status: str = OPT, title: str = OPT, parent_id: str = OPT, body: Dict[str, Any] = OPT, subtype: str = OPT)[source]
class sanhe_confluence_sdk.methods.page.create_page.CreatePageRequest(path_params: ~sanhe_confluence_sdk.methods.model.PathParams = <factory>, query_params: ~sanhe_confluence_sdk.methods.page.create_page.CreatePageRequestQueryParams = <factory>, body_params: ~sanhe_confluence_sdk.methods.page.create_page.CreatePageRequestBodyParams = <factory>)[source]

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

class sanhe_confluence_sdk.methods.page.create_page.CreatePageResponseBodyStorage(_raw_data: Dict[str, Any], _http_res: Response | None = None)[source]

BodyType schema for storage representation.

class sanhe_confluence_sdk.methods.page.create_page.CreatePageResponseBodyAtlasDocFormat(_raw_data: Dict[str, Any], _http_res: Response | None = None)[source]

BodyType schema for atlas_doc_format representation.

class sanhe_confluence_sdk.methods.page.create_page.CreatePageResponseBodyView(_raw_data: Dict[str, Any], _http_res: Response | None = None)[source]

BodyType schema for view representation.

class sanhe_confluence_sdk.methods.page.create_page.CreatePageResponseBody(_raw_data: Dict[str, Any], _http_res: Response | None = None)[source]

BodySingle schema - contains fields for each representation type.

class sanhe_confluence_sdk.methods.page.create_page.CreatePageResponseVersion(_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.

AbstractPageLinks schema.

property webui: str

Web UI link of the content.

property editui: str

Edit UI link of the content.

property tinyui: str

Tiny UI link of the content.

class sanhe_confluence_sdk.methods.page.create_page.CreatePageResponse(_raw_data: Dict[str, Any], _http_res: Response | None = None)[source]

PageSingle schema - response for creating a page.

property id: str

ID of the page.

property status: str

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

property title: str

Title of the page.

property spaceId: str

ID of the space the page is in.

property parentId: str

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

property parentType: str

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

property position: int

Position of child page within the given parent page tree.

property authorId: str

The account ID of the user who created this page originally.

property ownerId: str

The account ID of the user who owns this page.

property lastOwnerId: str

The account ID of the user who owned this page previously, or null.

property subtype: str

The subtype of the page.

property createdAt: str

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