AnsweredAssumed Answered

How to search for a specific aspect/property?

Question asked by ocean800 on Jun 25, 2016
Latest reply on Jul 7, 2016 by afaust
Hi everyone! :)

So I'm looking to get a list of all checked out documents based on certain aspects, specifically cm:checkedOut. Basically, I want to search for all documents with the aspect cm:checkedOut and assume that that would be the list of all checked out documents.

I've been able to use cm:checkedOut and searched for checked out documents in the node browser, but I'm having a hard time finding a REST endpoint that will let me search for a certain aspect. The thing that I found so far is this CMIS endpoint:
Executes a CMIS query statement against the contents of the Repository.

GET /alfresco/service/cmis/query?q={q}&includeAllowableActions={includeAllowableActions?}&includeRelationships={includeRelationships?}&renditionFilter={renditionFilter?}&searchAllVersions={searchAllVersions?}&skipCount={skipCount?}&maxItems={maxItems?}

and I'm assuming I'd have to write a CMIS query something like this:

But I'm new to Alfresco and I honestly don't know if I can write a CMIS query to search for a particular aspect?

So my question is: is there a REST endpoint that will let me search for a specific aspect and do what I want to find? If it's relevant I'm using a .NET framework with C#.

Any help is greatly appreciated thanks!! :)