String bookmarkId = BookmarkStore.getNewId();
BookmarkStore.getInstance().putBookmark(bookmarkId, bookmark);
SystemLinksBuilder entryLinksBuilder =
linkBuilders.createSystemLinksBuilder().subResource(bookmarkId);
SyndEntry entry = createEntry(bookmarkId, bookmark, entryLinksBuilder, uriInfo);
URI location = uriInfo.getAbsolutePathBuilder().segment(bookmarkId).build();
return Response.created(location).entity(entry).build();
}