Method: apprecovery.cancel
subscriptions.یک اقدام بازیابی برنامه در حال اجرا را لغو کنید. توجه داشته باشید که این اقدام وضعیت عملکرد بازیابی را به CANCELED تغییر می دهد.
درخواست HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/appRecoveries/{appRecoveryId}:cancel
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
package Name | string مورد نیاز. نام بسته برنامه که برای آن لغو اقدام بازیابی درخواست شده است. |
app Recovery Id | string ( int64 format) مورد نیاز. شناسه مربوط به عملکرد بازیابی برنامه. |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/androidpublisher
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-12-18 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-12-18 بهوقت ساعت هماهنگ جهانی."],[[["Cancels an already executing app recovery action, changing its status to CANCELED."],["Requires the package name and the app recovery ID."],["Uses an HTTP POST request with an empty body."],["A successful operation returns an empty response body."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines the process for canceling an app recovery action via an HTTP POST request. The core action is sending a `POST` request to a specified URL, including the app's package name and the recovery action's ID as path parameters. The request body must be empty. Successful cancellation results in an empty response body and changes the action status to \"CANCELED\". Authorization requires the `androidpublisher` OAuth scope. The url follows gRPC transcoding syntax.\n"]]