get https://api.chatdoc.com/api/v2/documents/
Get a document
Response:
Similar with POST /documents/upload
, and pay attention to the following fields:
-
type
:- collection: document collection
- single_doc: standalone document
- doc_of_collection: sub document of collection
-
documents
: sub document list of collection, which only returns for collection