upload_info: Get an upload's information

Description Usage Arguments Value Examples

View source: R/upload-file-job.R

Description

Gets an upload's information that can be used to track the upload's progress. (Uploads are processed in a queue,

Usage

1
upload_info(zoltar_connection, upload_file_job_url)

Arguments

zoltar_connection

A 'ZoltarConnection' object as returned by new_connection

upload_file_job_url

URL of a job in zoltar_connection that was uploaded via upload_forecast

Value

A 'list' of upload information for the passed upload_file_job_url. it has these names: id, url, status, user, created_at, updated_at, failure_message, filename, input_json, output_json

Examples

1
2
3
4
## Not run: 
  the_upload_info <- upload_info(conn, "http://example.com/api/uploadfilejob/2/")

## End(Not run)

zoltr documentation built on April 17, 2020, 1:15 a.m.