AnsweredAssumed Answered

How to get all children for a node with negative condition like where=(nodeType!='email')

Question asked by rsurya037 on Jun 26, 2019
Latest reply on Jun 26, 2019 by afaust

How to get all children for a node with negative condition like where=(nodeType!='email')

 

GET /nodes/{nodeId}/children  (this is the endpoint that am using from alfresco api explorer)

 

For example if we have 3 different nodeTypes(folder, document, email)
how to get the folders and document in a single rest call

http://alfresco.dev.com/alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children?relativePath='path'&skipCount=0&maxItems=40&include=isLocked&where=(nodeType='folder')

 

do we have any option like either nodeType in ('folder', 'document')  or nodeType!='email'

 

Can any one help me on this.

Outcomes