// get parameters
String folderId = (String) context.get(CONTEXT_OBJECT_ID);
String filter = getStringParameter(request, PARAM_FILTER);
String orderBy = getStringParameter(request, PARAM_ORDER_BY);
Boolean includeAllowableActions = getBooleanParameter(request, PARAM_ALLOWABLE_ACTIONS);
IncludeRelationships includeRelationships = getEnumParameter(request, PARAM_RELATIONSHIPS,
IncludeRelationships.class);
String renditionFilter = getStringParameter(request, PARAM_RENDITION_FILTER);
Boolean includePathSegment = getBooleanParameter(request, PARAM_PATH_SEGMENT);
BigInteger maxItems = getBigIntegerParameter(request, PARAM_MAX_ITEMS);
BigInteger skipCount = getBigIntegerParameter(request, PARAM_SKIP_COUNT);