Does SOAP and XML RPC APIs still work in Confluence 5.5+ versions?

Rahul Aich [Nagra]
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.
August 23, 2016

Hi All

I saw that Atlassian planned to deprecate the SOAP and XML RPC APIs from Version 5.5+. (see link below)

https://developer.atlassian.com/confdev/deprecated-apis/confluence-xml-rpc-and-soap-apis/remote-confluence-methods

Does this mean we cannot use the APIs on 5.5+ OR

Does it mean that the interfaces are unsupported in 5.5+.?

Has anyone used SOAP and XML RPC on version 5.5+?

Rahul

1 answer

1 accepted

1 vote
Answer accepted
Alex Yasurek
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.
August 24, 2016

Hi,

They still work. I use XML-rpc and JSON-rpc all the time on Confluence 5.7 and 5.10.

All they are saying is that they will not upgrade those APIs anymore but they will still continue to work. If you can, you should use the REST api since they update those but if not, you can still use those older APIs and they will still work. I used the XML-rpc a lot because at the time when I was creating scripts the REST api was not as good, but now they have updated it and you can do pretty much the same thing with all of them. I haven't updated any of my scripts to use the REST API though so they all still use the rpc api and work fine.

 

 

 

Rahul Aich [Nagra]
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.
August 24, 2016

Thanks Alex...that helps

Bill Bailey
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.
August 24, 2016

Just wanted to let you know that they still work – another data point. But work on converting your scripts.

Bipin Nepal October 15, 2022

@Alex Yasurekmy eand goal is to  update usernames in bulk in confluence , how to do this via xml-rpc/json-rpc , i looked the documentation but couldnt do it, i want to do it via bash or script, can you please share how to do it ?

Alex Yasurek October 17, 2022

Check out the User Management methods here: https://developer.atlassian.com/server/confluence/remote-confluence-methods/

I think specifically you will need to use: 

  • boolean editUser(String token, RemoteUser remoteUser) - edits the details of a user

I dont believe you can do it in bulk though and will need to update each user one at a time

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events