Can someone please guide me the Java API configuration for Confluence.

Sandeep Boorla November 24, 2017

My task is to create and update Confluence pages using JAVA API. I have found the question related to them. But I couldn't find a question related to Configuration. As I am new to Confluence, Can someone please guide me or provide me the sample project file.

2 answers

2 votes
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 24, 2017
Sandeep Boorla November 26, 2017

Hi Boris, 

Thanks for the response. I have found these Links earlier. As I mentioned in the description, I found the documentation, questions for the Development/coding. I am looking specifically Configuration/Setup related things. 

Sorry that I am not looking for plugins development.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 27, 2017

The Java API is for writing add-ons or doing stuff inside Confluence.  It can't be used.  So "create and update Confluence pages using JAVA API" and "I am not looking for plugins development" are mutually exclusive.

What exactly are you trying to do here?  You said creating pages, but your last comment is about configuration.  Could you explain what you are trying to do?

Sandeep Boorla November 27, 2017

Hi Nic, Sorry for that. I am having Zero knowledge on Confluence.

My task is to Create and Update Confluence pages by using Code. Via Java coding or by making REST calls.

I have found the questions for REST API coding part. Please check below links.

https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-create-page-using-JAVA-API/qaq-p/559754

https://bitbucket.org/jaysee00/confluence-rest-api-example/src/99cee347f6630fe0937538fc3902dcf2e9cd5037/src/main/java/com/atlassian/api/examples/Main.java?at=master&fileviewer=file-view-default&_ga=2.195516069.845048572.1511517416-1109847124.1509446058 

 

But to make use of this links and start my work, I should have the proper setup/configuration. So I would like to know what kind of project I should create, what are the required libraries/jars, and setup related things.

Please let me know if this is clear or I should get clear idea. :P

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events