المشاركات: العودة
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يتطلّب تفويضًا
إعادة مشاركة منشورة أو مُجدوَلة إلى حالة المسودة، ما يؤدي إلى إزالة المشاركة من المحتوى القابل للعرض بشكل علني
تجربة ذلك الآن
الطلب
طلب HTTP
POST https://www.googleapis.com/blogger/v3/blogs/blogId/posts/postId/revert
المعلمات
اسم المعلَمة |
القيمة |
الوصف |
المَعلمات المطلوبة |
blogId |
string |
رقم تعريف المدونة
|
postId |
string |
رقم تعريف المشاركة.
|
التفويض
يتطلب هذا الطلب تفويضًا باستخدام نطاق واحد على الأقل من النطاقات التالية (مزيد من المعلومات عن المصادقة والتفويض).
النطاق |
https://www.googleapis.com/auth/blogger |
نص الطلب
لا تقدِّم نص طلب باستخدام هذه الطريقة.
الرد
في حال نجاح هذه الطريقة، سيتم عرض مورد المشاركات في نص الاستجابة.
جرّب الآن
يمكنك استخدام "مستكشف واجهات برمجة التطبيقات" أدناه لطلب هذه الطريقة على البيانات المباشرة والاطّلاع على الردّ.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eRevert a published or scheduled blog post to draft state, removing it from public view.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/blogger\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP POST request to the specified endpoint with blogId and postId parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns a Posts resource representing the reverted post.\u003c/p\u003e\n"]]],[],null,["# Posts: revert\n\n**Requires [authorization](#auth)**\n\nRevert a published or scheduled post to draft state, which removes the post from the publicly viewable content.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/blogger/v3/blogs/blogId/posts/postId/revert\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------|\n| **Required parameters** |||\n| `blogId` | `string` | The ID of the Blog. |\n| `postId` | `string` | The ID of the Post. |\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/blogger/docs/3.0/using#auth)).\n\n| Scope |\n|-------------------------------------------|\n| `https://www.googleapis.com/auth/blogger` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a [Posts resource](/blogger/docs/3.0/reference/posts#resource) in the response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]