Method: customers.apps.fetchUsersRequestingExtension
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Получите список пользователей, которые запросили установку расширения.
HTTP-запрос
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/apps:fetchUsersRequestingExtension
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
customer | string Необходимый. Идентификатор клиента или «my_customer» с префиксом «customers/». |
Параметры запроса
Параметры |
---|
extensionId | string Необходимый. Расширение, для которого мы хотим найти запрашивающих пользователей. |
pageSize | integer Необязательный. Максимальное количество возвращаемых результатов. Максимум и значение по умолчанию — 50. Любой размер страницы, превышающий 50, будет уменьшен до 50. |
pageToken | string Необязательный. Токен для указания страницы возвращаемого запроса. Срок действия токена истекает через 1 день. |
orgUnitId | string Идентификатор организационного подразделения. Учитываются только устройства, которые непосредственно принадлежат данному организационному подразделению, т. е. подорганизации не учитываются. Если опущено, будут возвращены все данные. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
Ответ, содержащий список пользователей, запросивших запрошенное расширение.
В случае успеха тело ответа содержит данные следующей структуры:
Поля |
---|
userDetails[] | object ( UserRequestingExtensionDetails ) Сведения о пользователях, запросивших запрошенное расширение. |
totalSize | integer Общее количество пользователей, ответивших. |
nextPageToken | string Токен для указания следующей страницы в списке. |
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/chrome.management.appdetails.readonly
Детали UserRequestingExtensionDetails
Сведения о пользователе, запрашивающем продление, включая адрес электронной почты и обоснование.
JSON-представление |
---|
{
"email": string,
"justification": string
} |
Поля |
---|
email | string Адрес электронной почты пользователя, запросившего расширение. |
justification | string Обоснование запроса, введенное пользователем. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eFetches a list of users who have requested to install a specific extension.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.appdetails.readonly\u003c/code\u003e authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes user details (email and justification), total user count, and a token for pagination.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by organizational unit and provides options for pagination to handle large datasets.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and the response is a JSON object containing user details and pagination information.\u003c/p\u003e\n"]]],[],null,["# Method: customers.apps.fetchUsersRequestingExtension\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.FetchUsersRequestingExtensionResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [UserRequestingExtensionDetails](#UserRequestingExtensionDetails)\n - [JSON representation](#UserRequestingExtensionDetails.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGet a list of users that have requested to install an extension.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/apps:fetchUsersRequestingExtension`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|---------------------------------------------------------------------------------|\n| `customer` | `string` Required. The customer ID or \"my_customer\" prefixed with \"customers/\". |\n\n### Query parameters\n\n| Parameters ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `extensionId` | `string` Required. The extension for which we want to find the requesting users. |\n| `pageSize` | `integer` Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50. |\n| `pageToken` | `string` Optional. Token to specify the page of the request to be returned. Token expires after 1 day. |\n| `orgUnitId` | `string` The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse containing a list of users that have requested the queried extension.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"userDetails\": [ { object (/chrome/management/reference/rest/v1/customers.apps/fetchUsersRequestingExtension#UserRequestingExtensionDetails) } ], \"totalSize\": integer, \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userDetails[]` | `object (`[UserRequestingExtensionDetails](/chrome/management/reference/rest/v1/customers.apps/fetchUsersRequestingExtension#UserRequestingExtensionDetails)`)` Details of users that have requested the queried extension. |\n| `totalSize` | `integer` Total number of users in response. |\n| `nextPageToken` | `string` Token to specify the next page in the list. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.appdetails.readonly`\n\nUserRequestingExtensionDetails\n------------------------------\n\nDetails of a user requesting an extension, including the email and the justification.\n\n| JSON representation |\n|------------------------------------------------------|\n| ``` { \"email\": string, \"justification\": string } ``` |\n\n| Fields ||\n|-----------------|-------------------------------------------------------------------------|\n| `email` | `string` The e-mail address of a user that has requested the extension. |\n| `justification` | `string` Request justification as entered by the user. |"]]