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 and attaches a new Expansion File to the APK specified.
See: Google Play Developer API Reference for androidpublisher.edits.expansionfiles.upload
.
Synopsis
- type EditsExpansionFilesUploadResource = ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("apks" :> (Capture "apkVersionCode" (Textual Int32) :> ("expansionFiles" :> (Capture "expansionFileType" EditsExpansionFilesUploadExpansionFileType :> (QueryParam "alt" AltJSON :> Post '[JSON] ExpansionFilesUploadResponse))))))))))) :<|> ("upload" :> ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("apks" :> (Capture "apkVersionCode" (Textual Int32) :> ("expansionFiles" :> (Capture "expansionFileType" EditsExpansionFilesUploadExpansionFileType :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] ExpansionFilesUploadResponse))))))))))))))
- editsExpansionFilesUpload :: Text -> Int32 -> EditsExpansionFilesUploadExpansionFileType -> Text -> EditsExpansionFilesUpload
- data EditsExpansionFilesUpload
- ePackageName :: Lens' EditsExpansionFilesUpload Text
- eAPKVersionCode :: Lens' EditsExpansionFilesUpload Int32
- eExpansionFileType :: Lens' EditsExpansionFilesUpload EditsExpansionFilesUploadExpansionFileType
- eEditId :: Lens' EditsExpansionFilesUpload Text
REST Resource
type EditsExpansionFilesUploadResource = ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("apks" :> (Capture "apkVersionCode" (Textual Int32) :> ("expansionFiles" :> (Capture "expansionFileType" EditsExpansionFilesUploadExpansionFileType :> (QueryParam "alt" AltJSON :> Post '[JSON] ExpansionFilesUploadResponse))))))))))) :<|> ("upload" :> ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("apks" :> (Capture "apkVersionCode" (Textual Int32) :> ("expansionFiles" :> (Capture "expansionFileType" EditsExpansionFilesUploadExpansionFileType :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] ExpansionFilesUploadResponse)))))))))))))) Source #
A resource alias for androidpublisher.edits.expansionfiles.upload
method which the
EditsExpansionFilesUpload
request conforms to.
Creating a Request
editsExpansionFilesUpload Source #
Creates a value of EditsExpansionFilesUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EditsExpansionFilesUpload Source #
Uploads and attaches a new Expansion File to the APK specified.
See: editsExpansionFilesUpload
smart constructor.
Instances
Request Lenses
ePackageName :: Lens' EditsExpansionFilesUpload Text Source #
Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
eAPKVersionCode :: Lens' EditsExpansionFilesUpload Int32 Source #
The version code of the APK whose Expansion File configuration is being read or modified.