github-tools / github-tools/github

Working with github enterprise

オープン
#538 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
JavaScript
スター
3.8k
フォーク
809
PR マージ指標
30日以内にマージされた PR はありません

説明

Is there a way to use this lib with Git-Hub Enterprise?

I tried this as below but it doesn't seem to work. Please let me know what I'm missing.

```
const token = process.env.GIT_API_TOKEN,
apiBase = 'https://git.company.com/api/v3',
GitHub = require('github-api'),
gh = new GitHub({ token, apiBase });

let me = gh.getUser();
me.listNotifications(function(err, notifications) {
console.log(notifications);
});
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the supplied JavaScript example against the GitHub Enterprise apiBase, then inspect how the GitHub constructor and listNotifications request use that setting. Confirm whether the request reaches the Enterprise endpoint and define done as successful notification retrieval or a documented, actionable limitation.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
api
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。