Method: edits.bundles.upload
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस बदलाव में नया Android ऐप्लिकेशन बंडल अपलोड करता है. अगर Google API क्लाइंट लाइब्रेरी का इस्तेमाल किया जा रहा है, तो इस एंडपॉइंट को कॉल करने से पहले, कृपया http अनुरोध के टाइम आउट को बढ़ाएं. हमारा सुझाव है कि आप टाइम आउट को दो मिनट पर सेट करें. java में उदाहरण के लिए, टाइम आउट और गड़बड़ियां देखें.
एचटीटीपी अनुरोध
- मीडिया अपलोड करने के अनुरोधों के लिए, अपलोड यूआरआई:
POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
- सिर्फ़ मेटाडेटा के अनुरोधों के लिए मेटाडेटा यूआरआई:
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
packageName |
string
ऐप्लिकेशन का पैकेज नेम.
|
editId |
string
बदलाव का आइडेंटिफ़ायर.
|
क्वेरी पैरामीटर
पैरामीटर |
ackBundleInstallationWarning (deprecated) |
boolean
समर्थन नहीं होना या रुकना. इंस्टॉल करने से जुड़ी चेतावनी हटा दी गई है. अब इस फ़ील्ड को सेट करने की ज़रूरत नहीं है.
|
deviceTierConfigId |
string
डिवाइस टीयर कॉन्फ़िगरेशन (डीटीसी), जिसका इस्तेमाल डिलीवर किए जाने वाले आइटम (एपीके) जनरेट करने के लिए किया जाता है. इसमें डीटीसी का आईडी या पिछली बार अपलोड किए गए डीटीसी के लिए "LATEST" शामिल होता है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में BundlesUploadRequestBody
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Bundle
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidpublisher
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-17 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-12-17 (UTC) को अपडेट किया गया."],[[["Uploads a new Android App Bundle to the specified edit using either media upload or metadata-only requests."],["Requires providing the package name and edit ID as path parameters in the request URL."],["Optionally allows setting query parameters for device tier config and acknowledging bundle installation warnings (deprecated)."],["Utilizes the `BundlesUploadRequestBody` in the request body and returns a `Bundle` object in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines how to upload an Android App Bundle to an edit using the Android Publisher API. Key actions include sending a `POST` request to a specified URI, which can be a media upload URI or a metadata-only URI. Required path parameters are `packageName` and `editId`. Optional query parameters include `deviceTierConfigId`, while `ackBundleInstallationWarning` is deprecated. The request body should contain `BundlesUploadRequestBody`, and a successful response will provide a `Bundle` instance. The operation requires the `androidpublisher` authorization scope. It is advised to increase the HTTP request timeout to 2 minutes.\n"]]