3 weeks ago
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
3 weeks ago
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" ]}
}
3 weeks ago
I've same issue , i would like filter in trashcan with aspect value using rest api
3 weeks ago
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" ]}
}
Explore our Alfresco products with the links below. Use labels to filter content by product module.