Copyright | (c) 2015-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 all repos belonging to a project. The sizes of the repos are not set by ListRepos. To get the size of a repo, use GetRepo.
See: Cloud Source Repositories API Reference for sourcerepo.projects.repos.list
.
Synopsis
- type ProjectsReposListResource = "v1" :> (Capture "name" Text :> ("repos" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListReposResponse))))))))))
- projectsReposList :: Text -> ProjectsReposList
- data ProjectsReposList
- prlXgafv :: Lens' ProjectsReposList (Maybe Xgafv)
- prlUploadProtocol :: Lens' ProjectsReposList (Maybe Text)
- prlAccessToken :: Lens' ProjectsReposList (Maybe Text)
- prlUploadType :: Lens' ProjectsReposList (Maybe Text)
- prlName :: Lens' ProjectsReposList Text
- prlPageToken :: Lens' ProjectsReposList (Maybe Text)
- prlPageSize :: Lens' ProjectsReposList (Maybe Int32)
- prlCallback :: Lens' ProjectsReposList (Maybe Text)
REST Resource
type ProjectsReposListResource = "v1" :> (Capture "name" Text :> ("repos" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListReposResponse)))))))))) Source #
A resource alias for sourcerepo.projects.repos.list
method which the
ProjectsReposList
request conforms to.
Creating a Request
Creates a value of ProjectsReposList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsReposList Source #
Returns all repos belonging to a project. The sizes of the repos are not set by ListRepos. To get the size of a repo, use GetRepo.
See: projectsReposList
smart constructor.
Instances
Request Lenses
prlUploadProtocol :: Lens' ProjectsReposList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prlAccessToken :: Lens' ProjectsReposList (Maybe Text) Source #
OAuth access token.
prlUploadType :: Lens' ProjectsReposList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prlName :: Lens' ProjectsReposList Text Source #
The project ID whose repos should be listed. Values are of the form `projects/`.
prlPageToken :: Lens' ProjectsReposList (Maybe Text) Source #
Resume listing repositories where a prior ListReposResponse left off. This is an opaque token that must be obtained from a recent, prior ListReposResponse's next_page_token field.
prlPageSize :: Lens' ProjectsReposList (Maybe Int32) Source #
Maximum number of repositories to return; between 1 and 500. If not set or zero, defaults to 100 at the server.
prlCallback :: Lens' ProjectsReposList (Maybe Text) Source #
JSONP