-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content type "blog post" #12
Comments
Hi @mzeis, I am glad that this package has been helpful to you. I would be happy if we could work on the BlogPost topic. AbstractContent has properties like Children, Ancestors which I don't think a BlogPost has. Maybe you can make a draft and we can see together what we can make of it. |
Hi @astepin, thank you for your response and detailing the next steps. To get things working, I created an internal fork with the mentioned changes, and this works for creating our type of blog post. I'll try to find time to create a draft for a proper integration - I cannot promise anything on the timeframe, unfortunately. Besides the mentioning of BlogPostBodyWrite and BlogPostNestedBodyWrite in the API, do you know of any more information from Atlassian for the concepts / usage etc. that would help us here? |
I don't really know the exact background and concepts behind the blogs yet. I haven't used this type of content yet. I'll probably have to catch up on that. There is also the normal content that you can create with the “blogpost” type. But apparently there is also a separate API just for blogposts. You have to check that first. The blogpost API is also only available in v2. https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-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\ContentBlogPost
which extends\CloudPlayDev\ConfluenceClient\Entity\AbstractContent
defining a$type
"blogpost" and extending the existing code which works withContentPage
andContentComment
classes so that is also can handle blog posts.Example usage code:
The text was updated successfully, but these errors were encountered: