I am new Confluence Cloud user. I have created some Confluence pages manually and now want to use the REST API to create pages programmatically using Java.
I created a java client using the JAXRS framework. So far, I am able to interface with the REST API and receive JSON responses.
I am looking for documentation on how to (1) deserialize the JSON responses and (2) serialize JSON POST requests -- using java.
I have only been able to find examples that use the JSONObject class (https://stackoverflow.com/questions/24504631/how-to-update-a-page-in-confluence-5-5-1-via-rest-call).
I would expect that the API request and response objects would have related Java classes (models) that can be serialized and deserialized using the Jackson or similar JSON library.
Where is the Maven repo that contains these models? And where is the related Javadoc? Is there other documentation?
Thanks in advance for your assistance.
Hi @Bruce Wilcox, I am now facing the same problem as there is no official Confluence client library available(?). May I ask how you solved your problem?
Thank you very much!
I have not been able to find a solution.
And I am disappointed that a paid product only provides community support. I am not aware of a way to escalate this request to Atlassian themselves.
If you are able to get an answer, please let me know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.