-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Core - Content REST APIs
-
None
-
2
-
4
Problem
The current set of REST APIs does not include a method to obtain attachments in trash for a given space/page/
Suggested Solution
IT would be practical to have a api exposed to obtain attachments present in Trash for a given space/page. We do have a api, which can display attachments from a page before it is deleted.
http://localhost:8090/rest/api/content/5177348/child/attachment?expand=status
We also have apis to display other contents from trash, but not attachments.
Why This Is Important
For any customers looking to automate the process of deletion and validation before clearing cache, this api call might prove vital.
Workaround
The only possible method right now would be to check this via the UI