Rest client API