Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 web page could 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 web page.
- updateRepositoryDescription :: Text -> UpdateRepositoryDescription
- data UpdateRepositoryDescription
- urdRepositoryDescription :: Lens' UpdateRepositoryDescription (Maybe Text)
- urdRepositoryName :: Lens' UpdateRepositoryDescription Text
- updateRepositoryDescriptionResponse :: UpdateRepositoryDescriptionResponse
- data UpdateRepositoryDescriptionResponse
Creating a Request
updateRepositoryDescription Source #
Creates a value of UpdateRepositoryDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateRepositoryDescription Source #
Represents the input of an update repository description operation.
See: updateRepositoryDescription
smart constructor.
Request Lenses
urdRepositoryDescription :: Lens' UpdateRepositoryDescription (Maybe Text) Source #
The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.
urdRepositoryName :: Lens' UpdateRepositoryDescription Text Source #
The name of the repository to set or change the comment or description for.
Destructuring the Response
updateRepositoryDescriptionResponse :: UpdateRepositoryDescriptionResponse Source #
Creates a value of UpdateRepositoryDescriptionResponse
with the minimum fields required to make a request.
data UpdateRepositoryDescriptionResponse Source #
See: updateRepositoryDescriptionResponse
smart constructor.