IBMWatsonDocumentConversion

FREE
By serg.osipchuk
Updated 10 months ago
Business Software
-/10
Popularity
-
Latency
-
Success Rate

IBMWatsonDocumentConversion API Documentation

Convert a document into HTML, text or a set of JSON answers.

View API Details
POSTconvertHtmlToJsonUnits
POSTconvertHtmlToNormalizedHTML
POSTconvertHtmlToPlainText
POSTconvertMicrosoftWordToJsonUnits
POSTconvertMicrosoftWordToNormalizedHTML
POSTconvertMicrosoftWordToPlainText
POSTconvertPDFToJsonUnits
POSTconvertPDFToNormalizedHTML
POSTconvertPDFToPlainText
POSTindexDocument
POSTindexExternalMetadata
POSTconvertHtmlToJsonUnits

Converts a html document to JSON answer units.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
fileFILE
REQUIREDThe `html` file to convert. Maximum file size is 50 MB.
passwordCREDENTIALS
REQUIREDPassword obtained from IBM Bluemix.
usernameCREDENTIALS
REQUIREDUsername obtained from IBM Bluemix.
Optional Parameters
selectorTagsLIST
OPTIONALJSON Array. Defines the heading level that splits into answer units. Valid values are h1, h2, h3, h4, h5, h6, or an array of these values. By default, h1 and h2 headings with their content are split into answer units.
normalizedHtmlJSON
OPTIONALAn object that defines the content that is included and excluded during the HTML normalization phase. All documents go through this phase. For more information about the normalized_html configurations, see README for more info.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication