المشاركات
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
ملاحظة مهمة:
سنتوقف عن إتاحة الإصدار 2.0 من واجهة برمجة التطبيقات JSON API في 30 أيلول (سبتمبر) 2024.
لضمان استمرار الوظائف الأدائية، يجب تحديث تطبيقاتك التي تعتمد على الإصدار 2.0 من واجهة برمجة التطبيقات JSON API
إلى أحدث إصدار من واجهة برمجة التطبيقات. للحصول على أحدث إصدار، استخدِم الروابط في شريط القوائم العلوي على يمين الصفحة.
تحتوي المشاركات على محتوى HTML لمقالة مدوّنة.
تمثيلات الموارد
يحتوي مورد "المشاركات" على البيانات والبيانات الوصفية لمقالة في مدوّنة.
{
"kind": "blogger#post",
"id": long,
"blog": {
"id": long
},
"published": datetime,
"updated": datetime,
"url": string,
"selfLink": string,
"title": string,
"content": string,
"author": {
"id": string,
"displayName": string,
"url": string,
"image": {
"url": string
}
},
"replies": {
"totalItems": long,
"selfLink": string
},
"labels": [
string
]
}
اسم الموقع |
القيمة |
الوصف |
ملاحظات |
kind |
string |
نوع هذا الكيان. blogger#post دائمًا |
|
id |
long |
معرّف هذه المشاركة. |
|
blog |
object |
بيانات عن المدوّنة التي تتضمّن هذه المشاركة |
|
blog.id |
long |
معرّف المدونة التي تحتوي على هذه المشاركة. |
|
published |
datetime |
التاريخ والوقت بتنسيق RFC 3339 عند نشر هذه المشاركة |
|
updated |
datetime |
التاريخ والوقت بتنسيق RFC 3339 لآخر تعديل على هذه المشاركة |
|
url |
string |
عنوان URL الذي يتم عرض هذه المشاركة عليه |
|
selfLink |
string |
عنوان URL لواجهة برمجة التطبيقات REST لتحميل هذا المرجع |
|
title |
string |
تمثّل هذه السمة عنوان المشاركة. |
|
content |
string |
محتوى المشاركة قد يحتوي على ترميز HTML. |
|
author |
object |
مؤلف هذه المشاركة. |
|
author.id |
string |
معرّف صانع المشاركة |
|
author.displayName |
string |
الاسم المعروض لصانع المشاركة. |
|
author.url |
string |
عنوان URL لصفحة الملف الشخصي لصانع المشاركة. |
|
author.image |
object |
الصورة الرمزية لصانع المشاركة |
|
author.image.url |
string |
عنوان URL لصورة ملف تعريف صانع المشاركة. |
|
replies |
object |
حاوية تعليقات هذه المشاركة |
|
replies.totalItems |
long |
إجمالي عدد التعليقات على هذه المشاركة. |
|
replies.selfLink |
string |
عنوان URL الخاص بالتعليقات على هذه المشاركة. |
|
labels[] |
list |
قائمة التصنيفات التي تمت الإشارة إليها في هذه المشاركة |
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-12-21 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-12-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eSupport for the v2.0 JSON API will be discontinued on September 30, 2024, requiring applications to update to the latest API version.\u003c/p\u003e\n"],["\u003cp\u003eThe API allows retrieval of blog posts using the \u003ccode\u003eblogger.posts.list\u003c/code\u003e and \u003ccode\u003eblogger.posts.get\u003c/code\u003e methods, enabling access to post data.\u003c/p\u003e\n"],["\u003cp\u003ePosts contain HTML content and metadata such as title, author information, publication date, and associated labels.\u003c/p\u003e\n"],["\u003cp\u003eThe "Posts Resource" provides a structured representation of a blog post, including details like ID, content, author, and comments.\u003c/p\u003e\n"]]],[],null,["# Posts\n\n**Important**:\nWe will discontinue support for the v2.0 JSON API on September 30th, 2024.\nTo ensure continued functionality, update your applications that rely on the v2.0 JSON API\nto the latest API version. For the latest version, use the links in the left-side navbar.\nPosts contain the HTML content of a blog post.\n\nMethods\n-------\n\nYou can retrieve the list of Posts for a Blog using the [blogger.posts.list](/blogger/docs/2.0/json/reference/posts/list) method, and retrieve an individual Post using the [blogger.posts.get](/blogger/docs/2.0/json/reference/posts/get) method.\n\n[list](/blogger/docs/2.0/json/reference/posts/list)\n: Retrieves a list of posts.\n\n[get](/blogger/docs/2.0/json/reference/posts/get)\n: Retrieves one post by postId.\n\nResource Representations\n------------------------\n\nThe Posts Resource contains the data and metadata for a post in a blog.\n\n```text\n{\n \"kind\": \"blogger#post\",\n \"id\": long,\n \"blog\": {\n \"id\": long\n },\n \"published\": datetime,\n \"updated\": datetime,\n \"url\": string,\n \"selfLink\": string,\n \"title\": string,\n \"content\": string,\n \"author\": {\n \"id\": string,\n \"displayName\": string,\n \"url\": string,\n \"image\": {\n \"url\": string\n }\n },\n \"replies\": {\n \"totalItems\": long,\n \"selfLink\": string\n },\n \"labels\": [\n string\n ]\n}\n```\n\n| Property Name | Value | Description | Notes |\n|----------------------|------------|-----------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#post`. | |\n| `id` | `long` | The identifier of this post. | |\n| `blog` | `object` | Data about the blog containing this post. | |\n| blog.`id` | `long` | The identifier of the blog that contains this post. | |\n| `published` | `datetime` | RFC 3339 date-time when this post was published. | |\n| `updated` | `datetime` | RFC 3339 date-time when this post was last updated. | |\n| `url` | `string` | The URL where this post is displayed. | |\n| `selfLink` | `string` | The API REST URL to fetch this resource from. | |\n| `title` | `string` | The title of the post. | |\n| `content` | `string` | The content of the post. May contain HTML markup. | |\n| `author` | `object` | The author of this post. | |\n| author.`id` | `string` | The identifier of the post creator. | |\n| author.`displayName` | `string` | The post creator's display name. | |\n| author.`url` | `string` | The URL of the post creator's Profile page. | |\n| author.`image` | `object` | The post creator's avatar. | |\n| author.image.`url` | `string` | The post creator's avatar URL. | |\n| `replies` | `object` | The container for this post's comments. | |\n| replies.`totalItems` | `long` | The total number of comments on this post. | |\n| replies.`selfLink` | `string` | The URL of the comments on this post. | |\n| `labels[]` | `list` | The list of labels this post was tagged with. | |"]]