Method: apps.list
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Permintaan HTTP
GET https://www.googleapis.com/drive/v3/apps
URL menggunakan sintaksis gRPC Transcoding.
Parameter kueri
Parameter |
appFilterExtensions |
string
Daftar ekstensi file yang dipisahkan koma untuk membatasi hasil yang ditampilkan. Semua hasil dalam cakupan kueri aplikasi tertentu yang dapat membuka ekstensi file tertentu disertakan dalam respons. Jika appFilterMimeTypes juga diberikan, hasilnya adalah gabungan dari dua daftar aplikasi yang dihasilkan.
|
appFilterMimeTypes |
string
Daftar ekstensi file yang dipisahkan koma untuk membatasi hasil yang ditampilkan. Semua hasil dalam cakupan kueri aplikasi tertentu yang dapat membuka salah satu jenis MIME tertentu akan disertakan dalam respons. Jika appFilterExtensions juga diberikan, hasilnya adalah gabungan dari dua daftar aplikasi yang dihasilkan.
|
languageCode |
string
Kode bahasa atau lokalitas, sebagaimana ditentukan oleh BCP 47, dengan beberapa ekstensi dari format LDML Unicode (http://www.unicode.org/reports/tr35/).
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Daftar aplikasi pihak ketiga yang telah diinstal atau diberi akses ke Google Drive oleh pengguna.
Jika berhasil, isi respons memuat data dengan struktur berikut:
Representasi JSON |
{
"defaultAppIds": [
string
],
"items": [
{
object (App )
}
],
"kind": string,
"selfLink": string
} |
Kolom |
defaultAppIds[] |
string
Daftar ID aplikasi yang telah ditentukan pengguna untuk digunakan secara default. Daftar ini diurutkan berdasarkan prioritas terbalik (terendah hingga tertinggi).
|
items[] |
object (App )
Daftar aplikasi.
|
kind |
string
Hanya output. Mengidentifikasi jenis resource ini. Nilai: string tetap "drive#appList".
|
selfLink |
string
Link kembali ke daftar ini.
|
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/drive.apps.readonly
Beberapa cakupan dibatasi dan memerlukan penilaian keamanan agar aplikasi Anda dapat menggunakannya. Untuk mengetahui informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 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. For more information, see [Return user info](https://developers.google.com/workspace/drive/api/guides/user-info).\n\n### HTTP request\n\n`GET https://www.googleapis.com/drive/v3/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 to limit returned results. All results within the given app query scope which can open any of the given file extensions are 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 file extensions to limit returned results. All results 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/v3/apps#App) } ], \"kind\": string, \"selfLink\": string } ``` |\n\n| Fields ||\n|-------------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `defaultAppIds[]` | `string` The 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/v3/apps#App)`)` The list of apps. |\n| `kind` | `string` Output only. Identifies what kind of resource this is. Value: the fixed string \"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)."]]