Skip to content

ndi.cloud.api.documents.update_document

  UPDATE_DOCUMENT - update a document

  RESPONSE = ndi.cloud.api.documents.UPDATE_DOCUMENT(FILE_PATH, DATASET_ID, DOCUMENT_ID, DOCUMENT)

  Inputs:
    FILE_PATH - a string representing the file path
    DATASET_ID - a string representing the dataset id
    DOCUMENT_ID -  a string representing the document id
    DOCUMENT - a JSON object representing the updated version of the
    document

  Outputs:
    RESPONSE - the updated document summary