A sample palette of nodes for tmf-api
npm install node-red-node-tmf-api-betaThis directory contains node for the TMF APIs
The API follows the CRUD paradigm, supporting partial updates of objects.
The nodes are for educational purposes running against a sandbox provided by TMF
License: Apache V2
Version: 0.0.1
Date: 15.7.2016
Install
-------
Install from npm
```
npm install node-red-node-tmf-api-beta`
or in bluemix add this line to package.json`
"node-red-node-tmf":"0.x"
Usage
-----
This package adds a new palette to your workspace with one node per API of TMF APIs
The payload is forwarded transparently.
Parameters are carried as following:
- For operations requiring an id, the ID needs to be provided as a number in msg.payload.idmsg.payload.fields
- For operations allowing filtering, the filter needs to be provided as a comma-separated string in msg.payload.body
- For operations requiring a payload to be sent, the payload needs to be provided in msg.header
- to add/overwrite headers (especially impleetning security if conencting to API Connect instance) add them to array as msg.header['content-type']='application/json'`
Authors
-------
Author: Josef Reisinger