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 |
Lists the releases that have been created on the specified site.
See: Firebase Hosting API Reference for firebasehosting.sites.releases.list
.
Synopsis
- type SitesReleasesListResource = "v1beta1" :> (Capture "parent" Text :> ("releases" :> (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] ListReleasesResponse))))))))))
- sitesReleasesList :: Text -> SitesReleasesList
- data SitesReleasesList
- srlParent :: Lens' SitesReleasesList Text
- srlXgafv :: Lens' SitesReleasesList (Maybe Xgafv)
- srlUploadProtocol :: Lens' SitesReleasesList (Maybe Text)
- srlAccessToken :: Lens' SitesReleasesList (Maybe Text)
- srlUploadType :: Lens' SitesReleasesList (Maybe Text)
- srlPageToken :: Lens' SitesReleasesList (Maybe Text)
- srlPageSize :: Lens' SitesReleasesList (Maybe Int32)
- srlCallback :: Lens' SitesReleasesList (Maybe Text)
REST Resource
type SitesReleasesListResource = "v1beta1" :> (Capture "parent" Text :> ("releases" :> (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] ListReleasesResponse)))))))))) Source #
A resource alias for firebasehosting.sites.releases.list
method which the
SitesReleasesList
request conforms to.
Creating a Request
Creates a value of SitesReleasesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitesReleasesList Source #
Lists the releases that have been created on the specified site.
See: sitesReleasesList
smart constructor.
Instances
Request Lenses
srlParent :: Lens' SitesReleasesList Text Source #
Required. The parent for which to list files, in the format: 'sites\/site-name'
srlUploadProtocol :: Lens' SitesReleasesList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
srlAccessToken :: Lens' SitesReleasesList (Maybe Text) Source #
OAuth access token.
srlUploadType :: Lens' SitesReleasesList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
srlPageToken :: Lens' SitesReleasesList (Maybe Text) Source #
The next_page_token from a previous request, if provided.
srlPageSize :: Lens' SitesReleasesList (Maybe Int32) Source #
The page size to return. Defaults to 100.
srlCallback :: Lens' SitesReleasesList (Maybe Text) Source #
JSONP