confluence.js
confluence.js copied to clipboard
Enhancement: add `data` property to `customContent.createCustomContent`
This issue tracks the need to enhance the customContent.createCustomContent method by including a data property. The data property should have the following structure:
data: {
type: parameters.type, // Required field of type string
status: parameters.status, // Optional field of type string
spaceId: parameters.spaceId, // Optional field of type string
pageId: parameters.pageId, // Optional field of type string
blogPostId: parameters.blogPostId, // Optional field of type string
customContentId: parameters.customContentId, // Optional field of type string
title: parameters.title, // Required field of type string
body: parameters.body, // Required field one of [CustomContentBodyWrite, CustomContentNestedBodyWrite] type
}
PR should include also typings for type, status, spaceId, pageId, blogPostId, customContentId, title, body
Reference: For more context and detailed information, please refer to the Confluence REST API documentation.