Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hkjang/node-red-contrib-gitlabapi
https://github.com/hkjang/node-red-contrib-gitlabapi
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hkjang/node-red-contrib-gitlabapi
- Owner: hkjang
- License: other
- Created: 2022-04-24T03:24:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-29T23:45:28.000Z (over 2 years ago)
- Last Synced: 2024-10-31T17:58:26.010Z (3 months ago)
- Language: JavaScript
- Size: 123 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
node-red-contrib-gitlabapi
================
Node-RED node for gitlabapi## Install
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
## Wrapper gitlab API
- https://docs.gitlab.com/ee/api/## Credentials Node for Access Token & URL
- 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/## Sample parameters
```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;
```## Sample Flow
You can make this json string into a flow by using the node-red flow import function.- [sample.json](examples/sample.json)
![alt](examples/sample.png)