Method: reviews.reply
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الردّ على مراجعة واحدة أو تعديل ردّ حالي
طلب HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
packageName |
string
اسم حزمة التطبيق
|
reviewId |
string
معرّف فريد للمراجعة
|
نص الطلب
يحتوي نص الطلب على بيانات بالبنية التالية:
تمثيل JSON |
{
"replyText": string
} |
الحقول |
replyText |
string
النص المطلوب ضبطه كردّ سيتم رفض الردود التي تزيد عن 350 حرفًا تقريبًا. سيتم إزالة علامات HTML.
|
نص الاستجابة
تمثّل هذه السمة الردّ على حالة الردّ على مراجعة.
إذا كانت الاستجابة ناجحة، سيحتوي نص الاستجابة على بيانات بالبنية التالية:
الحقول |
result |
object (ReviewReplyResult )
هي نتيجة الردّ أو تعديل ردّ على المراجعة.
|
نطاقات الأذونات
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/androidpublisher
ReviewReplyResult
هي نتيجة الردّ أو تعديل ردّ على المراجعة.
تمثيل JSON |
{
"replyText": string,
"lastEdited": {
object (Timestamp )
}
} |
الحقول |
replyText |
string
نص الردّ الذي تم تطبيقه.
|
lastEdited |
object (Timestamp )
وقت سريان الرد.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eReplies to a single review or updates an existing reply using an HTTP POST request.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003epackageName\u003c/code\u003e, \u003ccode\u003ereviewId\u003c/code\u003e, and \u003ccode\u003ereplyText\u003c/code\u003e to process the request.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides the \u003ccode\u003ereplyText\u003c/code\u003e and \u003ccode\u003elastEdited\u003c/code\u003e timestamp of the reply.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],["This outlines how to reply to or update a reply to an app review using a POST request. The request URL is structured with `packageName` and `reviewId` path parameters. The request body is a JSON object with the `replyText` field. Successful responses return a JSON object with a `result` field, which includes the `replyText` and `lastEdited` timestamp. Authorization requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope.\n"],null,["# Method: reviews.reply\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ReviewsReplyResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [ReviewReplyResult](#ReviewReplyResult)\n - [JSON representation](#ReviewReplyResult.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nReplies to a single review, or updates an existing reply.\n\n### HTTP request\n\n`POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|------------------------------------------|\n| `packageName` | `string` Package name of the app. |\n| `reviewId` | `string` Unique identifier for a review. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------|\n| ``` { \"replyText\": string } ``` |\n\n| Fields ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `replyText` | `string` The text to set as the reply. Replies of more than approximately 350 characters will be rejected. HTML tags will be stripped. |\n\n### Response body\n\nResponse on status of replying to a review.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------|\n| ``` { \"result\": { object (/android-publisher/api-ref/rest/v3/reviews/reply#ReviewReplyResult) } } ``` |\n\n| Fields ||\n|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `result` | `object (`[ReviewReplyResult](/android-publisher/api-ref/rest/v3/reviews/reply#ReviewReplyResult)`)` The result of replying/updating a reply to review. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`\n\nReviewReplyResult\n-----------------\n\nThe result of replying/updating a reply to review.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------|\n| ``` { \"replyText\": string, \"lastEdited\": { object (/android-publisher/api-ref/rest/v3/reviews#Timestamp) } } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------|\n| `replyText` | `string` The reply text that was applied. |\n| `lastEdited` | `object (`[Timestamp](/android-publisher/api-ref/rest/v3/reviews#Timestamp)`)` The time at which the reply took effect. |"]]