new DocumentConversionV1(options)
Document Conversion service
Parameters:
| Name | Type | Description |
|---|---|---|
options |
- Source:
Methods
convert(params, callback)
One-off convert an attached document OR convert a previously uploaded document by ID
To convert a previously uploaded document, set params.document_id
Parameters:
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
||||||||||||||||||||
callback |
function |
- Source:
index(params, callback)
One-off convert and index a document via index_document API
NOTE: A SOLR cluster and search collection will have to be created through the Retrieve and Rank service prior to using this API if actual indexing is performed (dry_run=false).
Parameters:
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
Properties
|
||||||||||||||||
callback |
function |
- Source: