extracted.curl --location '/api/v1/documents//file/commit' \
--header 'If-Match;' \
--header 'Idempotency-Key;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"type": "application/pdf",
"length": 1,
"uploadId": "string"
}'{
"id": "doc_Ab3dEf6hIj9kLm0n",
"title": "string",
"language": "en",
"revision": 0,
"contentType": "text/plain",
"contentLength": 0,
"contentSha256": "string",
"file": {
"name": "string",
"type": "application/pdf",
"length": 0
},
"owner": "user:3f2b…",
"access": "owner",
"source": "api",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"extracted": {
"characters": 0,
"method": "text"
}
}