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 |
Update the metadata of the achievement configuration with the given ID. This method supports patch semantics.
See: Google Play Game Services Publishing API Reference for gamesConfiguration.achievementConfigurations.patch
.
Synopsis
- type AchievementConfigurationsPatchResource = "games" :> ("v1configuration" :> ("achievements" :> (Capture "achievementId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AchievementConfiguration :> Patch '[JSON] AchievementConfiguration)))))
- achievementConfigurationsPatch :: Text -> AchievementConfiguration -> AchievementConfigurationsPatch
- data AchievementConfigurationsPatch
- acpAchievementId :: Lens' AchievementConfigurationsPatch Text
- acpPayload :: Lens' AchievementConfigurationsPatch AchievementConfiguration
REST Resource
type AchievementConfigurationsPatchResource = "games" :> ("v1configuration" :> ("achievements" :> (Capture "achievementId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AchievementConfiguration :> Patch '[JSON] AchievementConfiguration))))) Source #
A resource alias for gamesConfiguration.achievementConfigurations.patch
method which the
AchievementConfigurationsPatch
request conforms to.
Creating a Request
achievementConfigurationsPatch Source #
Creates a value of AchievementConfigurationsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AchievementConfigurationsPatch Source #
Update the metadata of the achievement configuration with the given ID. This method supports patch semantics.
See: achievementConfigurationsPatch
smart constructor.
Instances
Request Lenses
acpAchievementId :: Lens' AchievementConfigurationsPatch Text Source #
The ID of the achievement used by this method.
acpPayload :: Lens' AchievementConfigurationsPatch AchievementConfiguration Source #
Multipart request metadata.