Confluence APIs XML-RPC or SOAP REST documentation.

Joao A September 19, 2014

Hi,

We are using Confluence 5.2.3 version and we are not clear about documentation to use. We need to hare with developers to create some custom app and scripts to use this APIs available in Confluence

For REST available methods I should use this url https://docs.atlassian.com/confluence/REST/5.2/ ? If yes, on this version only GETS are available? In the top is referring "Your methods will be the standard HTTP methods like GET, PUT, POST and DELETE." 

 

And for XML-RPC or SOAP where to get documentation and Hints to be used on 5.2.3.

 

Many thanks in advance.

 

3 answers

0 votes
Stephen Deutsch
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.
September 21, 2014

Confluence updated its REST API to use commands other than get in version 5.5.  If you are using a lower version, then you will only have access to the prototype REST interface, which is only GET.

For XML-RPC (or JSON-RPC), you can find the methods and data types here:

https://developer.atlassian.com/display/CONFDEV/Remote+Confluence+Methods

https://developer.atlassian.com/display/CONFDEV/Remote+Confluence+Data+Objects

Here's a quick example how to login and get the token that you need for validation (the example is in python):

https://ecosystem.atlassian.net/wiki/display/BLOG/XML-RPC+Page+Updater+Example

Other than that, there is no particular advice for 5.2, it should be similar to all 5.x versions.

Hope that helps...

0 votes
Davin Studer
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.
September 19, 2014

Yeah, the API documentation leaves some to be desired. It's pretty confusing.

0 votes
Mehmet Kazgan
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.
September 19, 2014

What is your goal using these methods high level?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events