API başvurusu / Toplu işler
POST
Toplu işe dosya ekleyin
POST /v1/batches/{batch_id}/documentsAçık bir toplu işe dosya ekler (istek başına en çok 50 dosya ve 200 MB).
Parametreler
Açıklamalar sözleşmeden, İngilizce.
batch_idstringyolzorunluIdempotency-Keystringbaşlıkisteğe bağlıIdempotent-Replayed: true. Same key + different body returns 422 idempotency_conflict. Same key while the first request is still running returns 409 idempotency_in_progress. (draft-ietf-httpapi-idempotency-key-header-08)Sandbox-Scenarioenumbaşlıkisteğe bağlıer_test_ keys. Selects the fixed sample outcome. Ignored (and rejected with 400) on live keys.İstek gövdesi
multipart/form-data
filesstring[]zorunlumetadataobjectisteğe bağlıdocument_typeenumisteğe bağlıdocument_type for these files. If the detected type differs, the detected type wins (same as POST /v1/documents). Send it for images, which have no text layer to detect the type from.