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 |
Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.
See: Google Play EMM API Reference for androidenterprise.enterprises.createWebToken
.
Synopsis
- type EnterprisesCreateWebTokenResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("createWebToken" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AdministratorWebTokenSpec :> Post '[JSON] AdministratorWebToken))))))
- enterprisesCreateWebToken :: Text -> AdministratorWebTokenSpec -> EnterprisesCreateWebToken
- data EnterprisesCreateWebToken
- ecwtEnterpriseId :: Lens' EnterprisesCreateWebToken Text
- ecwtPayload :: Lens' EnterprisesCreateWebToken AdministratorWebTokenSpec
REST Resource
type EnterprisesCreateWebTokenResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("createWebToken" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AdministratorWebTokenSpec :> Post '[JSON] AdministratorWebToken)))))) Source #
A resource alias for androidenterprise.enterprises.createWebToken
method which the
EnterprisesCreateWebToken
request conforms to.
Creating a Request
enterprisesCreateWebToken Source #
Creates a value of EnterprisesCreateWebToken
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesCreateWebToken Source #
Returns a unique token to access an embeddable UI. To generate a web UI, pass the generated token into the managed Google Play javascript API. Each token may only be used to start one UI session. See the javascript API documentation for further information.
See: enterprisesCreateWebToken
smart constructor.
Instances
Request Lenses
ecwtEnterpriseId :: Lens' EnterprisesCreateWebToken Text Source #
The ID of the enterprise.
ecwtPayload :: Lens' EnterprisesCreateWebToken AdministratorWebTokenSpec Source #
Multipart request metadata.