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 |
Create and publish a new custom app.
See: Google Play Custom App Publishing API Reference for playcustomapp.accounts.customApps.create
.
Synopsis
- type AccountsCustomAppsCreateResource = ("playcustomapp" :> ("v1" :> ("accounts" :> (Capture "account" (Textual Int64) :> ("customApps" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomApp :> Post '[JSON] CustomApp))))))) :<|> ("upload" :> ("playcustomapp" :> ("v1" :> ("accounts" :> (Capture "account" (Textual Int64) :> ("customApps" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" Multipart :> (MultipartRelated '[JSON] CustomApp :> Post '[JSON] CustomApp)))))))))
- accountsCustomAppsCreate :: CustomApp -> Int64 -> AccountsCustomAppsCreate
- data AccountsCustomAppsCreate
- acacPayload :: Lens' AccountsCustomAppsCreate CustomApp
- acacAccount :: Lens' AccountsCustomAppsCreate Int64
REST Resource
type AccountsCustomAppsCreateResource = ("playcustomapp" :> ("v1" :> ("accounts" :> (Capture "account" (Textual Int64) :> ("customApps" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomApp :> Post '[JSON] CustomApp))))))) :<|> ("upload" :> ("playcustomapp" :> ("v1" :> ("accounts" :> (Capture "account" (Textual Int64) :> ("customApps" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" Multipart :> (MultipartRelated '[JSON] CustomApp :> Post '[JSON] CustomApp))))))))) Source #
A resource alias for playcustomapp.accounts.customApps.create
method which the
AccountsCustomAppsCreate
request conforms to.
Creating a Request
accountsCustomAppsCreate Source #
Creates a value of AccountsCustomAppsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsCustomAppsCreate Source #
Create and publish a new custom app.
See: accountsCustomAppsCreate
smart constructor.
Instances
Request Lenses
acacPayload :: Lens' AccountsCustomAppsCreate CustomApp Source #
Multipart request metadata.
acacAccount :: Lens' AccountsCustomAppsCreate Int64 Source #
Developer account ID.