Code 404: No message available while accessing through REST API

Oyindrila Bhattacharjee October 16, 2018

I am trying to GET Space Page details of my Confluence Space which is created in my Confluence-Server , using REST API from DellBoomi

http://localhost:8090/confluence/rest/api/space/JG/content

Space Key : JG

Page: Test Page

I have given Basic Authentication (username and password)

But getting the below error:

Error message received from Http Server, Code 404: No message available

 

Please can anybody suggest if I am missing anything in configuration or what.

 

PFA Connection Details and Operation Details configured in Dell Boomi and Confluence Space

 

Please let me know what more details required.

Confluence space.png

Confluence Local Connection.pngConfluence Local Operation.png

2 answers

1 accepted

0 votes
Answer accepted
Oyindrila Bhattacharjee October 16, 2018

I did some more research and found out The Rest URL to access Page Details with comments is below

http://localhost:8090/rest/api/content/65609/child/comment?expand=body.view 

 where 65609 is the Page ID.

 

How to fetch page Id (https://confluence.atlassian.com/confkb/how-to-get-confluence-page-id-648380445.html )

0 votes
Santwana Sarangi {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 16, 2018

Hi Oyindrila,

 

From the screenshot of the Test Page, it looks like there is no context path in your base url. The URL to access Test Page is http://localhost:8090/display/JG/Test+Page whereas the rest url is http://localhost:8090/confluence/rest/api/space/JG/content.

 

Please remove the /confluence from the rest url and your rest call will work.

Thanks,

Santwana 

Oyindrila Bhattacharjee October 16, 2018

Hi,

Thanks for your Response.

I need Rest URL, the Rest URL suggested by you didnt work

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events