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

Confluence REST API acting like Waldo

joseph nguyen Aug 25, 2015

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 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.

0 votes
joseph nguyen Aug 25, 2015

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

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

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