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 information about a repo.
See: Cloud Source Repositories API Reference for sourcerepo.projects.repos.get
.
Synopsis
- type ProjectsReposGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Repo)))))))
- projectsReposGet :: Text -> ProjectsReposGet
- data ProjectsReposGet
- prgXgafv :: Lens' ProjectsReposGet (Maybe Xgafv)
- prgUploadProtocol :: Lens' ProjectsReposGet (Maybe Text)
- prgAccessToken :: Lens' ProjectsReposGet (Maybe Text)
- prgUploadType :: Lens' ProjectsReposGet (Maybe Text)
- prgName :: Lens' ProjectsReposGet Text
- prgCallback :: Lens' ProjectsReposGet (Maybe Text)
REST Resource
type ProjectsReposGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Repo))))))) Source #
A resource alias for sourcerepo.projects.repos.get
method which the
ProjectsReposGet
request conforms to.
Creating a Request
Creates a value of ProjectsReposGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsReposGet Source #
Returns information about a repo.
See: projectsReposGet
smart constructor.
Instances
Request Lenses
prgUploadProtocol :: Lens' ProjectsReposGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prgAccessToken :: Lens' ProjectsReposGet (Maybe Text) Source #
OAuth access token.
prgUploadType :: Lens' ProjectsReposGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prgName :: Lens' ProjectsReposGet Text Source #
The name of the requested repository. Values are of the form `projects//repos/`.
prgCallback :: Lens' ProjectsReposGet (Maybe Text) Source #
JSONP