Can I use the Confluence SDK to write my Java client application (not a plugin)?

Hi All,

I need to write a tool that list all the users and all the documents of my company on Confluence. If I us the REST API, I need to do the parsing of the Json objects which is easy to make mistake. Can I use the Java Confluence SDK to do the task instead?


I understand that you would like to use classes from Confluence’s Java API (PageManager, SpaceManager, etc) to access Confluence objects from an external Java application?

I don’t think that’s possible.

But even without the Java API, you don’t have to start from scratch when it comes to parsing JSON responses retrieved via Confluence’s REST API.

Java libraries like Google’s gson and http clients like apache’s httpclient-fluent should get you going.

1 Like