Optional parameters when listing the children of a folder
The getChildren
service call allows us to specify a number of optional parameters at request time. To control the number of content items that are being returned, one can use the following parameters in the request URL:
maxItems
: This is the maximum number of items to return in a response. The default is repository-specific and Alfresco will, for example, return all content items if you do not specify this parameter.skipCount
: This is the number of potential results that the repository will skip/page over before returning any results. This defaults to zero.
These paging input parameters work in parallel with the following output parameters in the response:
hasMoreItems
: This parameter will betrue
if the repository contains additional items after those contained in the response, otherwise it will befalse
. Iftrue
, a request with a largerskipCount
or largermaxItems
will return additional results (unless the contents of the repository...