Skip to content

ndi.cloud.files.get_files_raw

  GET_FILES_RAW - get an upload URL for a raw data file that will be
  published to AWS Open Data after review

  [STATUS,RESPONSE,UPLOAD_URL] = ndi.cloud.files.get_files_raw(DATASET_ID, UID, AUTH_TOKEN)

  Inputs:
    DATASET_ID - a string representing the dataset id
    UID -  a string representing the unique identifier that can be used to
    reference the file in document
    AUTH_TOKEN - a string representing the authentification token

  Outputs:
    STATUS - did get request work? 1 for no, 0 for yes
    RESPONSE - the upload summary
    UPLOAD_URL - the upload URL to put the file to