Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to get the Server Information of Confluence with REST API


I am looking for a way to get basic server information like the baseUrl from Confluence with the help of the REST API.
Jira provides this information via: GET /rest/api/2/serverInfo

I could not find a way to do this with the REST API. Does it even exist?

Best regards

1 answer

1 accepted

0 votes
Answer accepted

I have found a workaround for all those who are interested in this:

One can use /rest/api/user/current to get information about the current user. With this a JSON in the following format will be reutrned:

{ "type": "known", "username": "jsmith", "userKey": "402880824ff933a4014ff9345d7c0002", "profilePicture": { "path": "/wiki/relative/avatar.png", "width": 48, "height": 48, "isDefault": true }, "displayName": "Joe Smith", "_links": { "base": "http://myhost:8080/confluence", "context": "/confluence", "self": "http://myhost:8080/confluence/rest/experimental/user?key=402880824ff933a4014ff9345d7c0002" }, "_expandable": { "status": "" } }

With this you can access _links and then base. Base will then represent your base URL. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

497 views 18 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you