Method: revisions.check
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Oyun istemcisinin güncel olup olmadığını kontrol eder.
HTTP isteği
GET https://games.googleapis.com/games/v1/revisions/check
Sorgu parametreleri
Parametreler |
clientRevision |
string
Zorunlu. Uygulamanız tarafından kullanılan istemci SDK'sının revizyonu. Biçim: [PLATFORM_TYPE]:[VERSION_NUMBER] . Olası PLATFORM_TYPE değerleri: * ANDROID - İstemci, Android SDK'yı çalıştırıyor. * IOS - İstemci, iOS SDK'sını çalıştırıyor. * WEB_APP - İstemci, web uygulaması olarak çalışıyor.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Bir üçüncü taraf, düzeltme yanıtını kontrol ediyor.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"kind": string,
"revisionStatus": enum (RevisionStatus ),
"apiVersion": string
} |
Alanlar |
kind |
string
Bu kaynağın türünü benzersiz bir şekilde tanımlar. Değer her zaman sabit games#revisionCheckResponse dizesidir.
|
revisionStatus |
enum (RevisionStatus )
Düzeltme kontrolünün sonucu.
|
apiVersion |
string
Bu istemci düzeltmesinin, API yöntemleri çağrılırken kullanması gereken API sürümü.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
https://www.googleapis.com/auth/games
https://www.googleapis.com/auth/games_lite
Daha fazla bilgi için OAuth 2.0 Overview (OAuth 2.0'a Genel Bakış) sayfasına göz atın.
RevisionStatus
Düzeltme kontrolünün sonucunu tanımlar.
Sıralamalar |
OK |
Kullanılmakta olan düzeltme güncel. |
DEPRECATED |
Şu anda kullanılabilir daha yeni bir sürüm var, ancak kullanılan düzeltme çalışmaya devam ediyor. |
INVALID |
Kullanılmakta olan düzeltme, yayınlanan hiçbir sürümde desteklenmiyor. |
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# Method: revisions.check\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.CheckRevisionResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [RevisionStatus](#RevisionStatus)\n- [Try it!](#try-it)\n\nChecks whether the games client is out of date.\n\n### HTTP request\n\n`GET https://games.googleapis.com/games/v1/revisions/check`\n\n### Query parameters\n\n| Parameters ||\n|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `clientRevision` | `string` Required. The revision of the client SDK used by your application. Format: `[PLATFORM_TYPE]:[VERSION_NUMBER]`. Possible values of `PLATFORM_TYPE` are: \\* `ANDROID` - Client is running the Android SDK. \\* `IOS` - Client is running the iOS SDK. \\* `WEB_APP` - Client is running as a Web App. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA third party checking a revision response.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"revisionStatus\": enum (/games/services/web/api/rest/v1/revisions/check#RevisionStatus), \"apiVersion\": string } ``` |\n\n| Fields ||\n|------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Uniquely identifies the type of this resource. Value is always the fixed string `games#revisionCheckResponse`. |\n| `revisionStatus` | `enum (`[RevisionStatus](/games/services/web/api/rest/v1/revisions/check#RevisionStatus)`)` The result of the revision check. |\n| `apiVersion` | `string` The version of the API this client revision should use when calling API methods. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/games`\n- `\n https://www.googleapis.com/auth/games_lite`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2).\n\nRevisionStatus\n--------------\n\nDefines result of the revision check.\n\n| Enums ||\n|--------------|----------------------------------------------------------------------------------------|\n| `OK` | The revision being used is current. |\n| `DEPRECATED` | There is currently a newer version available, but the revision being used still works. |\n| `INVALID` | The revision being used is not supported in any released version. |"]]