Learn R Programming

sbgr (version 1.0.0)

upload_info_part: Returns AWS S3 signed URL for a part of the file upload

Description

Gets the signed URL for the upload of the specified part. Note that URLs are valid for 60 seconds only and that you should initiate upload to the signed URL in this time frame.

Usage

upload_info_part(auth_token = NULL, upload_id = NULL, part_number = NULL, ...)

Arguments

auth_token
auth token
upload_id
ID of the upload
part_number
Number of the upload file part that you wish to access
...
parameters passed to sbgapi function

Value

parsed list of the returned json

Examples

Run this code
token = '420b4672ebfc43bab48dc0d18a32fb6f'
req = upload_info_part(token,
                upload_id = 'aVluXRqSX2bse6va3AFFgVAppOCQ9IABeA8HnyyiEw85j6pNyV989H4xvJpr53xa',
                part_number = 1)

Run the code above in your browser using DataLab