Skip to contents

Send GET request to get batch job statuses

Usage

abba_get_batch_status(
  batch_id,
  api_address = Sys.getenv("ABBA_API_ADDRESS"),
  api_key = Sys.getenv("ABBA_API_KEY")
)

Arguments

batch_id

batch ID to get status for

api_address

URL to send requests to, hosted in Posit Connect. Defaults to environment variable ABBA_API_ADDRESS.

api_key

API Key for accessing restricted endpoints. Defaults to environment variable ABBA_API_KEY

Value

body of request`s response in a list format

Examples

if (FALSE) { # \dontrun{
response <- abba_get_batch_status('1234j-13j4l5k-ajslfd')} # }