2017-04-24 5 views

답변

1

AWS CodeCommit에 대한

{ 
    "commit": { 
     "additionalData": "string", 
     "author": { 
     "date": "string", 
     "email": "string", 
     "name": "string" 
     }, 
     "committer": { 
     "date": "string", 
     "email": "string", 
     "name": "string" 
     }, 
     "message": "string", 
     "parents": [ "string" ], 
     "treeId": "string" 
    } 
} 

덕분에 현재이 사용하는 특정 API를 가지고 있지 않습니다. 그러나 GetDifferences API는 재귀 트리 워크를 수행합니다. 따라서 beforeCommitSpecifier로 null을 전달하면 afterCommitSpecifier 값 이전의 모든 변경 사항이 표시되고 파일 이름이 응답에 포함됩니다. GetDifferences API에 대한 설명서는 다음과 같습니다. http://docs.aws.amazon.com/codecommit/latest/APIReference/API_GetDifferences.html