Method: apprecovery.create
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ऐप्लिकेशन वापस पाने की कार्रवाई बनाएं, जिसमें रिकवरी की स्थिति ड्राफ़्ट के तौर पर दी गई हो. ध्यान दें कि यह क्रिया वापस पाने की कार्रवाई को लागू नहीं करती है.
एचटीटीपी अनुरोध
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
packageName |
string
ज़रूरी है. ऐप्लिकेशन का पैकेज नाम जिस पर रिकवरी की कार्रवाई की गई है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, यहां दिए गए स्ट्रक्चर का डेटा शामिल होता है:
JSON के काेड में दिखाना |
{
"targeting": {
object (Targeting )
},
// Union field recovery_action can be only one of the following:
"remoteInAppUpdate": {
object (RemoteInAppUpdate )
}
// End of list of possible types for union field recovery_action .
} |
फ़ील्ड |
targeting |
object (Targeting )
इससे रिकवरी ऐक्शन को टारगेट करने की शर्तें तय होती हैं. जैसे, क्षेत्र, android sdk वर्शन, ऐप्लिकेशन के वर्शन वगैरह.
|
यूनियन फ़ील्ड recovery_action . ऐप्लिकेशन वापस लाने के लिए की जाने वाली कार्रवाई का टाइप. ज़रूरी है. recovery_action इनमें से सिर्फ़ एक हो सकता है: |
remoteInAppUpdate |
object (RemoteInAppUpdate )
कार्रवाई का टाइप, रिमोट इन-ऐप्लिकेशन अपडेट है. इस कार्रवाई की वजह से, जांच के लिए एक रिकवरी मॉड्यूल भी बनाया जाता है, जिसे डाउनलोड किया जा सकता है.
|
जवाब का मुख्य भाग
कामयाब होने पर, जवाब के मुख्य हिस्से में AppRecoveryAction
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidpublisher
RemoteInAppUpdate
रिमोट इन-ऐप्लिकेशन अपडेट की कार्रवाई के टाइप के लिए ऑब्जेक्ट दिखाना.
JSON के काेड में दिखाना |
{
"isRemoteInAppUpdateRequested": boolean
} |
फ़ील्ड |
isRemoteInAppUpdateRequested |
boolean
ज़रूरी है. अगर रिमोट इन-ऐप्लिकेशन अपडेट के लिए, कार्रवाई टाइप की ज़रूरत हो, तो 'सही' पर सेट करें.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (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"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eCreate a draft app recovery action to address issues within your app, without immediate execution.\u003c/p\u003e\n"],["\u003cp\u003eDefine targeting criteria such as regions, Android versions, and app versions to control which users receive the recovery action.\u003c/p\u003e\n"],["\u003cp\u003eSpecify the recovery action type, in this case, a remote in-app update, enabling you to deliver a downloadable recovery module to affected users.\u003c/p\u003e\n"],["\u003cp\u003eUtilize the provided HTTP request structure with the necessary path parameters and request body to initiate the draft creation.\u003c/p\u003e\n"],["\u003cp\u003eThis action requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details creating an app recovery action using a POST request to `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries`. The request requires the app's package name as a path parameter. The request body must include `targeting` criteria and specify the `recovery_action`, with the only supported type being `remoteInAppUpdate`. This sets the `isRemoteInAppUpdateRequest` field to `true`. Successful requests return an `AppRecoveryAction` instance, and the operation requires the `androidpublisher` OAuth scope.\n"],null,[]]