- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2025 09:57 AM
Hello
I am using Alfresco Community 7.3 from an external client with the REST API. I can't find how to make a REST query to retrieve a list of documents from the Trashcan by filtering on aspects. Unless I'm mistaken, alfresco/api/-default-/public/alfresco/versions/1/deleted-nodes does not allow it.
Thanks for your help
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 05:47 AM
Here the solution if someone need it
https://spelddp-ged-admin-test.lausanne.ch/alfresco/api/-default-/public/search/versions/1/search
{
"query": {
"language": "afts",
"userQuery": "admin",
"query": " +TYPE:\"cm:content\" AND monaspect:author:\"moi\" "
},
"include": [ "properties" ],
"includeRequest": false,
"scope": { "locations": ["deleted-nodes" ]}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-06-2025 03:50 AM
I've same issue , i would like filter in trashcan with aspect value using rest api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2025 05:47 AM
Here the solution if someone need it
https://spelddp-ged-admin-test.lausanne.ch/alfresco/api/-default-/public/search/versions/1/search
{
"query": {
"language": "afts",
"userQuery": "admin",
"query": " +TYPE:\"cm:content\" AND monaspect:author:\"moi\" "
},
"include": [ "properties" ],
"includeRequest": false,
"scope": { "locations": ["deleted-nodes" ]}
}
