Skip to content

ndi.cloud.documents.get_documents

  GET_DOCUMENTS - get a document

  [STATUS,RESPONSE,DOCUMENT] = ndi.cloud.documents.get_documents(DATASET_ID, DOCUMENT_ID, AUTH_TOKEN)

  Inputs:
    DATASET_ID - a string representing the dataset id
    DOCUMENT_ID -  a string representing the document id
    AUTH_TOKEN - a string representing the authentification token

  Outputs:
    STATUS - did get request work? 1 for no, 0 for yes
    RESPONSE - the updated dataset summary
    DOCUMENT - A document object required by the user