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 |
Adds content files to a version.
See: Firebase Hosting API Reference for firebasehosting.sites.versions.populateFiles
.
Synopsis
- type SitesVersionsPopulateFilesResource = "v1beta1" :> (CaptureMode "parent" "populateFiles" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PopulateVersionFilesRequest :> Post '[JSON] PopulateVersionFilesResponse))))))))
- sitesVersionsPopulateFiles :: Text -> PopulateVersionFilesRequest -> SitesVersionsPopulateFiles
- data SitesVersionsPopulateFiles
- svpfParent :: Lens' SitesVersionsPopulateFiles Text
- svpfXgafv :: Lens' SitesVersionsPopulateFiles (Maybe Xgafv)
- svpfUploadProtocol :: Lens' SitesVersionsPopulateFiles (Maybe Text)
- svpfAccessToken :: Lens' SitesVersionsPopulateFiles (Maybe Text)
- svpfUploadType :: Lens' SitesVersionsPopulateFiles (Maybe Text)
- svpfPayload :: Lens' SitesVersionsPopulateFiles PopulateVersionFilesRequest
- svpfCallback :: Lens' SitesVersionsPopulateFiles (Maybe Text)
REST Resource
type SitesVersionsPopulateFilesResource = "v1beta1" :> (CaptureMode "parent" "populateFiles" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PopulateVersionFilesRequest :> Post '[JSON] PopulateVersionFilesResponse)))))))) Source #
A resource alias for firebasehosting.sites.versions.populateFiles
method which the
SitesVersionsPopulateFiles
request conforms to.
Creating a Request
sitesVersionsPopulateFiles Source #
Creates a value of SitesVersionsPopulateFiles
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SitesVersionsPopulateFiles Source #
Adds content files to a version.
See: sitesVersionsPopulateFiles
smart constructor.
Instances
Request Lenses
svpfParent :: Lens' SitesVersionsPopulateFiles Text Source #
Required. The version to add files to, in the format: 'sites\/site-name\/versions\/versionID'
svpfUploadProtocol :: Lens' SitesVersionsPopulateFiles (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
svpfAccessToken :: Lens' SitesVersionsPopulateFiles (Maybe Text) Source #
OAuth access token.
svpfUploadType :: Lens' SitesVersionsPopulateFiles (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
svpfPayload :: Lens' SitesVersionsPopulateFiles PopulateVersionFilesRequest Source #
Multipart request metadata.
svpfCallback :: Lens' SitesVersionsPopulateFiles (Maybe Text) Source #
JSONP