Recently I've been using Jira REST API through one of Atlassian libraries for java: com.atlassian.jira.jira-rest-client-api.jar - there are a lot of examples and quite good docs about how to use it.
Not I want to do the same with Confluence and I've found some libraries like: com.atlassian.confluence.confluence-rest-client.jar but I can't find any documentation and examples of how to use it in java apps.
Is this library quite similar in use to the jira's one? Can you give me some links to examples or documentation?
Any help will be appreciated:)
Many thanks, Marcin
I too am trying to update my cloud confluence pages by getting / posting to https://my-confluence-id.atlassian.net/wiki/rest/api with a Java client.
I am able to do the basics such as get my content in JSON format.
But I am expecting to see Java classes to facilitate JSON serialization and deserialization of the requests and responses. I see the Javadoc and the REST API but I don't see a reference to the maven repo that contains the relevant Java model files. Could you kindly post that URL?
I sincerely hope that you do not expect developers to build requests with JSONObjects and JSONArrays and parse the JSON responses with home grown code.
I think this is what you need. Unfortunately can't find any class such as com.atlassian.jira.rest.client.api.JiraRestClient but for Confluence. Tell me if you find something, please.
Calling all Confluence Cloud Admins! We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events