v1

latestOpenAPI 3.0.02026-07-2482421001.1 KB
File Commands

Upgrade a document

Change the processing type of a <glossary:Document> from Classify to Instant, or from Instant to Complete.

post/v1/document/upgrade

Request body

doc_pkstring

The <glossary:PK> of the <glossary:Document> that will be upgraded. Mutually exclusive with doc_uuid.

doc_uuidstring

The universal unique identifier of the <glossary:Document> that will be upgraded. Mutually exclusive with doc_pk.

upgrade_typestring

The type of processing to upgrade the <glossary:Document> to. (INSTANT/COMPLETE)

Response

Success

statusinteger

A numerical code that indicates the status of the request.

Example response

{
  "status": 200
}