v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Returns information about a repository.

The description field for a repository accepts all HTML characters and all valid Unicode characters. Applications that do not HTML-encode the description and display it in a webpage can expose users to potentially malicious code. Make sure that you HTML-encode the description field in any application that uses this API to display the repository description on a webpage.

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

Headers

X-Amz-Target'CodeCommit_20150413.GetRepository' required

Request body

repositoryNamestring required

The name of the repository to get information about.

Response

Success