2013-01-23 2 views
0

github api v3를 호출하여 올바른 정보를 얻을 수 있기를 바랍니다. 내가 발견하지 일관된 메시지 "를 얻고있다Github Restful API sha로 커밋하기

{ 
message: "Not Found" 
} 

내가 만드는 중이라서 전화는 다음과 같습니다

https://api.github.com/repos/ {소유자}/{reponame}/{SHA}

가 나는 키가 필요 없거나 보안 토큰은이 호출을 완료

감사합니다

답변

0

이 URL이 필요한 것으로 나타납니다 :?.

,
https://api.github.com/repos/{user}/{repo name}/git/commits/{sha} 

예 :

파슬리를 가리키는 귀하의 예제 링크처럼
https://api.github.com/repos/guillaumepotier/Parsley.js/git/commits/3934bc47e17620eb27876e9079ebe360611f8693 
+0

) 난 그냥 GitHub의 첫 페이지에서 고른 @guillaumepotier – guillaumepotier

+0

: 더욱 멋진 P –

+0

를 : P – guillaumepotier