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
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.