Open dr-sin opened 3 years ago
Hi! Thanks for your request. I think the blog_post_exists() it's better for now, as we have already page_exists(). After we can evaluate the content_exists() with any type parameters and wrap into 2 methods.
Cheers. Gonchik Tsymzhitov
+1
Hi, first time posting here. Apologies if I should have raised this as a feature request, but I'm not aware of the proper forum, and developer.atlassian.com didn't seem like the right place...
Confluence REST API seems to support searching a space by the title of a blogpost, but requires 'type=blogpost' explicitly passed. Method confluence.page_exists() does not take type/content_type as an argument. I'm assuming this is because the name of the method implies the type, page.
So, my real question is: Is there interest in adding a way to find a blogpost, by title, in a given space? And if so, would you prefer new methods blogpost_exists() and get_blogpost_by_title() be created, or is it more appropriate to add type/content_type arguments to the existing page_exists() and get_page_by_title() methods?
I've tested the latter of the two with success. Thanks for your time,
-Cezar