I am writing a python script to get information about all the pages in my space in order to see what pages are no longer used and which ones I can delete. Is there an easy way in the REST API to see whether or not a page has content? I am not interested in getting the content itself, just looking at if there is something in the pages or not.
Unfortunately there's no check for this in the API. The only way I am aware of is to actually get the content and test if it is empty or not. It may seem wasteful, but Confluence can handle the traffic. You may not want to run it too often though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.