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 |
Insert a new achievement configuration in this application.
See: Google Play Game Services Publishing API Reference for gamesConfiguration.achievementConfigurations.insert
.
Synopsis
- type AchievementConfigurationsInsertResource = "games" :> ("v1configuration" :> ("applications" :> (Capture "applicationId" Text :> ("achievements" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AchievementConfiguration :> Post '[JSON] AchievementConfiguration))))))
- achievementConfigurationsInsert :: AchievementConfiguration -> Text -> AchievementConfigurationsInsert
- data AchievementConfigurationsInsert
- aciPayload :: Lens' AchievementConfigurationsInsert AchievementConfiguration
- aciApplicationId :: Lens' AchievementConfigurationsInsert Text
REST Resource
type AchievementConfigurationsInsertResource = "games" :> ("v1configuration" :> ("applications" :> (Capture "applicationId" Text :> ("achievements" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AchievementConfiguration :> Post '[JSON] AchievementConfiguration)))))) Source #
A resource alias for gamesConfiguration.achievementConfigurations.insert
method which the
AchievementConfigurationsInsert
request conforms to.
Creating a Request
achievementConfigurationsInsert Source #
Creates a value of AchievementConfigurationsInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AchievementConfigurationsInsert Source #
Insert a new achievement configuration in this application.
See: achievementConfigurationsInsert
smart constructor.
Instances
Request Lenses
aciPayload :: Lens' AchievementConfigurationsInsert AchievementConfiguration Source #
Multipart request metadata.
aciApplicationId :: Lens' AchievementConfigurationsInsert Text Source #
The application ID from the Google Play developer console.