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 |
Uploads a new image and adds it to the list of images for the specified language and image type.
See: Google Play Developer API Reference for androidpublisher.edits.images.upload
.
Synopsis
- type EditsImagesUploadResource = ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("listings" :> (Capture "language" Text :> (Capture "imageType" EditsImagesUploadImageType :> (QueryParam "alt" AltJSON :> Post '[JSON] ImagesUploadResponse)))))))))) :<|> ("upload" :> ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("listings" :> (Capture "language" Text :> (Capture "imageType" EditsImagesUploadImageType :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] ImagesUploadResponse)))))))))))))
- editsImagesUpload :: Text -> EditsImagesUploadImageType -> Text -> Text -> EditsImagesUpload
- data EditsImagesUpload
- eiuPackageName :: Lens' EditsImagesUpload Text
- eiuImageType :: Lens' EditsImagesUpload EditsImagesUploadImageType
- eiuLanguage :: Lens' EditsImagesUpload Text
- eiuEditId :: Lens' EditsImagesUpload Text
REST Resource
type EditsImagesUploadResource = ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("listings" :> (Capture "language" Text :> (Capture "imageType" EditsImagesUploadImageType :> (QueryParam "alt" AltJSON :> Post '[JSON] ImagesUploadResponse)))))))))) :<|> ("upload" :> ("androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (Capture "editId" Text :> ("listings" :> (Capture "language" Text :> (Capture "imageType" EditsImagesUploadImageType :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (AltMedia :> Post '[JSON] ImagesUploadResponse))))))))))))) Source #
A resource alias for androidpublisher.edits.images.upload
method which the
EditsImagesUpload
request conforms to.
Creating a Request
:: Text | |
-> EditsImagesUploadImageType | |
-> Text | |
-> Text | |
-> EditsImagesUpload |
Creates a value of EditsImagesUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EditsImagesUpload Source #
Uploads a new image and adds it to the list of images for the specified language and image type.
See: editsImagesUpload
smart constructor.
Instances
Request Lenses
eiuPackageName :: Lens' EditsImagesUpload Text Source #
Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
eiuLanguage :: Lens' EditsImagesUpload Text Source #
The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass "de-AT".