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

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

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

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?

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
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,202 views 4 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you