Confluence REST API acting like Waldo

My confluence instance does NOT use the Context "confluence"

 

I made sure that XML RPC was enabled in my administration console, however this URL does not work:

 

I tried this on the command line and in a browser tab where I had logged in to confluence.  I am using Confluence 5.0.3.  Please help.

 

Thank you for your time.

2 answers

0 votes
Stephen Deutsch Community Champion Aug 25, 2015

Hi Joseph,

Unfortunately you are trying to use the new REST API, which is only active in Confluence 5.5 or higher.  You will instead have to use the prototype REST API as documented here: https://docs.atlassian.com/confluence/REST/5.0.3/

The proper URL to get what you want then would be similar to: http://myhost.com:8080/confluence/rest/prototype/1/content/123456789

Be aware that the prototype REST API is read only.  If you want to do write functions, you will have to use the XML-RPC API, which is a little different.

Thanks Stephen!  This was helpful.  I modified my URL based off of your comment and I was able to perform a REST call using this: http://myhost.com/rest/prototype/1/content/123456789

I will take a look at the XML-RPC API.  On a side note, did you ever work for a company called Avega (name sound familiar)?

Stephen Deutsch Community Champion Aug 25, 2015

No, I never did, and it doesn't really sound familiar... sorry :(

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 09, 2018 in Confluence

Introducing Praecipio Consulting, an Atlassian Solution Partner

Hey there Community!  My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...

369 views 0 9
Read article

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