Skip to content

Sets or changes the comment or description for a repository

Description

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.

Usage

codecommit_update_repository_description(repositoryName,
  repositoryDescription)

Arguments

  • repositoryName

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

  • repositoryDescription

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

Value

An empty list.

Request syntax

svc$update_repository_description(
  repositoryName = "string",
  repositoryDescription = "string"
)