|
138 | 138 | }
|
139 | 139 | }
|
140 | 140 | },
|
141 |
| - "revision": "20230415", |
| 141 | + "revision": "20230522", |
142 | 142 | "rootUrl": "https://playintegrity.googleapis.com/",
|
143 | 143 | "schemas": {
|
144 | 144 | "AccountActivity": {
|
|
284 | 284 | },
|
285 | 285 | "type": "object"
|
286 | 286 | },
|
| 287 | + "GuidanceDetails": { |
| 288 | + "description": "Contains guidance details about the Integrity API response, providing additional context to the integrity verdicts.", |
| 289 | + "id": "GuidanceDetails", |
| 290 | + "properties": { |
| 291 | + "userRemediation": { |
| 292 | + "description": "This shows when there is an issue with at least one of the integrity verdicts, and provides user remediation guidance.", |
| 293 | + "items": { |
| 294 | + "enum": [ |
| 295 | + "UNKNOWN_USER_REMEDIATION", |
| 296 | + "RESTORE_FACTORY_ROM", |
| 297 | + "LOCK_BOOTLOADER", |
| 298 | + "GET_UNMODIFIED_APP", |
| 299 | + "SIGN_INTO_GOOGLE_ACCOUNT", |
| 300 | + "INSTALL_APP_FROM_PLAY" |
| 301 | + ], |
| 302 | + "enumDescriptions": [ |
| 303 | + "Catch-all for unrecognized enum values. See go/protodosdonts.", |
| 304 | + "The user has installed a custom ROM, and should restore the device to a clean factory ROM.", |
| 305 | + "The device bootloader has been unlocked, the user should lock the bootloader.", |
| 306 | + "The app is unrecognized. The user should get an unmodified version of the app.", |
| 307 | + "The user has not signed into their Google account.", |
| 308 | + "The user has no license. They should install or purchase the app on the Google Play Store to add it to their library." |
| 309 | + ], |
| 310 | + "type": "string" |
| 311 | + }, |
| 312 | + "type": "array" |
| 313 | + } |
| 314 | + }, |
| 315 | + "type": "object" |
| 316 | + }, |
287 | 317 | "RequestDetails": {
|
288 | 318 | "description": "Contains the integrity request information.",
|
289 | 319 | "id": "RequestDetails",
|
|
335 | 365 | "$ref": "DeviceIntegrity",
|
336 | 366 | "description": "Required. Details about the device integrity."
|
337 | 367 | },
|
| 368 | + "guidanceDetails": { |
| 369 | + "$ref": "GuidanceDetails", |
| 370 | + "description": "Additional guidance related to the integrity API response." |
| 371 | + }, |
338 | 372 | "requestDetails": {
|
339 | 373 | "$ref": "RequestDetails",
|
340 | 374 | "description": "Required. Details about the integrity request."
|
|
0 commit comments