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 |
Returns information about one or more repositories.
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.
- batchGetRepositories :: BatchGetRepositories
- data BatchGetRepositories
- bgrRepositoryNames :: Lens' BatchGetRepositories [Text]
- batchGetRepositoriesResponse :: Int -> BatchGetRepositoriesResponse
- data BatchGetRepositoriesResponse
- bgrrsRepositories :: Lens' BatchGetRepositoriesResponse [RepositoryMetadata]
- bgrrsRepositoriesNotFound :: Lens' BatchGetRepositoriesResponse [Text]
- bgrrsResponseStatus :: Lens' BatchGetRepositoriesResponse Int
Creating a Request
batchGetRepositories :: BatchGetRepositories Source #
Creates a value of BatchGetRepositories
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BatchGetRepositories Source #
Represents the input of a batch get repositories operation.
See: batchGetRepositories
smart constructor.
Request Lenses
bgrRepositoryNames :: Lens' BatchGetRepositories [Text] Source #
The names of the repositories to get information about.
Destructuring the Response
batchGetRepositoriesResponse Source #
Creates a value of BatchGetRepositoriesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data BatchGetRepositoriesResponse Source #
Represents the output of a batch get repositories operation.
See: batchGetRepositoriesResponse
smart constructor.
Response Lenses
bgrrsRepositories :: Lens' BatchGetRepositoriesResponse [RepositoryMetadata] Source #
A list of repositories returned by the batch get repositories operation.
bgrrsRepositoriesNotFound :: Lens' BatchGetRepositoriesResponse [Text] Source #
Returns a list of repository names for which information could not be found.
bgrrsResponseStatus :: Lens' BatchGetRepositoriesResponse Int Source #
The response status code.