POST /documents/upload
, and pay attention to the following fields:type
:documents
: sub document list of collection, which only returns for collectioncurl --location --request GET 'https://dev.your-api-server.com/documents/'
{
"id": "string",
"status": 1,
"name": "string",
"created_at": 0,
"type": "collection",
"documents": [
{
"id": "string",
"status": 1,
"name": "string",
"created_at": 0,
"type": "collection"
}
],
"error_msg": {
"error_code": 0,
"error_msg": "string",
"page_num": 0,
"ocr_page_num": 0
},
"ocr_type": "disable"
}