public JsonNode wbRemoveClaims ( List < String > statementIds , boolean bot , long baserevid , String summary ) throws IOException , MediaWikiApiErrorException { Validate . notNull ( statementIds , "statementIds parameter cannot be null when deleting statements" ) ; Validate . notEmpty ( statementIds , "statement ids to delete must be non-empty when deleting statements" ) ; Validate . isTrue ( statementIds . size ( ) <= 50 , "At most 50 statements can be deleted at once" ) ; Map < String , String > parameters = new HashMap < String , String > ( ) ; parameters . put ( "claim" , String . join ( "|" , statementIds ) ) ; return performAPIAction ( "wbremoveclaims" , null , null , null , null , parameters , summary , baserevid , bot ) ; }
Executes the API action wbremoveclaims for the given parameters .