Skip to content

Commit

Permalink
feat(playintegrity): update the api
Browse files Browse the repository at this point in the history
#### playintegrity:v1

The following keys were added:
- schemas.AccountActivity (Total Keys: 3)
- schemas.AccountDetails.properties.accountActivity.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Oct 4, 2022
1 parent 3c1010e commit 909483c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/dyn/playintegrity_v1.v1.html
Expand Up @@ -110,6 +110,9 @@ <h3>Method Details</h3>
{ # Response containing the decoded integrity payload.
&quot;tokenPayloadExternal&quot;: { # Contains basic app information and integrity signals like device attestation and licensing details. # Plain token payload generated from the decoded integrity token.
&quot;accountDetails&quot;: { # Contains the account information such as the licensing status for the user in the scope. # Required. Details about the Play Store account.
&quot;accountActivity&quot;: { # 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. # Details about the account activity for the user in the scope.
&quot;activityLevel&quot;: &quot;A String&quot;, # Required. Indicates the activity level of the account.
},
&quot;accountRiskVerdict&quot;: { # Contains information about account risk that indicates if the current user session seems low risk, unknown, or risky before you allow important actions to proceed. # Details about the account risk for the user in the scope. This feature is available only to selected developers.
&quot;risk&quot;: &quot;A String&quot;, # Required. Indicates the account risk level of the current user session.
&quot;riskLevel&quot;: &quot;A String&quot;, # Required. Indicates the account risk level of the current user session.
Expand Down
33 changes: 32 additions & 1 deletion googleapiclient/discovery_cache/documents/playintegrity.v1.json
Expand Up @@ -138,13 +138,44 @@
}
}
},
"revision": "20220925",
"revision": "20221001",
"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.",
"id": "AccountActivity",
"properties": {
"activityLevel": {
"description": "Required. Indicates the activity level of the account.",
"enum": [
"ACTIVITY_LEVEL_UNSPECIFIED",
"UNEVALUATED",
"UNUSUAL",
"UNKNOWN",
"TYPICAL_BASIC",
"TYPICAL_STRONG"
],
"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."
],
"type": "string"
}
},
"type": "object"
},
"AccountDetails": {
"description": "Contains the account information such as the licensing status for the user in the scope.",
"id": "AccountDetails",
"properties": {
"accountActivity": {
"$ref": "AccountActivity",
"description": "Details about the account activity for the user in the scope."
},
"accountRiskVerdict": {
"$ref": "AccountRiskVerdict",
"description": "Details about the account risk for the user in the scope. This feature is available only to selected developers."
Expand Down

0 comments on commit 909483c

Please sign in to comment.