Method: customers.apps.fetchDevicesRequestingExtension
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
उन डिवाइसों की सूची पाएं जिन पर एक्सटेंशन इंस्टॉल करने का अनुरोध किया गया है.
एचटीटीपी अनुरोध
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/apps:fetchDevicesRequestingExtension
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
customer |
string
ज़रूरी है. ग्राहक आईडी या "my_customer" इससे पहले "customers/" जुड़ा होना चाहिए.
|
क्वेरी पैरामीटर
पैरामीटर |
extensionId |
string
ज़रूरी है. वह एक्सटेंशन जिसके लिए हम अनुरोध करने वाले डिवाइस ढूंढना चाहते हैं.
|
pageSize |
integer
ज़रूरी नहीं. दिए जाने वाले नतीजों की ज़्यादा से ज़्यादा संख्या. ज़्यादा से ज़्यादा और डिफ़ॉल्ट वैल्यू 50 हो सकती हैं. अगर पेज का साइज़ 50 से ज़्यादा है, तो उसे ही 50 कर दिया जाएगा.
|
pageToken |
string
ज़रूरी नहीं. दिखाए जाने वाले अनुरोध के पेज को बताने वाला टोकन. टोकन की समयसीमा एक दिन बाद खत्म हो जाएगी.
|
orgUnitId |
string
संगठन की इकाई का आईडी. सिर्फ़ उन डिवाइसों को चुनें जो संगठन की इस इकाई से सीधे तौर पर जुड़े हैं. जैसे, सब-संगठन की इकाइयों को नहीं गिना जाता. अगर इसे छोड़ दिया जाता है, तो पूरा डेटा लौटा दिया जाएगा.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
उन डिवाइसों की सूची वाला जवाब जिनके एक्सटेंशन के लिए अनुरोध किया गया है.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
फ़ील्ड |
deviceDetails[] |
object (DeviceRequestingExtensionDetails )
उन डिवाइस की जानकारी जिनके लिए अनुरोध किए गए एक्सटेंशन के लिए अनुरोध किया गया है.
|
totalSize |
integer
ज़रूरी नहीं. जवाब में शामिल डिवाइसों की कुल संख्या.
|
nextPageToken |
string
ज़रूरी नहीं. सूची में अगले पेज पर जाने के लिए टोकन. टोकन की समयसीमा एक दिन बाद खत्म हो जाएगी.
|
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/chrome.management.appdetails.readonly
DeviceRequestingExtensionDetails
एक्सटेंशन का अनुरोध करने वाले डिवाइस की जानकारी, जिसमें डिवाइस का नाम और अनुरोध करने की वजह शामिल है.
JSON के काेड में दिखाना |
{
"deviceName": string,
"justification": string
} |
फ़ील्ड |
deviceName |
string
उस डिवाइस का नाम जिसने एक्सटेंशन का अनुरोध किया है.
|
justification |
string
अनुरोध की वजह, जो उपयोगकर्ता ने डाली है.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis API retrieves a list of devices that have requested to install a specific extension.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the customer ID and extension ID as parameters.\u003c/p\u003e\n"],["\u003cp\u003eResults can be paginated using \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes device details such as device name and request justification.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003echrome.management.appdetails.readonly\u003c/code\u003e OAuth scope is necessary for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: customers.apps.fetchDevicesRequestingExtension\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.FetchDevicesRequestingExtensionResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [DeviceRequestingExtensionDetails](#DeviceRequestingExtensionDetails)\n - [JSON representation](#DeviceRequestingExtensionDetails.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGet a list of devices that have requested to install an extension.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/apps:fetchDevicesRequestingExtension`\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 requesting devices. |\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 devices that have requested the queried extension.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"deviceDetails\": [ { object (/chrome/management/reference/rest/v1/customers.apps/fetchDevicesRequestingExtension#DeviceRequestingExtensionDetails) } ], \"totalSize\": integer, \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `deviceDetails[]` | `object (`[DeviceRequestingExtensionDetails](/chrome/management/reference/rest/v1/customers.apps/fetchDevicesRequestingExtension#DeviceRequestingExtensionDetails)`)` Details of devices that have requested the queried extension. |\n| `totalSize` | `integer` Optional. Total number of devices in response. |\n| `nextPageToken` | `string` Optional. Token to specify the next page in the list. Token expires after 1 day. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.appdetails.readonly`\n\nDeviceRequestingExtensionDetails\n--------------------------------\n\nDetails of a device requesting an extension, including the name of the device and the justification of the request.\n\n| JSON representation |\n|-----------------------------------------------------------|\n| ``` { \"deviceName\": string, \"justification\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------|\n| `deviceName` | `string` The name of a device that has requested the extension. |\n| `justification` | `string` Request justification as entered by the user. |"]]