Method: apprecovery.deploy
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يمكنك نشر إجراء تم إنشاؤه لاسترداد تطبيق تم إنشاؤه مسبقًا باستخدام مسودة حالة الاسترداد. تجدر الإشارة إلى أن هذا الإجراء ينشط إجراء الاسترداد لجميع المستخدمين المستهدفين ويغيّر حالته إلى "نشط".
طلب HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المَعلمات |
packageName |
string
مطلوبة. اسم حزمة التطبيق الذي تم نشر إجراء الاسترداد له.
|
appRecoveryId |
string (int64 format)
مطلوبة. رقم التعريف المقابل لإجراء استرداد التطبيق المراد نشره.
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
في حال نجاح هذا الإجراء، يكون نص الاستجابة فارغًا.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/androidpublisher
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eDeploy an existing app recovery action with DRAFT status, activating it for all targeted users and changing its status to ACTIVE.\u003c/p\u003e\n"],["\u003cp\u003eThe request is sent as an empty POST request to the specified URL, requiring package name and app recovery ID.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful deployment, the response body will be empty.\u003c/p\u003e\n"]]],["This document outlines the process for deploying a draft app recovery action via an HTTP POST request. The request targets a specific app and recovery action ID, provided as path parameters: `packageName` and `appRecoveryId`. The URL utilizes gRPC Transcoding. The request body must be empty. A successful deployment, indicated by an empty response body, activates the recovery action for all targeted users, changing its status to ACTIVE. Authorization requires the `androidpublisher` OAuth scope.\n"],null,["# Method: apprecovery.deploy\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeploy an already created app recovery action with recovery status DRAFT. Note that this action activates the recovery action for all targeted users and changes its status to ACTIVE.\n\n### HTTP request\n\n`POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:deploy`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Required. Package name of the app for which recovery action is deployed. |\n| `appRecoveryId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. ID corresponding to the app recovery action to deploy. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]