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 |
Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.
See: Google Play Developer API Reference for androidpublisher.edits.bundles.upload
.
Synopsis
- type EditsBundlesUploadResource = ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("bundles" :> (QueryParam "ackBundleInstallationWarning" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] Bundle))))))))) :<|> ("upload" :> ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("bundles" :> (QueryParam "ackBundleInstallationWarning" Bool :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Bundle))))))))))))
- editsBundlesUpload :: Text -> Text -> EditsBundlesUpload
- data EditsBundlesUpload
- ebuPackageName :: Lens' EditsBundlesUpload Text
- ebuAckBundleInstallationWarning :: Lens' EditsBundlesUpload (Maybe Bool)
- ebuEditId :: Lens' EditsBundlesUpload Text
REST Resource
type EditsBundlesUploadResource = ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("bundles" :> (QueryParam "ackBundleInstallationWarning" Bool :> (QueryParam "alt" AltJSON :> Post '[JSON] Bundle))))))))) :<|> ("upload" :> ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("bundles" :> (QueryParam "ackBundleInstallationWarning" Bool :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] Bundle)))))))))))) Source #
A resource alias for androidpublisher.edits.bundles.upload
method which the
EditsBundlesUpload
request conforms to.
Creating a Request
Creates a value of EditsBundlesUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EditsBundlesUpload Source #
Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.
See: editsBundlesUpload
smart constructor.
Instances
Request Lenses
ebuPackageName :: Lens' EditsBundlesUpload Text Source #
Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
ebuAckBundleInstallationWarning :: Lens' EditsBundlesUpload (Maybe Bool) Source #
Must be set to true if the bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).