Copyright | (c) 2015 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 |
Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to enterprises using Google Play for Work whose application is configured to restrict distribution to the enterprise domain.
See: Google Play Developer API Reference for androidpublisher.edits.apks.addexternallyhosted
.
- type EditsAPKsAddexternallyhostedResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("apks" :> ("externallyHosted" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` APKsAddExternallyHostedRequest :> Post `[JSON]` APKsAddExternallyHostedResponse)))))))))
- editsAPKsAddexternallyhosted :: Text -> APKsAddExternallyHostedRequest -> Text -> EditsAPKsAddexternallyhosted
- data EditsAPKsAddexternallyhosted
- eapkaPackageName :: Lens' EditsAPKsAddexternallyhosted Text
- eapkaPayload :: Lens' EditsAPKsAddexternallyhosted APKsAddExternallyHostedRequest
- eapkaEditId :: Lens' EditsAPKsAddexternallyhosted Text
REST Resource
type EditsAPKsAddexternallyhostedResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("apks" :> ("externallyHosted" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` APKsAddExternallyHostedRequest :> Post `[JSON]` APKsAddExternallyHostedResponse))))))))) Source
A resource alias for androidpublisher.edits.apks.addexternallyhosted
method which the
EditsAPKsAddexternallyhosted
request conforms to.
Creating a Request
editsAPKsAddexternallyhosted Source
Creates a value of EditsAPKsAddexternallyhosted
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EditsAPKsAddexternallyhosted Source
Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL. This function is only available to enterprises using Google Play for Work whose application is configured to restrict distribution to the enterprise domain.
See: editsAPKsAddexternallyhosted
smart constructor.
Request Lenses
eapkaPackageName :: Lens' EditsAPKsAddexternallyhosted Text Source
Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
eapkaPayload :: Lens' EditsAPKsAddexternallyhosted APKsAddExternallyHostedRequest Source
Multipart request metadata.
eapkaEditId :: Lens' EditsAPKsAddexternallyhosted Text Source
Unique identifier for this edit.