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

This widget could not be displayed.
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.

This widget could not be displayed.
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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

285 views 2 4
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