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 |
Returns a list of the leaderboard configurations in this application.
See: Google Play Game Services Publishing API Reference for gamesConfiguration.leaderboardConfigurations.list
.
- type LeaderboardConfigurationsListResource = "games" :> ("v1configuration" :> ("applications" :> (Capture "applicationId" Text :> ("leaderboards" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` LeaderboardConfigurationListResponse)))))))
- leaderboardConfigurationsList :: Text -> LeaderboardConfigurationsList
- data LeaderboardConfigurationsList
- lclApplicationId :: Lens' LeaderboardConfigurationsList Text
- lclPageToken :: Lens' LeaderboardConfigurationsList (Maybe Text)
- lclMaxResults :: Lens' LeaderboardConfigurationsList (Maybe Int32)
REST Resource
type LeaderboardConfigurationsListResource = "games" :> ("v1configuration" :> ("applications" :> (Capture "applicationId" Text :> ("leaderboards" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` LeaderboardConfigurationListResponse))))))) Source
A resource alias for gamesConfiguration.leaderboardConfigurations.list
method which the
LeaderboardConfigurationsList
request conforms to.
Creating a Request
leaderboardConfigurationsList Source
Creates a value of LeaderboardConfigurationsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LeaderboardConfigurationsList Source
Returns a list of the leaderboard configurations in this application.
See: leaderboardConfigurationsList
smart constructor.
Request Lenses
lclApplicationId :: Lens' LeaderboardConfigurationsList Text Source
The application ID from the Google Play developer console.
lclPageToken :: Lens' LeaderboardConfigurationsList (Maybe Text) Source
The token returned by the previous request.
lclMaxResults :: Lens' LeaderboardConfigurationsList (Maybe Int32) Source
The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified maxResults.