I'm trying out the example here to read a page of our doc from Confluence, but it gives me every page in the entire space, not just the page I want. What am I doing wrong? Here's my url:
http://mysite.com/confluence/rest/api/content?type=page&spaceKey=MYSPACEKEY&Title=My+Page&expand=body.view
In the URL Title should be title. It is case sensitive.
Thank you. The example I used shows it as uppercase, but the second example and the rest of the doc does in fact show it as lower. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you're an Atlassian employee looking at this mind fixing the typo?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used the correct case and it still returns all pages up to a limit, and that limit does not capture the page that I need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Could you try the command below and let us know if it works?
curl -u admin:atlassian http://192.168.213.129:8090/confluence/rest/api/content/2457602?expand=body.storage | python -mjson.tool
You can get more examples on this link.
Regards,
Renato Rudnicki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The example code in the documentation has a capital "T" for "title". I fixed that in my code and it works great now. Thanks.
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.