confluence.js icon indicating copy to clipboard operation
confluence.js copied to clipboard

Enhancement: add `data` property to `blogPost.createBlogPost`

Open MrRefactoring opened this issue 2 years ago • 0 comments

This issue tracks the need to enhance the blogPost.createBlogPost method by including a data property. The data property should have the following structure:

data: {
  spaceId: parameters.spaceId, // Required field of type string
  status: parameters.status, // Type: string
  title: parameters.title, // Type: string
  body: parameters.body, // Type: One of [BlogPostBodyWrite, BlogPostNestedBodyWrite]
}

PR should include also typings for spaceId, status, title, body

Reference:

For more context and detailed information, please refer to the Confluence REST API documentation.

MrRefactoring avatar Jun 30 '23 16:06 MrRefactoring