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 |
Creates a new web app for the enterprise.
See: Google Play EMM API Reference for androidenterprise.webapps.insert
.
Synopsis
- type WebAppsInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("webApps" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Post '[JSON] WebApp))))))
- webAppsInsert :: Text -> WebApp -> WebAppsInsert
- data WebAppsInsert
- waiEnterpriseId :: Lens' WebAppsInsert Text
- waiPayload :: Lens' WebAppsInsert WebApp
REST Resource
type WebAppsInsertResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("webApps" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebApp :> Post '[JSON] WebApp)))))) Source #
A resource alias for androidenterprise.webapps.insert
method which the
WebAppsInsert
request conforms to.
Creating a Request
Creates a value of WebAppsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data WebAppsInsert Source #
Creates a new web app for the enterprise.
See: webAppsInsert
smart constructor.
Instances
Request Lenses
waiEnterpriseId :: Lens' WebAppsInsert Text Source #
The ID of the enterprise.
waiPayload :: Lens' WebAppsInsert WebApp Source #
Multipart request metadata.