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 edit for an app, populated with the app's current state.
See: Google Play Developer API Reference for androidpublisher.edits.insert
.
- type EditsInsertResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` AppEdit :> Post `[JSON]` AppEdit))))))
- editsInsert :: Text -> AppEdit -> EditsInsert
- data EditsInsert
- eiPackageName :: Lens' EditsInsert Text
- eiPayload :: Lens' EditsInsert AppEdit
REST Resource
type EditsInsertResource = "androidpublisher" :> ("v2" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` AppEdit :> Post `[JSON]` AppEdit)))))) Source
A resource alias for androidpublisher.edits.insert
method which the
EditsInsert
request conforms to.
Creating a Request
Creates a value of EditsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EditsInsert Source
Creates a new edit for an app, populated with the app's current state.
See: editsInsert
smart constructor.
Request Lenses
eiPackageName :: Lens' EditsInsert Text Source
Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
eiPayload :: Lens' EditsInsert AppEdit Source
Multipart request metadata.