How to Use REST API to List Items in the Trash Can

How to Use REST API to List Items in the Trash Can

AuthorFullName__c
Vignesh Surendrababu
articleNumber
000003909
ft:sourceType
Salesforce
FirstPublishedDate
2017-06-15T23:48:07Z
lastModifiedDate
2024-03-10T07:46:25Z
VersionNumber
8

You can list the contents of your Trash Can repository by specifying the repo name as auto-trashcan in the File List REST API call or with AQL

Example:
$ curl -u admin:password "http://localhost:8081/artifactory/api/storage/auto-trashcan"