def entity(dbname, id, params = {})
      version = params.fetch(:t, '-')
      get db_url(dbname, version, 'entity'), params.merge(:e => id)
    end
def entity(dbname, id, params = {})
      version = params.fetch(:t, '-')
      get db_url(dbname, version, 'entity'), params.merge(:e => id)
    end
params take any param in addition to following options:

 Options:
 * :t - Specifies version/time of db. Defaults to latest version