This function is mostly for internal purposes, but may occasionally be useful for direct access to the backend H2O server. It has same parameters as :meth:H2OConnection.request <h2o.backend.H2OConnection.request>.

h2o.api(endpoint, params = NULL, json = NULL)

Arguments

endpoint

A H2O REST API endpoint.

params

A list of params passed in the url.

json

A list of params passed as a json payload.

Value

The parsed response.

Examples

if (FALSE) { # \dontrun{
res <- h2o.api("GET /3/NetworkTest")
res$table
} # }