It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

101 views 0 10
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