node-red-contrib-gitlabapi
Version:
Node-RED node for gitlabapi
40 lines (30 loc) • 1.07 kB
Markdown
node-red-contrib-gitlabapi
================
Node-RED node for gitlabapi
To install the stable version use the `Menu - Manage palette - Install`
option and search for node-red-contrib-gitlabapi, or run the following
command in your Node-RED user directory, typically `~/.node-red`
npm install node-red-contrib-gitlabapi
- https://docs.gitlab.com/ee/api/
- your gitlab access_token : https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
- your gitlab api url : https://gitlab.example.com/api/v4/
```js
// msg.method = 'get';
// msg.api = 'issues';
// msg.path = '';
msg.params = {}
// msg.params.assignee_id=1
// msg.params.author_id=5
// msg.params.labels='test'
// msg.params.state='opened'
msg.params.state='closed'
return msg;
```
You can make this json string into a flow by using the node-red flow import function.
- [sample.json](examples/sample.json)
