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
เหตุผลของคำขอตามที่ผู้ใช้ป้อน
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers 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. |"]]