- Resource: Application
- ApplicationCategory
- ImageAsset
- Instance
- PlatformType
- InstanceAndroidDetails
- InstanceIosDetails
- InstanceWebDetails
- ApplicationFeature
- Methods
Resource: Application
The Application resource.
JSON representation |
---|
{ "id": string, "name": string, "author": string, "description": string, "category": { object ( |
Fields | |
---|---|
id |
The ID of the application. |
name |
The name of the application. |
author |
The author of the application. |
description |
The description of the application. |
category |
The category of the application. |
assets[] |
The assets of the application. |
instances[] |
The instances of the application. |
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
lastUpdatedTimestamp |
The last updated timestamp of the application. |
achievement_count |
The number of achievements visible to the currently authenticated player. |
leaderboard_count |
The number of leaderboards visible to the currently authenticated player. |
enabledFeatures[] |
A list of features that have been enabled for the application. |
themeColor |
A hint to the client UI for what color to use as an app-themed color. The color is given as an RGB triplet (e.g. "E0E0E0"). |
ApplicationCategory
An application category object.
JSON representation |
---|
{ "primary": string, "secondary": string, "kind": string } |
Fields | |
---|---|
primary |
The primary category. |
secondary |
The secondary category. |
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
ImageAsset
An image asset object.
JSON representation |
---|
{ "name": string, "width": integer, "height": integer, "url": string, "kind": string } |
Fields | |
---|---|
name |
The name of the asset. |
width |
The width of the asset. |
height |
The height of the asset. |
url |
The URL of the asset. |
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
Instance
The Instance resource.
JSON representation |
---|
{ "platformType": enum ( |
Fields | |
---|---|
platformType |
The platform type. |
name |
Localized display name. |
turnBasedPlay |
Flag to show if this game instance supports turn based play. |
realtimePlay |
Flag to show if this game instance supports realtime play. |
androidInstance |
Platform dependent details for Android. |
iosInstance |
Platform dependent details for iOS. |
webInstance |
Platform dependent details for Web. |
acquisitionUri |
URI which shows where a user can acquire this instance. |
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
PlatformType
Possible platform types.
Enums | |
---|---|
ANDROID |
Instance is for Android. |
IOS |
Instance is for iOS. |
WEB_APP |
Instance is for Web App. |
InstanceAndroidDetails
The Android instance details resource.
JSON representation |
---|
{ "packageName": string, "kind": string, "enablePiracyCheck": boolean, "preferred": boolean } |
Fields | |
---|---|
packageName |
Android package name which maps to Google Play URL. |
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
enablePiracyCheck |
Flag indicating whether the anti-piracy check is enabled. |
preferred |
Indicates that this instance is the default for new installations. |
InstanceIosDetails
The iOS details resource.
JSON representation |
---|
{ "kind": string, "bundleIdentifier": string, "itunesAppId": string, "supportIphone": boolean, "supportIpad": boolean, "preferredForIphone": boolean, "preferredForIpad": boolean } |
Fields | |
---|---|
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
bundleIdentifier |
Bundle identifier. |
itunesAppId |
iTunes App ID. |
supportIphone |
Flag to indicate if this instance supports iPhone. |
supportIpad |
Flag to indicate if this instance supports iPad. |
preferredForIphone |
Indicates that this instance is the default for new installations on iPhone devices. |
preferredForIpad |
Indicates that this instance is the default for new installations on iPad devices. |
InstanceWebDetails
The Web details resource.
JSON representation |
---|
{ "launchUrl": string, "kind": string, "preferred": boolean } |
Fields | |
---|---|
launchUrl |
Launch URL for the game. |
kind |
Uniquely identifies the type of this resource. Value is always the fixed string |
preferred |
Indicates that this instance is the default for new installations. |
ApplicationFeature
Possible application features.
Enums | |
---|---|
SNAPSHOTS |
Saved Games (snapshots). |
Methods |
|
---|---|
|
Retrieves the metadata of the application with the given ID. |
|
Returns a URL for the requested end point type. |
|
Indicate that the currently authenticated user is playing your application. |
|
Verifies the auth token provided with this request is for the application with the specified ID, and returns the ID of the player it was granted for. |