v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Returns information about the contents of one or more commits in a repository.

post/#X-Amz-Target=CodeCommit_20150413.BatchGetCommits

Headers

X-Amz-Target'CodeCommit_20150413.BatchGetCommits' required

Request body

commitIdsObjectId[] required
<p>The full commit IDs of the commits to get information about.</p> <note> <p>You must supply the full SHA IDs of each commit. You cannot use shortened SHA IDs.</p> </note>
repositoryNamestring required

The name of the repository that contains the commits.

Response

Success