confluence.js
confluence.js copied to clipboard
Enhancement: add `data` property to `customContent.updateCustomContent`
This issue tracks the need to enhance the customContent.updateCustomContent method by including a data property. The data property should have the following structure:
data: {
id: paramerters.id, // Required field of type string
type: parameters.type, // Required field of type string
status: parameters.status, // Required 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
version: parameters.version, // Required object with `{ number: number, message: string }` properties
}
PR should include also typings for id
, type
, status
, spaceId
, pageId
, blogPostId
, customContentId
, title
, body
, version
Reference: For more context and detailed information, please refer to the Confluence REST API documentation.