The msg.payload object can be an empty object or contain optional path, query-string, or body variables provided using "key": "value" object parameters. The Webex Teams API request is passed as a JSON object in msg.payload. The msg.parts property is set appropriately for use with the join node if a single array payload is preferred. If multiple records are returned from the Webex Teams API Call, these are passed to the output as individual sequential messages. Results of the API call are provided at the output in the msg.payload object. The Webex Teams API Node sends REST queries via messages received by the input connector in the msg.payload object. Via NPM repository: # from your node-red user directory Npm install /path/to/node-red-contrib-spark Node-red-admin install node-red-contrib-spark # authenticate if your Node-RED administration has been secured Via the node-red-admin CLI tool: # requires node-red to be running In the "Manage Palette" menu dropdown, search for this module by name. The simplest installation method is done via Node-RED itself. You can define multiple Auth profiles so as to work with different Webex Teams Accounts or Bots within the same flow. Once initially defined, either under the Api or Webhook Node, it will be available to select on all other Api and Webhook Nodes that are created. auth - This is a Config Node that holds the credential Bearer Token for the Webex Teams API.parser - This is a utility Node that accepts input from the output of either the API or Webhook Node.Once deployed, and subsequently triggered, the contents of the notification will be sent to the output of this Node. webhook - This Node creates, removes, and manages the Webhook features of the Webex Teams API.api - This Node receives queries on the input that are then sent to the Webex Teams API.Node-RED Nodes to integrate with the Cisco Webex Teams API. Node-RED Nodes to integrate with the Cisco Webex Teams API
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |