API Reference

本 API 參考資料是依照資源類型編排。各個資源類型都具有一或多種資料表示法,以及一或多種方法。

資源類型

  1. AchievementConfigurations
  2. ImageConfigurations
  3. LeaderboardConfigurations

AchievementConfigurations

如需 AchievementConfigurations 資源的詳細資料,請參閱資源表示法網頁。

方法 HTTP 要求 說明
相對於 https://www.googleapis.com/games/v1configuration 的 URI (除非另有註明)
刪除 DELETE  /achievements/achievementId 刪除具有指定 ID 的成就設定。
get GET  /achievements/achievementId 使用指定 ID 擷取關卡設定的中繼資料。
插入 POST  /applications/applicationId/achievements 在這個應用程式中插入新的關卡設定。
list GET  /applications/applicationId/achievements 傳回此應用程式中的關卡設定清單。
更新 PUT  /achievements/achievementId 使用指定 ID 更新關卡設定的中繼資料。

ImageConfigurations

如需 ImageConfigurations 資源詳細資料,請參閱資源表示法網頁。

方法 HTTP 要求 說明
相對於 https://www.googleapis.com/games/v1configuration 的 URI (除非另有註明)
上傳 POST
https://www.googleapis.com/upload/games/v1configuration/images/resourceId/imageType/imageType
為有指定 ID 和映像檔類型的資源上傳圖片。

LeaderboardConfigurations

如要進一步瞭解 LeaderboardConfigurations 資源,請參閱「資源表示法」頁面。

方法 HTTP 要求 說明
相對於 https://www.googleapis.com/games/v1configuration 的 URI (除非另有註明)
刪除 DELETE  /leaderboards/leaderboardId 刪除具有指定 ID 的排行榜設定。
get GET  /leaderboards/leaderboardId 使用指定 ID 擷取排行榜設定的中繼資料。
插入 POST  /applications/applicationId/leaderboards 在這個應用程式中插入新的排行榜設定。
list GET  /applications/applicationId/leaderboards 傳回此應用程式中的排行榜設定清單。
更新 PUT  /leaderboards/leaderboardId 以指定 ID 更新排行榜設定的中繼資料。