A REST API in Node.js that implememts basic github api.
- Node.js: v16.5.0 < 17
npm install
npm start
GET /get-repositories
Query parameters:
Parameter | Type | Description |
---|---|---|
organisation |
string |
Required. The organization name for which the repositories to be fetched |
n |
integer |
The maximum number of repositories to be fetched. Default: 4 |
m |
integer |
The maximum number of committees/contributors to be fetched for each repository. Default: 2 |
Status code | Description |
---|---|
200 | OK |
400 | Bad Request |
500 | Internal Server Error |