Gets a job's information that can be used to track the job's progress. Jobs represent long-running asynchronous activities like uploading a file (e.g., a forecast or truth) or running a query.

job_info(zoltar_connection, job_url)

Arguments

zoltar_connection

A ZoltarConnection object as returned by new_connection()

job_url

URL of a valid job in zoltar_connection

Value

A list of job information for the passed job_url. it has these names: id, url, status, user, created_at, updated_at, failure_message, input_json, output_json

Examples

if (FALSE) {
  the_job_info <- job_info(conn, "http://example.com/api/job/2/")
}