Hi Team,
I am using the free trail version for confluence.
I create a multiple pages & blogs.
I am trying to get the page details through http api service("http://karthicksivan.atlassian.net/confluence/rest/api/content?type=page&spaceKey=TECHGLOBAL&title=Testingwithslack&expand=space,body.view,version,container").
Finally i got the response details only in html page. Refer the attachment in below the screenshot.
If you have any solutions., please do share..
Hi,
I have a similar question, can we use Wiki REST API to get all pages which are created in last 24 hours in a given Space Key.
Please suggest.
Regards
Shradha
Hello,
It looks like the page you're getting is for Jira Service Desk rather than the Confluence REST endpoint - see the page title "Service Desk"
Try using this URL instead:
I get the following which appears to be much more healthy considering I cannot authenticate against your site:
{"statusCode":403,"data":{"authorized":false,"valid":true,"errors":[],"successful":false},"message":"Not permitted to use confluence"}
I've used Postman to do something very similar and get JSON returned:
Here's how it's represented as a CURL:
curl -X GET \
'https://dvdsmpsn.atlassian.net/wiki/rest/api/content?type=page&title=Configuration&spaceKey=analytics&expand=space,body.view,version,container' \
-H 'Authorization: Basic *******' \
-H 'Content-Type: application/json' \
-H 'Cache-Control: no-cache'
I've hidden my auth string, sorry ;)
Some things that I particularly notice:
Also note, that this page is open access, so the REST API can be accessed at...
https://dvdsmpsn.atlassian.net/wiki/rest/api/content?type=page&title=Configuration&spaceKey=analytics&expand=space,body.view,version,container
...if you want to test things out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.