Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MilestonesからIssuesを取得する方法の調査と実装 #40

Closed
Tracked by #28
takecchi opened this issue Aug 21, 2023 · 3 comments
Closed
Tracked by #28

MilestonesからIssuesを取得する方法の調査と実装 #40

takecchi opened this issue Aug 21, 2023 · 3 comments
Assignees
Labels
feature 新しい機能の追加

Comments

@takecchi
Copy link
Member

takecchi commented Aug 21, 2023

概要

Milestones Listからマイルストーンの一覧は取得できるが、マイルストーンに紐付いているIssuesまでは取得できない。
取得したマイルストーンから別のAPIを叩くことで取得できると思われるので、それの調査と実装を行う。

参考

実際に叩くAPIは以下
https://api.github.com/repos/cuculus-dev/cuculus-community/milestones

@takecchi
Copy link
Member Author

調査

Issues Listのクエリパラメータmilestone指定でいけそう?

https://api.github.com/repos/cuculus-dev/cuculus-community/issues?milestone=2

@takecchi takecchi added the feature 新しい機能の追加 label Aug 21, 2023
@kawanolk
Copy link

調べた結果
GItHubのAPIと使用するためのとAPIリクエストの作成は必要。
->REST APIを使用するっぽいのでAPIは問題なし
->マイルストーンからissuesを取得するにはHTTPクライアントまたはサーバーサイドからのAPIリクエストが必要そう
-->HTTPクライアントまたはサーバーサイドのAPIリクエスト方法としてfetch Axiosがある

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新しい機能の追加
Projects
None yet
Development

No branches or pull requests

2 participants