update all APIs

Like documented in the README

```
rm -f .api.deps .cli.deps && FETCH_APIS=1 make update-json -j8
```
This commit is contained in:
Sebastian Thiel
2024-03-05 18:54:36 +01:00
parent 8a12e9d47e
commit ca974aa0a5
347 changed files with 202580 additions and 50157 deletions

View File

@@ -138,11 +138,11 @@
}
}
},
"revision": "20230123",
"revision": "20240304",
"rootUrl": "https://playintegrity.googleapis.com/",
"schemas": {
"AccountActivity": {
"description": "Contains a signal helping apps differentiating between likely genuine users and likely non-genuine traffic (such as accounts being used for fraud, accounts used by automated traffic, or accounts used in device farms) based on the presence and volume of Play store activity.",
"description": "(Restricted Access) Contains a signal helping apps differentiating between likely genuine and likely non-genuine user traffic.",
"id": "AccountActivity",
"properties": {
"activityLevel": {
@@ -157,11 +157,11 @@
],
"enumDescriptions": [
"Activity level has not been set.",
"Account activity level is not evaluated because one of the prerequisite conditions is not met (e.g., device is not trusted, the user does not have Play app license)",
"Google Play store activity is unusual for at least one of the user accounts on the device. Google Play recommends checking that this is a real user.",
"Google Play does not have sufficient activity for the user account on the device. The account may be new, or it may lack activity on Google Play.",
"Google Play store activity is typical for the user account or accounts on the device.",
"Google Play store activity is typical for the user account or accounts on the device, with harder to replicate signals."
"Account activity level is not evaluated.",
"Unusual activity for at least one of the user accounts on the device.",
"Insufficient activity to verify the user account on the device.",
"Typical activity for the user account or accounts on the device.",
"Typical for the user account or accounts on the device, with harder to replicate signals."
],
"type": "string"
}
@@ -174,7 +174,7 @@
"properties": {
"accountActivity": {
"$ref": "AccountActivity",
"description": "Details about the account activity for the user in the scope."
"description": "(Restricted Access) Details about the account activity for the user in the scope."
},
"appLicensingVerdict": {
"description": "Required. Details about the licensing status of the user for the app in the scope.",
@@ -195,6 +195,53 @@
},
"type": "object"
},
"AppAccessRiskVerdict": {
"description": "Contains signals about others apps on the device which could be used to access or control the requesting app.",
"id": "AppAccessRiskVerdict",
"properties": {
"otherApps": {
"description": "Required. App access risk verdict related to apps that are not installed by Google Play, and are not preloaded on the system image by the device manufacturer.",
"enum": [
"UNKNOWN",
"UNEVALUATED",
"NOT_INSTALLED",
"INSTALLED",
"CAPTURING",
"CONTROLLING"
],
"enumDescriptions": [
"Risk type is unknown.",
"App access risk was not evaluated because a requirement was missed, such as the device not being trusted enough.",
"No apps under this field are installed on the device. This is only valid for the other apps field.",
"One or more apps under this field are installed on the device.",
"Apps under this field are running that could be used to read or capture inputs and outputs of the requesting app, such as screen recording apps.",
"Apps under this field are running that could be used to control the device and inputs and outputs of the requesting app, such as remote controlling apps."
],
"type": "string"
},
"playOrSystemApps": {
"description": "Required. App access risk verdict related to apps that are not installed by the Google Play Store, and are not preloaded on the system image by the device manufacturer.",
"enum": [
"UNKNOWN",
"UNEVALUATED",
"NOT_INSTALLED",
"INSTALLED",
"CAPTURING",
"CONTROLLING"
],
"enumDescriptions": [
"Risk type is unknown.",
"App access risk was not evaluated because a requirement was missed, such as the device not being trusted enough.",
"No apps under this field are installed on the device. This is only valid for the other apps field.",
"One or more apps under this field are installed on the device.",
"Apps under this field are running that could be used to read or capture inputs and outputs of the requesting app, such as screen recording apps.",
"Apps under this field are running that could be used to control the device and inputs and outputs of the requesting app, such as remote controlling apps."
],
"type": "string"
}
},
"type": "object"
},
"AppIntegrity": {
"description": "Contains the application integrity information.",
"id": "AppIntegrity",
@@ -261,7 +308,7 @@
"id": "DeviceIntegrity",
"properties": {
"deviceRecognitionVerdict": {
"description": "Details about the integrity of the device the app is running on",
"description": "Details about the integrity of the device the app is running on.",
"items": {
"enum": [
"UNKNOWN",
@@ -280,6 +327,70 @@
"type": "string"
},
"type": "array"
},
"recentDeviceActivity": {
"$ref": "RecentDeviceActivity",
"description": "Details about the device activity of the device the app is running on."
}
},
"type": "object"
},
"EnvironmentDetails": {
"description": "Contains information about the environment Play Integrity API runs in, e.g. Play Protect verdict.",
"id": "EnvironmentDetails",
"properties": {
"appAccessRiskVerdict": {
"$ref": "AppAccessRiskVerdict",
"description": "The evaluation of the App Access Risk verdicts."
},
"playProtectVerdict": {
"description": "The evaluation of Play Protect verdict.",
"enum": [
"PLAY_PROTECT_VERDICT_UNSPECIFIED",
"UNEVALUATED",
"NO_ISSUES",
"NO_DATA",
"MEDIUM_RISK",
"HIGH_RISK",
"POSSIBLE_RISK"
],
"enumDescriptions": [
"Play Protect verdict has not been set.",
"Play Protect state was not evaluated. Device may not be trusted.",
"Play Protect is on and no issues found.",
"Play Protect is on but no scan has been performed yet. The device or Play Store app may have been reset.",
"Play Protect is on and warnings found.",
"Play Protect is on and high severity issues found.",
"Play Protect is turned off. Turn on Play Protect."
],
"type": "string"
}
},
"type": "object"
},
"RecentDeviceActivity": {
"description": "Recent device activity can help developers identify devices that have exhibited hyperactive attestation activity, which could be a sign of an attack or token farming.",
"id": "RecentDeviceActivity",
"properties": {
"deviceActivityLevel": {
"description": "Required. Indicates the activity level of the device.",
"enum": [
"DEVICE_ACTIVITY_LEVEL_UNSPECIFIED",
"UNEVALUATED",
"LEVEL_1",
"LEVEL_2",
"LEVEL_3",
"LEVEL_4"
],
"enumDescriptions": [
"Device activity level has not been set.",
"Device activity level has not been evaluated.",
"Indicates the amount of used tokens. See the documentation for details.",
"Indicates the amount of used tokens. See the documentation for details.",
"Indicates the amount of used tokens. See the documentation for details.",
"Indicates the amount of used tokens. See the documentation for details."
],
"type": "string"
}
},
"type": "object"
@@ -335,6 +446,10 @@
"$ref": "DeviceIntegrity",
"description": "Required. Details about the device integrity."
},
"environmentDetails": {
"$ref": "EnvironmentDetails",
"description": "Details of the environment Play Integrity API runs in."
},
"requestDetails": {
"$ref": "RequestDetails",
"description": "Required. Details about the integrity request."