UNPKG

node-red-contrib-opentext

Version:

node-red-contrib-opentext - An Opentext Core client

41 lines (32 loc) 1.44 kB
<!-- 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="download"> <p>An Opentext Core Capture download node which downloads a file from an url from Core capture server.</p> <h2 id="inputs">Inputs</h2> <p>Core Capture node payload including the url source in 'resultItems[0].files[0].src' for downloading.</p> <h4 id="container">Container</h4> <p>The name of the container that will receive the message core DownloadRequest object.</p> <p><code>p.s. msg.payload.coreDownloadRequest 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">Variables</h4> <p><strong>file:</strong></p> <pre><code> file_name value contenttype </code></pre> return msg; </code></pre> </script>