Created
March 1, 2019 18:29
-
-
Save lgfa29/d965e66bf1ffa0fff7ab26f314ea98de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "cbb0ae9a.092cd8", | |
"type": "http in", | |
"z": "9358b649.b981c8", | |
"name": "", | |
"url": "/search", | |
"method": "get", | |
"upload": false, | |
"swaggerDoc": "", | |
"x": 310, | |
"y": 420, | |
"wires": [ | |
[ | |
"eb2ab794.5195f" | |
] | |
] | |
}, | |
{ | |
"id": "eb2ab794.5195f", | |
"type": "template", | |
"z": "9358b649.b981c8", | |
"name": "", | |
"field": "payload", | |
"fieldType": "msg", | |
"format": "handlebars", | |
"syntax": "mustache", | |
"template": "timestamp:[{{ req.query.from }} TO {{ req.query.to }}] AND tweet:{{req.query.tweet}}", | |
"output": "str", | |
"x": 480, | |
"y": 420, | |
"wires": [ | |
[ | |
"552eb07c.6c7458" | |
] | |
] | |
}, | |
{ | |
"id": "62c9ddc9.9eae24", | |
"type": "http response", | |
"z": "9358b649.b981c8", | |
"name": "", | |
"statusCode": "", | |
"headers": {}, | |
"x": 790, | |
"y": 420, | |
"wires": [] | |
}, | |
{ | |
"id": "552eb07c.6c7458", | |
"type": "cloudant in", | |
"z": "9358b649.b981c8", | |
"name": "", | |
"cloudant": "", | |
"database": "tweets", | |
"service": "node-red-cloudantNoSQLDB", | |
"search": "_idx_", | |
"design": "tweet_search", | |
"index": "tweet_search", | |
"x": 650, | |
"y": 420, | |
"wires": [ | |
[ | |
"62c9ddc9.9eae24" | |
] | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment