Skip to content

ndi.cloud.datasets.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,URL] = ndi.cloud.datasets.get_files_raw(DATASET_ID, UID, AUTH_TOKEN)

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

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