Danh sách đuôi tệp được phân tách bằng dấu phẩy để lọc tính năng mở bằng. Tất cả ứng dụng trong phạm vi truy vấn ứng dụng đã cho có thể mở bất kỳ tiện ích nào trong số các tiện ích tệp đã cho sẽ được đưa vào phản hồi. Nếu bạn cũng cung cấp appFilterMimeTypes, kết quả sẽ là một danh sách hợp nhất của hai danh sách ứng dụng kết quả.
appFilterMimeTypes
string
Danh sách các loại MIME được phân tách bằng dấu phẩy để lọc theo tính năng mở bằng. Tất cả ứng dụng trong phạm vi truy vấn ứng dụng đã cho có thể mở bất kỳ loại MIME nào đã cho sẽ được đưa vào phản hồi. Nếu bạn cũng cung cấp appFilterExtensions, kết quả sẽ là một danh sách hợp nhất của hai danh sách ứng dụng kết quả.
languageCode
string
Mã ngôn ngữ hoặc mã ngôn ngữ và quốc gia, theo định nghĩa của BCP 47, với một số tiện ích từ định dạng LDML của Unicode (http://www.unicode.org/reports/tr35/).
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Danh sách các ứng dụng bên thứ ba mà người dùng đã cài đặt hoặc cấp quyền truy cập vào Google Drive.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
apps.list: danh sách mã ứng dụng mà người dùng đã chỉ định sử dụng theo mặc định. Danh sách được sắp xếp theo thứ tự ưu tiên ngược (từ thấp nhất đến cao nhất).
Một số phạm vi bị hạn chế và yêu cầu bạn phải đánh giá bảo mật để ứng dụng của bạn có thể sử dụng các phạm vi đó. Để biết thêm thông tin, hãy xem Hướng dẫn uỷ quyền.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# Method: apps.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.AppList.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists a user's installed apps.\n\n### HTTP request\n\n`GET https://www.googleapis.com/drive/v2/apps`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `appFilterExtensions` | `string` A comma-separated list of file extensions for open with filtering. All apps within the given app query scope which can open any of the given file extensions will be included in the response. If `appFilterMimeTypes` are provided as well, the result is a union of the two resulting app lists. |\n| `appFilterMimeTypes` | `string` A comma-separated list of MIME types for open with filtering. All apps within the given app query scope which can open any of the given MIME types will be included in the response. If `appFilterExtensions` are provided as well, the result is a union of the two resulting app lists. |\n| `languageCode` | `string` A language or locale code, as defined by BCP 47, with some extensions from Unicode's LDML format (\u003chttp://www.unicode.org/reports/tr35/)\u003e. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA list of third-party applications which the user has installed or given access to Google Drive.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"defaultAppIds\": [ string ], \"items\": [ { object (/workspace/drive/api/reference/rest/v2/apps#App) } ], \"etag\": string, \"kind\": string, \"selfLink\": string } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| `defaultAppIds[]` | `string` apps.list of app IDs that the user has specified to use by default. The list is in reverse-priority order (lowest to highest). |\n| `items[]` | `object (`[App](/workspace/drive/api/reference/rest/v2/apps#App)`)` The list of apps. |\n| `etag` | `string` The ETag of the list. |\n| `kind` | `string` This is always `drive#appList`. |\n| `selfLink` | `string` A link back to this list. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/drive.apps.readonly`\n\nSome scopes are restricted and require a security assessment for your app to use them. For more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]