Hello everybody.
I want to retreive a pages tree from confluence by it's REST API: https://docs.atlassian.com/atlassian-confluence/REST/latest/
We have this command there:
/rest/api/space/{spaceKey}/content/{type} Parameters: depth string Default: all a string indicating if all content, or just the root content of the space is returned. Default value: all. Valid values: all, root.
But, when I try it, i'm getting a server error:
https://my.atlassian.net/wiki/rest/api/space/INTRANET/content/page?depth=root
{"statusCode":500,"message":"java.lang.IllegalArgumentException: Unrecognised Depth string: ROOT"}
With depth=all everything is OK.
What am I doing wrong? Is it a bug? Is there another method to get the root of pages tree?
Thanks.
Hi Alex,
I just replicated that, so I created a bug report for it: https://jira.atlassian.com/browse/CRA-479
Please add yourself as a watcher to be notified of future updates.
Cheers,
Clarissa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.