Method: apps.list
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह कुकी, उपयोगकर्ता के डिवाइस पर इंस्टॉल किए गए ऐप्लिकेशन की सूची बनाती है.
एचटीटीपी अनुरोध
GET https://www.googleapis.com/drive/v2/apps
यह यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
क्वेरी पैरामीटर
पैरामीटर |
appFilterExtensions |
string
'इनके साथ खोलें' सुविधा के लिए, फ़ाइल एक्सटेंशन की ऐसी सूची जिसमें उन्हें कॉमा लगाकर अलग किया गया है. ऐप्लिकेशन क्वेरी के दिए गए स्कोप में मौजूद वे सभी ऐप्लिकेशन जवाब में शामिल किए जाएंगे जो दिए गए किसी भी फ़ाइल एक्सटेंशन को खोल सकते हैं. अगर appFilterMimeTypes भी दिया जाता है, तो नतीजे के तौर पर मिलने वाली दोनों ऐप्लिकेशन सूचियों का यूनियन होता है.
|
appFilterMimeTypes |
string
'इसके साथ खोलें' सुविधा के लिए, कॉमा लगाकर अलग किए गए MIME टाइप की सूची. जवाब में, ऐप्लिकेशन क्वेरी के स्कोप में आने वाले वे सभी ऐप्लिकेशन शामिल होंगे जो दिए गए किसी भी MIME टाइप को खोल सकते हैं. अगर appFilterExtensions भी दिया जाता है, तो नतीजे के तौर पर मिलने वाली दोनों ऐप्लिकेशन सूचियों का यूनियन होता है.
|
languageCode |
string
BCP 47 के हिसाब से तय किया गया भाषा या स्थान-भाषा कोड. इसमें यूनिकोड के एलडीएमएल फ़ॉर्मैट (http://www.unicode.org/reports/tr35/) के कुछ एक्सटेंशन शामिल हैं.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
तीसरे पक्ष के उन ऐप्लिकेशन की सूची जिन्हें उपयोगकर्ता ने इंस्टॉल किया है या जिन्हें Google Drive का ऐक्सेस दिया है.
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
JSON के काेड में दिखाना |
{
"defaultAppIds": [
string
],
"items": [
{
object (App )
}
],
"etag": string,
"kind": string,
"selfLink": string
} |
फ़ील्ड |
defaultAppIds[] |
string
apps.list: ऐप्लिकेशन आईडी की वह सूची जिसे उपयोगकर्ता ने डिफ़ॉल्ट रूप से इस्तेमाल करने के लिए चुना है. सूची में, प्राथमिकता का क्रम उल्टा होता है (कम से ज़्यादा).
|
items[] |
object (App )
ऐप्लिकेशन की सूची.
|
etag |
string
सूची का ETag.
|
kind |
string
यह हमेशा drive#appList होता है.
|
selfLink |
string
इस सूची पर वापस जाने का लिंक.
|
अनुमति के स्कोप
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/drive.apps.readonly
कुछ स्कोप पर पाबंदी है. इसलिए, आपके ऐप्लिकेशन को इनका इस्तेमाल करने से पहले सुरक्षा का आकलन करना होगा. ज़्यादा जानकारी के लिए, अनुमति पाने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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)."]]