หน้า
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สำคัญ
เราจะหยุดรองรับ JSON API เวอร์ชัน 2.0 ในวันที่ 30 กันยายน 2024
โปรดอัปเดตแอปพลิเคชันที่อาศัย JSON API เวอร์ชัน 2.0 เป็น API เวอร์ชันล่าสุดเพื่อให้แอปพลิเคชันทำงานต่อไปได้ หากต้องการใช้เวอร์ชันล่าสุด ให้ใช้ลิงก์ในแถบนําทางด้านซ้าย
หน้าเว็บคือที่ที่เจ้าของบล็อกใส่ข้อมูลแบบคงที่ เช่น ข้อมูลติดต่อ รายละเอียดประวัติ และอื่นๆ
การนําเสนอทรัพยากร
{
"kind": "blogger#page",
"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
}
}
}
ชื่อพร็อพเพอร์ตี้ |
ค่า |
คำอธิบาย |
หมายเหตุ |
kind |
string |
ประเภทของเอนทิตีนี้ blogger#page เสมอ |
|
id |
long |
ตัวระบุสำหรับทรัพยากรนี้ |
|
blog |
object |
ข้อมูลเกี่ยวกับบล็อกที่มีหน้านี้ |
|
blog.id |
long |
ตัวระบุของบล็อกที่มีหน้านี้ |
|
published |
datetime |
วันที่และเวลา RFC 3339 เมื่อเผยแพร่หน้านี้ |
|
updated |
datetime |
วันที่และเวลา RFC 3339 เมื่อหน้านี้ได้รับการอัปเดตครั้งล่าสุด |
|
url |
string |
URL ที่หน้านี้แสดง |
|
selfLink |
string |
URL ของ REST API ที่จะดึงข้อมูลทรัพยากรนี้ |
|
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 รูปโปรไฟล์ของผู้สร้างหน้า |
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-12-21 UTC
[null,null,["อัปเดตล่าสุด 2024-12-21 UTC"],[[["\u003cp\u003eBlogger's 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\u003ePages in Blogger are used for static content such as contact information and bios.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eblogger.pages.list\u003c/code\u003e and \u003ccode\u003eblogger.pages.get\u003c/code\u003e methods retrieve a list of pages or an individual page respectively.\u003c/p\u003e\n"],["\u003cp\u003ePage resources include properties like ID, blog details, publication and update timestamps, URL, title, content, and author information.\u003c/p\u003e\n"]]],[],null,["# Pages\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.\nPages are where blog owners put static information, such as contact information, bio details, and the like.\n\nMethods\n-------\n\nTo retrieve a list of pages for a blog, you can use the [blogger.pages.list](/blogger/docs/2.0/json/reference/pages/list) method. To retrieve an individual page, you can use the [blogger.pages.get](/blogger/docs/2.0/json/reference/pages/get) method.\n\n[list](/blogger/docs/2.0/json/reference/pages/list)\n: Retrieves the list of [Pages](/blogger/docs/2.0/json/reference/pages) for a [Blog](/blogger/docs/2.0/json/reference/blogs#resource).\n\n[get](/blogger/docs/2.0/json/reference/pages/get)\n: Retrieves one Pages Resource by its pageId.\n\nResource Representations\n------------------------\n\n\u003cbr /\u003e\n\n```text\n{\n \"kind\": \"blogger#page\",\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}\n```\n\n| Property Name | Value | Description | Notes |\n|----------------------|------------|---------------------------------------------------------------------------------|-------|\n| `kind` | `string` | The kind of this entity. Always `blogger#page`. | |\n| `id` | `long` | The identifier for this resource. | |\n| `blog` | `object` | Data about the blog containing this page. | |\n| blog.`id` | `long` | The identifier of the blog containing this page. | |\n| `published` | `datetime` | RFC 3339 date-time when this page was published. | |\n| `updated` | `datetime` | RFC 3339 date-time when this page was last updated. | |\n| `url` | `string` | The URL where this Page is displayed. | |\n| `selfLink` | `string` | The API REST URL to fetch this resource from. | |\n| `title` | `string` | The title of this page. This is the name displayed in the Admin user interface. | |\n| `content` | `string` | The body content of this page, in HTML. | |\n| `author` | `object` | The author of this page. | |\n| author.`id` | `string` | The identifier of the page creator. | |\n| author.`displayName` | `string` | The page creator's display name. | |\n| author.`url` | `string` | The URL of the page creator's Profile page. | |\n| author.`image` | `object` | The page creator's avatar. | |\n| author.image.`url` | `string` | The page creator's avatar URL. | |"]]