Hi,
I am trying to access confluence page data using below rest api end point
https://xxxxxx.atlassian.net/rest/api/content?type=blogpost&start=0 &limit=10&expand=space,history,body.view,metadata.labels
using postman tool just to test what is the response.
I am getting 404 status code.
I have also tried
https://xxxxxx.atlassian.net/confluence/rest/api/content?type=blogpost&start=0 &limit=10&expand=space,history,body.view,metadata.labels
with response below:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status> <status-code>404</status-code> <message>null for uri: https://xxxxx.atlassian.net/rest/api/content?type=blogpost&start=0%20&limit=10&expand=space,history,body.view,metadata.labels</message></status>
.
Doesn't seems like with authentication issue.
Am i doing something wrong? Please advise.
Thanks.
Hi Harpreet,
Welcome to Atlassian Community. It's nice to meet you.
The 404 error means nothing exists at that location. Probably because you're not including "wiki" in the URL:
Confluence Cloud REST API Example GET
Example:
GET /wiki/rest/api/content
Make sure you're using the above documentation to build your queries accurately. Please note that you also do need to authenticate via the Postman tool in order to view pages that are not available publicly.
If you continue to have issues, please let me know the full call you're making and the response.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.