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

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

This widget could not be displayed.

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
Posted Sep 17, 2018 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...

540 views 7 6
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