mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update all json files
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
"description": "The API for Google Play Game Services.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/games/services/",
|
||||
"etag": "\"9eZ1uxVRThTDhLJCZHhqs3eQWz4/XPfe6tjdZ-NZ9IXKc9c_sPq7eNw\"",
|
||||
"etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/IFpf9ao_W35aUtRpTb32pIvAg4o\"",
|
||||
"icons": {
|
||||
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
|
||||
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
|
||||
@@ -668,15 +668,17 @@
|
||||
"description": "Collection of players being retrieved",
|
||||
"enum": [
|
||||
"connected",
|
||||
"friends_all",
|
||||
"playedWith",
|
||||
"played_with",
|
||||
"visible"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Retrieve a list of players that are also playing this game in reverse chronological order.",
|
||||
"(DEPRECATED: please use played_with!) Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.",
|
||||
"Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.",
|
||||
"Retrieve a list of players in the user's social graph that are visible to this game."
|
||||
"(DEPRECATED) Retrieve a list of players that are also playing this game in reverse chronological order.",
|
||||
"Retrieve a list of players who are friends of the user in alphabetical order.",
|
||||
"(DEPRECATED) Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.",
|
||||
"(DEPRECATED) Retrieve a list of players you have played a multiplayer game (realtime or turn-based) with recently.",
|
||||
"(DEPRECATED: please use FRIENDS_ALL) Retrieve a list of players in the user's social graph that are visible to this game."
|
||||
],
|
||||
"location": "path",
|
||||
"required": true,
|
||||
@@ -739,118 +741,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"questMilestones": {
|
||||
"methods": {
|
||||
"claim": {
|
||||
"description": "Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user.",
|
||||
"httpMethod": "PUT",
|
||||
"id": "games.questMilestones.claim",
|
||||
"parameterOrder": [
|
||||
"questId",
|
||||
"milestoneId",
|
||||
"requestId"
|
||||
],
|
||||
"parameters": {
|
||||
"milestoneId": {
|
||||
"description": "The ID of the milestone.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"questId": {
|
||||
"description": "The ID of the quest.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
},
|
||||
"requestId": {
|
||||
"description": "A numeric ID to ensure that the request is handled correctly across retries. Your client application must generate this ID randomly.",
|
||||
"format": "int64",
|
||||
"location": "query",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "quests/{questId}/milestones/{milestoneId}/claim",
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/games"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"quests": {
|
||||
"methods": {
|
||||
"accept": {
|
||||
"description": "Indicates that the currently authorized user will participate in the quest.",
|
||||
"httpMethod": "POST",
|
||||
"id": "games.quests.accept",
|
||||
"parameterOrder": [
|
||||
"questId"
|
||||
],
|
||||
"parameters": {
|
||||
"language": {
|
||||
"description": "The preferred language to use for strings returned by this method.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"questId": {
|
||||
"description": "The ID of the quest.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "quests/{questId}/accept",
|
||||
"response": {
|
||||
"$ref": "Quest"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/games"
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"description": "Get a list of quests for your application and the currently authenticated player.",
|
||||
"httpMethod": "GET",
|
||||
"id": "games.quests.list",
|
||||
"parameterOrder": [
|
||||
"playerId"
|
||||
],
|
||||
"parameters": {
|
||||
"language": {
|
||||
"description": "The preferred language to use for strings returned by this method.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"maxResults": {
|
||||
"description": "The maximum number of quest resources to return in the response, used for paging. For any response, the actual number of quest resources returned may be less than the specified maxResults. Acceptable values are 1 to 50, inclusive. (Default: 50).",
|
||||
"format": "int32",
|
||||
"location": "query",
|
||||
"maximum": "50",
|
||||
"minimum": "1",
|
||||
"type": "integer"
|
||||
},
|
||||
"pageToken": {
|
||||
"description": "The token returned by the previous request.",
|
||||
"location": "query",
|
||||
"type": "string"
|
||||
},
|
||||
"playerId": {
|
||||
"description": "A player ID. A value of me may be used in place of the authenticated player's ID.",
|
||||
"location": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "players/{playerId}/quests",
|
||||
"response": {
|
||||
"$ref": "QuestListResponse"
|
||||
},
|
||||
"scopes": [
|
||||
"https://www.googleapis.com/auth/games"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"revisions": {
|
||||
"methods": {
|
||||
"check": {
|
||||
@@ -1203,13 +1093,11 @@
|
||||
"description": "The collection of scores you're requesting.",
|
||||
"enum": [
|
||||
"PUBLIC",
|
||||
"SOCIAL",
|
||||
"SOCIAL_1P"
|
||||
"SOCIAL"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"List all scores in the public leaderboard.",
|
||||
"List only social scores.",
|
||||
"List only social scores, not respecting the fACL."
|
||||
"List only social scores."
|
||||
],
|
||||
"location": "path",
|
||||
"required": true,
|
||||
@@ -1278,13 +1166,11 @@
|
||||
"description": "The collection of scores you're requesting.",
|
||||
"enum": [
|
||||
"PUBLIC",
|
||||
"SOCIAL",
|
||||
"SOCIAL_1P"
|
||||
"SOCIAL"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"List all scores in the public leaderboard.",
|
||||
"List only social scores.",
|
||||
"List only social scores, not respecting the fACL."
|
||||
"List only social scores."
|
||||
],
|
||||
"location": "path",
|
||||
"required": true,
|
||||
@@ -1902,7 +1788,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20190627",
|
||||
"revision": "20200402",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"AchievementDefinition": {
|
||||
@@ -3189,6 +3075,10 @@
|
||||
"$ref": "PlayerExperienceInfo",
|
||||
"description": "An object to represent Play Game experience information for the player."
|
||||
},
|
||||
"friendStatus": {
|
||||
"description": "The friend status of the given player, relative to the requester. This is unset if the player is not sharing their friends list with the game.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "games#player",
|
||||
"description": "Uniquely identifies the type of this resource. Value is always the fixed string games#player.",
|
||||
@@ -3220,6 +3110,9 @@
|
||||
"description": "The ID of the player.",
|
||||
"type": "string"
|
||||
},
|
||||
"playerStattus": {
|
||||
"type": "string"
|
||||
},
|
||||
"profileSettings": {
|
||||
"$ref": "ProfileSettings",
|
||||
"description": "The player's profile settings. Controls whether or not the player's profile is visible to other players."
|
||||
@@ -3607,13 +3500,16 @@
|
||||
"description": "This is a JSON template for profile settings",
|
||||
"id": "ProfileSettings",
|
||||
"properties": {
|
||||
"friendsListVisibility": {
|
||||
"description": "Whether the player's friends list is visible to the game.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "games#profileSettings",
|
||||
"description": "Uniquely identifies the type of this resource. Value is always the fixed string games#profileSettings.",
|
||||
"type": "string"
|
||||
},
|
||||
"profileVisible": {
|
||||
"description": "The player's current profile visibility. This field is visible to both 1P and 3P APIs.",
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
@@ -3670,190 +3566,6 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"Quest": {
|
||||
"description": "This is a JSON template for a Quest resource.",
|
||||
"id": "Quest",
|
||||
"properties": {
|
||||
"acceptedTimestampMillis": {
|
||||
"description": "The timestamp at which the user accepted the quest in milliseconds since the epoch in UTC. Only present if the player has accepted the quest.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"applicationId": {
|
||||
"description": "The ID of the application this quest is part of.",
|
||||
"type": "string"
|
||||
},
|
||||
"bannerUrl": {
|
||||
"description": "The banner image URL for the quest.",
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"description": "The description of the quest.",
|
||||
"type": "string"
|
||||
},
|
||||
"endTimestampMillis": {
|
||||
"description": "The timestamp at which the quest ceases to be active in milliseconds since the epoch in UTC.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"iconUrl": {
|
||||
"description": "The icon image URL for the quest.",
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"description": "The ID of the quest.",
|
||||
"type": "string"
|
||||
},
|
||||
"isDefaultBannerUrl": {
|
||||
"description": "Indicates whether the banner image being returned is a default image, or is game-provided.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"isDefaultIconUrl": {
|
||||
"description": "Indicates whether the icon image being returned is a default image, or is game-provided.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"kind": {
|
||||
"default": "games#quest",
|
||||
"description": "Uniquely identifies the type of this resource. Value is always the fixed string games#quest.",
|
||||
"type": "string"
|
||||
},
|
||||
"lastUpdatedTimestampMillis": {
|
||||
"description": "The timestamp at which the quest was last updated by the user in milliseconds since the epoch in UTC. Only present if the player has accepted the quest.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"milestones": {
|
||||
"description": "The quest milestones.",
|
||||
"items": {
|
||||
"$ref": "QuestMilestone"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the quest.",
|
||||
"type": "string"
|
||||
},
|
||||
"notifyTimestampMillis": {
|
||||
"description": "The timestamp at which the user should be notified that the quest will end soon in milliseconds since the epoch in UTC.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"startTimestampMillis": {
|
||||
"description": "The timestamp at which the quest becomes active in milliseconds since the epoch in UTC.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"description": "The state of the quest.\nPossible values are: \n- \"UPCOMING\": The quest is upcoming. The user can see the quest, but cannot accept it until it is open. \n- \"OPEN\": The quest is currently open and may be accepted at this time. \n- \"ACCEPTED\": The user is currently participating in this quest. \n- \"COMPLETED\": The user has completed the quest. \n- \"FAILED\": The quest was attempted but was not completed before the deadline expired. \n- \"EXPIRED\": The quest has expired and was not accepted. \n- \"DELETED\": The quest should be deleted from the local database.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"QuestContribution": {
|
||||
"description": "This is a JSON template for a Quest Criterion Contribution resource.",
|
||||
"id": "QuestContribution",
|
||||
"properties": {
|
||||
"formattedValue": {
|
||||
"description": "The formatted value of the contribution as a string. Format depends on the configuration for the associated event definition in the Play Games Developer Console.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "games#questContribution",
|
||||
"description": "Uniquely identifies the type of this resource. Value is always the fixed string games#questContribution.",
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"description": "The value of the contribution.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"QuestCriterion": {
|
||||
"description": "This is a JSON template for a Quest Criterion resource.",
|
||||
"id": "QuestCriterion",
|
||||
"properties": {
|
||||
"completionContribution": {
|
||||
"$ref": "QuestContribution",
|
||||
"description": "The total number of times the associated event must be incremented for the player to complete this quest."
|
||||
},
|
||||
"currentContribution": {
|
||||
"$ref": "QuestContribution",
|
||||
"description": "The number of increments the player has made toward the completion count event increments required to complete the quest. This value will not exceed the completion contribution.\nThere will be no currentContribution until the player has accepted the quest."
|
||||
},
|
||||
"eventId": {
|
||||
"description": "The ID of the event the criterion corresponds to.",
|
||||
"type": "string"
|
||||
},
|
||||
"initialPlayerProgress": {
|
||||
"$ref": "QuestContribution",
|
||||
"description": "The value of the event associated with this quest at the time that the quest was accepted. This value may change if event increments that took place before the start of quest are uploaded after the quest starts.\nThere will be no initialPlayerProgress until the player has accepted the quest."
|
||||
},
|
||||
"kind": {
|
||||
"default": "games#questCriterion",
|
||||
"description": "Uniquely identifies the type of this resource. Value is always the fixed string games#questCriterion.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"QuestListResponse": {
|
||||
"description": "This is a JSON template for a list of quest objects.",
|
||||
"id": "QuestListResponse",
|
||||
"properties": {
|
||||
"items": {
|
||||
"description": "The quests.",
|
||||
"items": {
|
||||
"$ref": "Quest"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"kind": {
|
||||
"default": "games#questListResponse",
|
||||
"description": "Uniquely identifies the type of this resource. Value is always the fixed string games#questListResponse.",
|
||||
"type": "string"
|
||||
},
|
||||
"nextPageToken": {
|
||||
"description": "Token corresponding to the next page of results.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"QuestMilestone": {
|
||||
"description": "This is a JSON template for a Quest Milestone resource.",
|
||||
"id": "QuestMilestone",
|
||||
"properties": {
|
||||
"completionRewardData": {
|
||||
"description": "The completion reward data of the milestone, represented as a Base64-encoded string. This is a developer-specified binary blob with size between 0 and 2 KB before encoding.",
|
||||
"format": "byte",
|
||||
"type": "string"
|
||||
},
|
||||
"criteria": {
|
||||
"description": "The criteria of the milestone.",
|
||||
"items": {
|
||||
"$ref": "QuestCriterion"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"id": {
|
||||
"description": "The milestone ID.",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"default": "games#questMilestone",
|
||||
"description": "Uniquely identifies the type of this resource. Value is always the fixed string games#questMilestone.",
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"description": "The current state of the milestone.\nPossible values are: \n- \"COMPLETED_NOT_CLAIMED\" - The milestone is complete, but has not yet been claimed. \n- \"CLAIMED\" - The milestone is complete and has been claimed. \n- \"NOT_COMPLETED\" - The milestone has not yet been completed. \n- \"NOT_STARTED\" - The milestone is for a quest that has not yet been accepted.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"RevisionCheckResponse": {
|
||||
"description": "This is a JSON template for the result of checking a revision.",
|
||||
"id": "RevisionCheckResponse",
|
||||
|
||||
Reference in New Issue
Block a user