code: @GET
  	@Produces(MediaType.APPLICATION_JSON)
  	@Path("/shared")
  	@Description("Returns all shared alerts.")
  	public List<AlertDto> getSharedAlerts(@Context HttpServletRequest req,
  									@QueryParam("ownername") String ownerName,
  									@QueryParam("limit")  Integer limit){
  		PrincipalUser owner = null;
  		if(ownerName != null){
  			owner = userService.findUserByUsername(ownerName);
  			if(owner == null){
  				throw new WebApplicationException("Owner not found", Response.Status.NOT_FOUND);
  			}
  		}
  		List<Alert> result = getSharedAlertsObj(false, owner, limit);
  		return AlertDto.transformToDto(result);
  	}
docs: Returns the list of shared alerts
  
  @param   req        The HttpServlet request object. Cannot be null.
  @param   ownerName  Name of the owner. It is optional.
  @param   limit      The maximum number of results to return.
  
  @return  The list of alerts created by the user.