ความคิดเห็น
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สำคัญ
เราจะหยุดรองรับ JSON API เวอร์ชัน 2.0 ในวันที่ 30 กันยายน 2024
โปรดอัปเดตแอปพลิเคชันที่อาศัย JSON API เวอร์ชัน 2.0 เป็น API เวอร์ชันล่าสุดเพื่อให้แอปพลิเคชันทำงานต่อไปได้ หากต้องการใช้เวอร์ชันล่าสุด ให้ใช้ลิงก์ในแถบนําทางด้านซ้าย
ความคิดเห็นสำหรับทรัพยากรโพสต์
การนําเสนอทรัพยากร
ทรัพยากรความคิดเห็นมีข้อมูลของความคิดเห็นในโพสต์
{
"kind": "blogger#comment",
"id": long,
"inReplyTo": {
"id": long
},
"post": {
"id": long
},
"blog": {
"id": long
},
"published": datetime,
"updated": datetime,
"selfLink": string,
"content": string,
"author": {
"id": string,
"displayName": string,
"url": string,
"image": {
"url": string
}
}
}
ชื่อพร็อพเพอร์ตี้ |
ค่า |
คำอธิบาย |
หมายเหตุ |
kind |
string |
ประเภทของรายการนี้ blogger#comment เสมอ |
|
id |
long |
ตัวระบุสำหรับทรัพยากรนี้ |
|
post |
object |
ข้อมูลเกี่ยวกับโพสต์ที่มีความคิดเห็นนี้ |
|
post.id |
long |
ตัวระบุของโพสต์ที่มีความคิดเห็นนี้ |
|
blog |
object |
ข้อมูลเกี่ยวกับบล็อกที่มีความคิดเห็นนี้ |
|
blog.id |
long |
ตัวระบุของบล็อกที่มีความคิดเห็นนี้ |
|
published |
datetime |
วันที่และเวลา RFC 3339 เมื่อเผยแพร่ความคิดเห็นนี้ |
|
updated |
datetime |
วันที่และเวลา RFC 3339 เมื่ออัปเดตความคิดเห็นนี้ครั้งล่าสุด |
|
selfLink |
string |
URL ของ REST API ที่จะดึงข้อมูลทรัพยากรนี้ |
|
content |
string |
เนื้อหาจริงของความคิดเห็น อาจใส่มาร์กอัป HTML |
|
author |
object |
ผู้เขียนความคิดเห็นนี้ |
|
author.id |
string |
ตัวระบุของผู้สร้างความคิดเห็น |
|
author.displayName |
string |
ชื่อที่แสดงของผู้สร้างความคิดเห็น |
|
author.url |
string |
URL ของหน้าโปรไฟล์ผู้สร้างความคิดเห็น |
|
author.image |
object |
คอนเทนเนอร์สำหรับ URL รูปโปรไฟล์ของครีเอเตอร์ |
|
author.image.url |
string |
URL ของรูปโปรไฟล์ผู้สร้างความคิดเห็น |
|
inReplyTo |
object |
ข้อมูลเกี่ยวกับความคิดเห็นที่ความคิดเห็นนี้ตอบกลับ |
|
inReplyTo.id |
long |
ตัวระบุของความคิดเห็นหลักของความคิดเห็นนี้ |
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eSupport for the v2.0 JSON API will be discontinued on September 30th, 2024.\u003c/p\u003e\n"],["\u003cp\u003eUpdate your applications to the latest API version to ensure continued functionality.\u003c/p\u003e\n"],["\u003cp\u003eUse the \u003ccode\u003eblogger.comments.list\u003c/code\u003e method to retrieve a list of comments for a post and the \u003ccode\u003eblogger.comments.get\u003c/code\u003e method to retrieve an individual comment.\u003c/p\u003e\n"],["\u003cp\u003eThe Comments Resource provides detailed information about a comment, including its content, author, and timestamps.\u003c/p\u003e\n"]]],[],null,["# Comments\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.\nThe comments for a [Posts](/blogger/docs/2.0/json/reference/posts) Resource.\n\nMethods\n-------\n\nTo retrieve a list of comments for a post, use the [blogger.comments.list](/blogger/docs/2.0/json/reference/comments/list) method. To retrieve an individual comment, use the [blogger.comments.get](/blogger/docs/2.0/json/reference/comments/get) method.\n\n[list](/blogger/docs/2.0/json/reference/comments/list)\n: Retrieves the list of [Comments](/blogger/docs/2.0/json/reference/comments) for a [Post](/blogger/docs/2.0/json/reference/posts).\n\n[get](/blogger/docs/2.0/json/reference/comments/get)\n: Retrieves one Comments Resource by its commentId.\n\nResource Representations\n------------------------\n\nThe Comments Resource contains the data for a comment on a post.\n\n```text\n{\n \"kind\": \"blogger#comment\",\n \"id\": long,\n \"inReplyTo\": {\n \"id\": long\n },\n \"post\": {\n \"id\": long\n },\n \"blog\": {\n \"id\": long\n },\n \"published\": datetime,\n \"updated\": datetime,\n \"selfLink\": string,\n \"content\": string,\n \"author\": {\n \"id\": string,\n \"displayName\": string,\n \"url\": string,\n \"image\": {\n \"url\": string\n }\n }\n}\n```\n\n| Property Name | Value | Description | Notes |\n|----------------------|------------|-------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entry. Always `blogger#comment`. | |\n| `id` | `long` | The identifier for this resource. | |\n| `post` | `object` | Data about the post containing this comment. | |\n| post.`id` | `long` | The identifier of the post containing this comment. | |\n| `blog` | `object` | Data about the blog containing this comment. | |\n| blog.`id` | `long` | The identifier of the blog containing this comment. | |\n| `published` | `datetime` | RFC 3339 date-time when this comment was published. | |\n| `updated` | `datetime` | RFC 3339 date-time when this comment was last updated. | |\n| `selfLink` | `string` | The API REST URL to fetch this resource from. | |\n| `content` | `string` | The actual content of the comment. May include HTML markup. | |\n| `author` | `object` | The author of this comment. | |\n| author.`id` | `string` | The identifier of the comment creator. | |\n| author.`displayName` | `string` | The comment creator's display name. | |\n| author.`url` | `string` | The URL of the comment creator's Profile page. | |\n| author.`image` | `object` | The container for the creator's avatar URL. | |\n| author.image.`url` | `string` | The URL of the comment creator's avatar image. | |\n| `inReplyTo` | `object` | Data about the comment this is in reply to. | |\n| inReplyTo.`id` | `long` | The identified of the parent of this comment. | |"]]