Skip to content

ndi.cloud.datasets.get_files

  GET_FILES - get an upload URL for an artifact file that will be published
  to the NDI Cloud

  [STATUS,RESPONSE,URL] = ndi.cloud.datasets.get_files(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