Alright, so I know I've seen this asked before. But all the responses seem to be for DC and not for cloud. I have created a couple drafts by accident (clicking + when I want to copy a page, for instance) and then closing the new page.
What has happened is then the parent page gets a nice little arrow like there's content below it but when I click the down arrow... nothing. When I go to DRAFTS... nothing. How do I find and delete draft pages in Confluence Cloud? The side arrow is really impacting my OCD even though I'm pretty sure no one else sees it but me...
TIA
Ed
Hello @[deleted] ,
If you cannt see drafts in https://YOUR_SITE.atlassian.net/wiki/home/drafts, you can ytry REST API:
You can get the with 'status' query parameter, as:
https://YOUR_SITE.atlassian.net/wiki/rest/api/content?status=draft
The same for space or branch level.
And after that you can send DELETE request by the draft id to delete it.
Hi @Andrii Maliuta!
Could you please advise if this REST API method (content?status=draft) still returns only my personal drafts? When do the call in Postman app it seems that I get only list of my drafts as I use Basic Auth with my credentials...
Is there a way to get drafts for all users or this is not possible via Postman and some sort if user impersonation is needed?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Anton Kozhin ,
Yes, looks like currently for Cloud Confluence in Rest API v1 the ``` content?status=draft ``` returns just current user drafts, but I suppose it is possible to first get the list of pages for the definite author and then get drafts for these page IDs.
E.g.:
1. Use CQL to get some user's pages:
2. Loop through the IDs of the returned pages :
https://INSTANCE.atlassian.net/wiki/rest/api/content/{PAGE_ID}?status=draft
Documents:
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.