bookathon_B icon indicating copy to clipboard operation
bookathon_B copied to clipboard

[docs] Github API를 사용할 수 있는 HTTP API

Open gidskql6671 opened this issue 3 years ago • 0 comments

  • GET /user/{userId}/commits
    • 해당 유저의 최근 한달간 커밋수를 담은 배열을 json으로 응답한다.
    • [ { day: "2021-08-25", commit: 5 }, { day: "2021-08-26", commit: 6 }, ..., { day: "2021-09-24", commit: 10 } ]
    • day는 해당하는 날짜, commit은 그 날의 커밋수를 나타낸다.
  • GET /study/{teamId}/commits
    • 해당 팀의 모든 참가자의 당일 커밋수를 담은 배열을 json으로 응답한다.
    • [ { userId: String, commit: Integar }, { userId: String, commit: Integar }, ... ]
    • userId는 해당하는 팀원의 github id를 나타내며, commit은 그 팀원의 당일 커밋수를 나타낸다.

gidskql6671 avatar Sep 24 '21 01:09 gidskql6671