Hi, first: thank you a lot for providing this package!
I was wondering if you would accept a PR for adding the ability to create blog posts?
From a quick test, I could post a blog to Confluence Cloud by creating a class \CloudPlayDev\ConfluenceClient\Entity\ContentBlogPost which extends \CloudPlayDev\ConfluenceClient\Entity\AbstractContent defining a $type "blogpost" and extending the existing code which works with ContentPage and ContentComment classes so that is also can handle blog posts.
Example usage code:
$confluenceClient = new ConfluenceClient($confluenceHost);
$confluenceClient->authenticateBasicAuth($confluenceUser, $confluenceToken);
$post = new ContentBlogPost();
$post->setSpace($space);
$post->setTitle($title);
$post->setContent($content);
$result = $confluenceClient->content()->create($post);
Hi, first: thank you a lot for providing this package!
I was wondering if you would accept a PR for adding the ability to create blog posts?
From a quick test, I could post a blog to Confluence Cloud by creating a class
\CloudPlayDev\ConfluenceClient\Entity\ContentBlogPostwhich extends\CloudPlayDev\ConfluenceClient\Entity\AbstractContentdefining a$type"blogpost" and extending the existing code which works withContentPageandContentCommentclasses so that is also can handle blog posts.Example usage code: