ข้อมูลอ้างอิงของ API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สำคัญ:
เราจะหยุดรองรับ JSON API เวอร์ชัน 2.0 ในวันที่ 30 กันยายน 2024
โปรดอัปเดตแอปพลิเคชันที่ใช้ JSON API เวอร์ชัน 2.0 เป็น API เวอร์ชันล่าสุดเพื่อให้ทำงานอย่างต่อเนื่อง หากต้องการดูเวอร์ชันล่าสุด ให้ใช้ลิงก์ในแถบนำทางด้านซ้าย
เอกสารอ้างอิง API นี้จัดเรียงตามประเภททรัพยากร ทรัพยากรแต่ละประเภทจะมีการนำเสนอข้อมูลอย่างน้อย 1 รายการและวิธีการอย่างน้อย 1 วิธี
บล็อก
สำหรับรายละเอียดทรัพยากรบล็อก โปรดดูหน้าการแสดงทรัพยากร
วิธีการ |
URI ของ REST * |
คำอธิบาย |
รับ
|
GET /blogs/blogId
|
รับ 1 บล็อกตามรหัส
|
* เกี่ยวข้องกับ URI พื้นฐาน: https://www.googleapis.com/blogger/v2
สำหรับรายละเอียดทรัพยากรความคิดเห็น โปรดดูที่หน้าการแสดงทรัพยากร
วิธีการ |
URI ของ REST * |
คำอธิบาย |
list
|
GET /blogs/blogId/posts/postId/comments
|
เรียกรายการความคิดเห็นสำหรับโพสต์
|
รับ
|
GET /blogs/blogId/posts/postId/comments/commentId
|
ดึงทรัพยากรความคิดเห็น 1 รายการตาม commentId ของทรัพยากรดังกล่าว
|
* เกี่ยวข้องกับ URI พื้นฐาน: https://www.googleapis.com/blogger/v2
Pages
สำหรับรายละเอียดของทรัพยากรของหน้า โปรดดูที่หน้าการแสดงทรัพยากร
วิธีการ |
URI ของ REST * |
คำอธิบาย |
list
|
GET /blogs/blogId/pages
|
เรียกรายการหน้าเว็บสำหรับบล็อก
|
รับ
|
GET /blogs/blogId/pages/pageId
|
ดึงทรัพยากรหน้าเว็บ 1 รายการตามรหัส pageId
|
* เกี่ยวข้องกับ URI พื้นฐาน: https://www.googleapis.com/blogger/v2
โพสต์
สำหรับรายละเอียดของทรัพยากรโพสต์ โปรดดูที่หน้าการแสดงทรัพยากร
วิธีการ |
URI ของ REST * |
คำอธิบาย |
list
|
GET /blogs/blogId/posts
|
เรียกรายการโพสต์
|
รับ
|
GET /blogs/blogId/posts/postId
|
เรียก 1 โพสต์ตาม postId
|
* เกี่ยวข้องกับ URI พื้นฐาน: https://www.googleapis.com/blogger/v2
ผู้ใช้
สำหรับรายละเอียดทรัพยากรผู้ใช้ โปรดดูหน้าการนำเสนอทรัพยากร
วิธีการ |
URI ของ REST * |
คำอธิบาย |
รับ
|
GET /users/userId
|
ดึงข้อมูลผู้ใช้ 1 รายตาม userId
|
* เกี่ยวข้องกับ URI พื้นฐาน: https://www.googleapis.com/blogger/v2
Users.blogs
สำหรับรายละเอียดทรัพยากรของ Users.blogs โปรดดูหน้าการแสดงทรัพยากร
วิธีการ |
URI ของ REST * |
คำอธิบาย |
list
|
GET /users/userId/blogs
|
เรียกรายชื่อบล็อกที่อาจกรองแล้ว
|
* เกี่ยวข้องกับ URI พื้นฐาน: https://www.googleapis.com/blogger/v2
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThe v2.0 JSON API will be discontinued on September 30th, 2024, and users should update their applications to the latest API version.\u003c/p\u003e\n"],["\u003cp\u003eThis API reference is structured by resource types such as Blogs, Comments, Pages, Posts, Users, and Users.blogs, each with its own data representations and methods.\u003c/p\u003e\n"],["\u003cp\u003eEach resource type provides methods for retrieving individual resources or lists of resources, using specific REST URIs relative to the base URI \u003ccode\u003ehttps://www.googleapis.com/blogger/v2\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information about each resource type's representation can be found on dedicated resource representation pages linked in the content.\u003c/p\u003e\n"]]],[],null,["# API Reference\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.\n\nThis API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.\n\nBlogs\n-----\n\nFor Blogs Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/blogs#resource) page.\n\n| Method | REST URI \\* | Description |\n|---------------------------------------------------|----------------------------------------------------------------|----------------------|\n| [get](/blogger/docs/2.0/json/reference/blogs/get) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e | Gets one blog by id. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nComments\n--------\n\nFor Comments Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/comments#resource) page.\n\n| Method | REST URI \\* | Description |\n|--------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| [list](/blogger/docs/2.0/json/reference/comments/list) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/posts/`\u003cvar class=\"apiparam\" translate=\"no\"\u003epostId\u003c/var\u003e`/comments` | Retrieves the list of [Comments](/blogger/docs/2.0/json/reference/comments) for a [Post](/blogger/docs/2.0/json/reference/posts). |\n| [get](/blogger/docs/2.0/json/reference/comments/get) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/posts/`\u003cvar class=\"apiparam\" translate=\"no\"\u003epostId\u003c/var\u003e`/comments/`\u003cvar class=\"apiparam\" translate=\"no\"\u003ecommentId\u003c/var\u003e | Retrieves one Comments Resource by its commentId. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nPages\n-----\n\nFor Pages Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/pages#resource) page.\n\n| Method | REST URI \\* | Description |\n|-----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [list](/blogger/docs/2.0/json/reference/pages/list) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/pages` | Retrieves the list of [Pages](/blogger/docs/2.0/json/reference/pages) for a [Blog](/blogger/docs/2.0/json/reference/blogs#resource). |\n| [get](/blogger/docs/2.0/json/reference/pages/get) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/pages/`\u003cvar class=\"apiparam\" translate=\"no\"\u003epageId\u003c/var\u003e | Retrieves one Pages Resource by its pageId. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nPosts\n-----\n\nFor Posts Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/posts#resource) page.\n\n| Method | REST URI \\* | Description |\n|-----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|-------------------------------|\n| [list](/blogger/docs/2.0/json/reference/posts/list) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/posts` | Retrieves a list of posts. |\n| [get](/blogger/docs/2.0/json/reference/posts/get) | `GET /blogs/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eblogId\u003c/var\u003e`/posts/`\u003cvar class=\"apiparam\" translate=\"no\"\u003epostId\u003c/var\u003e | Retrieves one post by postId. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nUsers\n-----\n\nFor Users Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/users#resource) page.\n\n| Method | REST URI \\* | Description |\n|---------------------------------------------------|----------------------------------------------------------------|-------------------------------|\n| [get](/blogger/docs/2.0/json/reference/users/get) | `GET /users/`\u003cvar class=\"apiparam\" translate=\"no\"\u003euserId\u003c/var\u003e | Retrieves one user by userId. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2\n\nUsers.blogs\n-----------\n\nFor Users.blogs Resource details, see the [resource representation](/blogger/docs/2.0/json/reference/users/blogs#resource) page.\n\n| Method | REST URI \\* | Description |\n|-----------------------------------------------------------|------------------------------------------------------------------------|-----------------------------------------------|\n| [list](/blogger/docs/2.0/json/reference/users/blogs/list) | `GET /users/`\u003cvar class=\"apiparam\" translate=\"no\"\u003euserId\u003c/var\u003e`/blogs` | Retrieves a list of blogs, possibly filtered. |\n\n\\* Relative to the base URI: https://www.googleapis.com/blogger/v2"]]