GameCenter Web Api

<back to all web services


Returns the details and link to the latest version of the requested app.

Checking against the VersionCode numerically (better), or the Version string equality (if you must), are probably the simplest comparison methods to determine if the user should be shown or redirected to the appropriate upgrade messages and links.

Sends and respects incoming HTTP caching headers, which are recommended for use by the client as well.

The HtmlMessage and TextMessage should be the same—show only the appropriate one for your UI.

The following routes are available for this service:
NameParameterData TypeRequiredDescription
PlatformpathstringYesmust be "iOS" or "Android"
PackageNamepathstringYespackage name unique to each platform's store; so far, must be one of: "", "", "ds-basketball-statware", "ds-football-statware", "ds-volleyball-statware"
VersionCodepathstringYesInteger version code; ie. 123, 124, 125, ...
VersionpathstringYesSemantic version; ie. 1.0.23, 2.1.0, 2.1.1-beta, ...

To override the Content-type in your clients HTTP Accept Header, append the .other suffix or ?format=other


The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /stat/reply/LatestAppVersion HTTP/1.1 
Content-Type: application/stat
Content-Length: length