public List<Alert> getAlertsMeta(boolean includeSharedAlerts) throws IOException, TokenExpiredException {
    	String requestUrl = RESOURCE + "/meta?shared=" + includeSharedAlerts;
        ArgusResponse response = getClient().executeHttpRequest(ArgusHttpClient.RequestType.GET, requestUrl, null);

        assertValidResponse(response, requestUrl);
        return fromJson(response.getResult(), new TypeReference<List<Alert>>() { });
    }
public List < Alert > getAlertsMeta ( boolean includeSharedAlerts ) throws IOException , TokenExpiredException { String requestUrl = RESOURCE + "/meta?shared=" + includeSharedAlerts ; ArgusResponse response = getClient ( ) . executeHttpRequest ( ArgusHttpClient . RequestType . GET , requestUrl , null ) ; assertValidResponse ( response , requestUrl ) ; return fromJson ( response . getResult ( ) , new TypeReference < List < Alert > > ( ) { } ) ; }
Returns all alerts via the meta endpoint.

@param   includeSharedAlerts  flag for shared alerts

@return  The list of alerts. Will never be null, but may be empty.

@throws  IOException  If the server cannot be reached.
@throws  TokenExpiredException   If the token sent along with the request has expired