How to retrieve version information of Confluence/Crowd with REST API ?

With Jira and bitbucket, you can get version information with rest API. But I can't find how to do with Confluence or Crowd.

Thanks for any tips,

N. Bauland

2 answers

0 votes
Stephen Deutsch Community Champion Jan 19, 2018

It's not exactly a REST API, but for Confluence you can do a POST request to /rpc/json-rpc/confluenceservice-v2/getServerInfo and get the version information.

I am not aware of any API call for Crowd that returns the version number.

Thanks for reply but I'm looking for REST API since RPC seems to be deprecated.

0 votes
Bruno Vincent Community Champion Jan 20, 2018

Hi @Nicolas Bauland

You will find Crowd server version in the X-Embedded-Crowd-Version response header that is set by Crowd after any successful REST request. For instance, if you run

curl -u 'test:password' -I 'http://localhost:8095/crowd/rest/usermanagement/1/config/cookie'

You will get something like

HTTP/1.1 200 OK

X-Embedded-Crowd-Version: Crowd/3.1.2

X-Crowd-User-Management-Version: 1.4

[...]

Date: Sat, 20 Jan 2018 15:20:13 GMT

As far as I know, there is nothing similar for Confluence Server. You might want to vote for this open feature request: https://jira.atlassian.com/browse/CONFSERVER-43007

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,088 views 17 14
Join discussion

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