node-red-contrib-opentext
Version:
node-red-contrib-opentext - An Opentext Core client
56 lines (47 loc) • 1.86 kB
HTML
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/html" data-help-name="capture">
<p>An Opentext Core capture node to full text OCR a file and sent the recognized file as output.</p>
<h2 id="inputs">Inputs</h2>
<p>Any message to trigger producing an Core capture node.</p>
<h4 id="container">Container</h4>
<p>The name of the container that will receive the message coreCaptureRequest object.</p>
<p><code>p.s. msg.payload.coreCaptureRequest object</code></p>
<h4 id="grant-type">Authorisation from otdsauth</h4>
<ul><li><strong>msg.payload.access_token</strong></li></ul>
<ul><li><code>- Set by msg.ot2authRequest -</code></li></ul>
<h4 id="grant-type">Document from Core Capture upload</h4>
<ul><li><strong>msg.payload.src</strong></li></ul>
<ul><li><code>- Set by msg.coreSignatureUploadRequest -</code></li></ul>
<h4 id="grant-type">Variables</h4>
<pre><code>
base_url
</code></pre>
<p><strong>doc:</strong></p>
<pre><code>
id
contenttype
</code></pre>
<p><strong>input:</strong> </p>
<p><code>Mail settings</code></p>
<pre><code>
msg.coreCaptureRequest = {
"base_url": "https://capture.ot2.opentext.eu",
doc": {
"id": "F_204e8a385d584af7a5efafddc7af3be4DAT",
"contenttype": "image:tiff",
}
};
return msg;
</code></pre>
</script>