Retrieves the Android app permissions required by this app.
Request
HTTP request
GET https://www.googleapis.com/androidenterprise/v1/enterprises/enterpriseId/products/productId/permissions
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
enterpriseId |
string |
The ID of the enterprise. |
productId |
string |
The ID of the product. |
Authorization
This request requires authorization with the following scope:
Scope |
---|
https://www.googleapis.com/auth/androidenterprise |
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "androidenterprise#productPermissions", "productId": string, "permission": [ { "permissionId": string, "state": string } ] }
Property name | Value | Description | Notes |
---|---|---|---|
productId |
string |
The ID of the app that the permissions relate to, e.g. "app:com.google.android.gm". | |
permission[] |
list |
The permissions required by the app. | |
permission[].permissionId |
string |
An opaque string uniquely identifying the permission. | |
permission[].state |
string |
Whether the permission has been accepted or not.
Acceptable values are:
|
|
kind |
string |