feed.writeServiceLink(baseUrl.toString(), repositoryId);
if (changeLogTokenHolder.getValue() != null) {
UrlBuilder nextLink = compileUrlBuilder(baseUrl, RESOURCE_CHANGES, null);
nextLink.addParameter(Constants.PARAM_CHANGE_LOG_TOKEN, changeLogTokenHolder.getValue());
nextLink.addParameter(Constants.PARAM_PROPERTIES, includeProperties);
nextLink.addParameter(Constants.PARAM_FILTER, filter);
nextLink.addParameter(Constants.PARAM_POLICY_IDS, includePolicyIds);
nextLink.addParameter(Constants.PARAM_ACL, includeAcl);
nextLink.addParameter(Constants.PARAM_MAX_ITEMS, maxItems);
feed.writeNextLink(nextLink.toString());