public List < Audit > getAuditsForEntity ( BigInteger entityId ) throws IOException , TokenExpiredException { String requestUrl = RESOURCE + "/entity/" + entityId . toString ( ) ; ArgusResponse response = getClient ( ) . executeHttpRequest ( ArgusHttpClient . RequestType . GET , requestUrl , null ) ; assertValidResponse ( response , requestUrl ) ; return fromJson ( response . getResult ( ) , new TypeReference < List < Audit > > ( ) { } ) ; }
Returns the audit history for the given entity .