v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Sets or changes the comment or description for 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.UpdateRepositoryDescription

Headers

X-Amz-Target'CodeCommit_20150413.UpdateRepositoryDescription' required

Request body

repositoryNamestring required

The name of the repository to set or change the comment or description for.

repositoryDescriptionstring

The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.

Response

Success