Skip to contents

Databricks Request Helper

Usage

db_request(endpoint, method, version = NULL, body = NULL, host, token, ...)

Arguments

endpoint

Databricks REST API Endpoint

method

Passed to httr2::req_method()

version

String, API version of endpoint. E.g. 2.0.

body

Named list, passed to httr2::req_body_json().

host

Databricks host, defaults to db_host().

token

Databricks token, defaults to db_token().

...

Parameters passed on to httr2::req_body_json() when body is not NULL.

Value

request

See also