public void updateConverts ( String [ ] profiles ) throws PiliException { String path = baseUrl + "/converts" ; String json = gson . toJson ( new ConvertsOptions ( profiles ) ) ; try { cli . callWithJson ( path , json ) ; } catch ( PiliException e ) { throw e ; } catch ( Exception e ) { throw new PiliException ( e ) ; } }
update convert configs