หน้า
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หน้าเว็บคือที่เจ้าของบล็อกใส่ข้อมูลคงที่ เช่น ข้อมูลติดต่อ รายละเอียดประวัติ และอื่นๆ
ดูรายการเมธอดสำหรับทรัพยากรนี้ได้ที่ส่วนท้ายของหน้านี้
การนำเสนอแหล่งข้อมูล
{
"kind": "blogger#page",
"id": string,
"status": string,
"blog": {
"id": string
},
"published": datetime,
"updated": datetime,
"url": string,
"selfLink": string,
"title": string,
"content": string,
"author": {
"id": string,
"displayName": string,
"url": string,
"image": {
"url": string
}
}
}
ชื่อพร็อพเพอร์ตี้ |
ค่า |
คำอธิบาย |
Notes |
kind |
string |
ประเภทของเอนทิตีนี้ blogger#page เสมอ |
|
id |
string |
รหัสสำหรับทรัพยากรนี้ |
|
blog |
object |
ข้อมูลเกี่ยวกับบล็อกที่มีหน้านี้ |
|
blog.id |
string |
รหัสของบล็อกที่มีหน้านี้ |
|
published |
datetime |
RFC 3339 date-time เมื่อเผยแพร่หน้านี้ |
|
updated |
datetime |
RFC 3339 date-time เมื่อหน้านี้ได้รับการอัปเดตล่าสุด |
|
url |
string |
URL ที่หน้านี้แสดง |
|
selfLink |
string |
URL ของ 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 รูปโปรไฟล์ของผู้สร้างหน้าเว็บ |
|
status |
string |
สถานะของหน้าสำหรับทรัพยากรของผู้ดูแลระบบ (LIVE หรือ DRAFT ) |
|
วิธีการ
หากต้องการเรียกข้อมูลรายการหน้าสำหรับบล็อก ให้ใช้เมธอด blogger.pages.list หากต้องการเรียกข้อมูลหน้าเว็บใดหน้าเว็บหนึ่ง ให้ใช้เมธอด blogger.pages.get
- list
- เรียกรายการหน้าสำหรับบล็อก
- รับ
- เรียกข้อมูลทรัพยากรหน้าเว็บ 1 รายการตามรหัสหน้า
- ลบ
- ลบหน้าเว็บตามรหัส
- แทรก
- เพิ่มหน้า
- แพตช์
- อัปเดตหน้า วิธีนี้รองรับความหมายของแพตช์
- อัปเดต
- อัปเดตหน้า
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-06-26 UTC
[null,null,["อัปเดตล่าสุด 2024-06-26 UTC"],[[["\u003cp\u003eBlogger pages are used to display static content like contact information and author bios.\u003c/p\u003e\n"],["\u003cp\u003ePages are represented as JSON objects with properties like \u003ccode\u003etitle\u003c/code\u003e, \u003ccode\u003econtent\u003c/code\u003e, \u003ccode\u003eauthor\u003c/code\u003e, and \u003ccode\u003estatus\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the Blogger API's \u003ccode\u003epages.list\u003c/code\u003e and \u003ccode\u003epages.get\u003c/code\u003e methods to retrieve page data.\u003c/p\u003e\n"],["\u003cp\u003eThe API also provides methods to manage pages, including \u003ccode\u003einsert\u003c/code\u003e, \u003ccode\u003eupdate\u003c/code\u003e, \u003ccode\u003epatch\u003c/code\u003e, and \u003ccode\u003edelete\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Pages are where blog owners put static information, such as contact information, bio details, and the like.\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```text\n{\n \"kind\": \"blogger#page\",\n \"id\": string,\n \"status\": string,\n \"blog\": {\n \"id\": string\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` | `string` | The ID for this resource. | |\n| `blog` | `object` | Data about the blog containing this page. | |\n| blog.`id` | `string` | The ID of the blog containing this page. | |\n| `published` | `datetime` | [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) `date-time` when this page was published. | |\n| `updated` | `datetime` | [RFC 3339](http://www.ietf.org/rfc/rfc3339.txt) `date-time` when this page was last updated. | |\n| `url` | `string` | The URL where this page is displayed. | |\n| `selfLink` | `string` | The API URL to fetch this resource from. | |\n| `title` | `string` | The title of this page. This is the name displayed in the administration 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 ID 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. | |\n| `status` | `string` | The status of the page for admin resources (either `LIVE` or `DRAFT`). | |\n\nMethods\n-------\n\nTo retrieve a list of pages for a blog, you can use the [blogger.pages.list](/blogger/docs/3.0/reference/pages/list) method. To retrieve an individual page, you can use the [blogger.pages.get](/blogger/docs/3.0/reference/pages/get) method.\n\n[list](/blogger/docs/3.0/reference/pages/list)\n: Retrieves the list of [pages](/blogger/docs/3.0/reference/pages) for a [blog](/blogger/docs/3.0/reference/blogs#resource).\n\n[get](/blogger/docs/3.0/reference/pages/get)\n: Retrieves one pages resource by its page ID.\n\n[delete](/blogger/docs/3.0/reference/pages/delete)\n: Delete a page by ID.\n\n[insert](/blogger/docs/3.0/reference/pages/insert)\n: Add a page.\n\n[patch](/blogger/docs/3.0/reference/pages/patch)\n: Update a page. This method supports patch semantics.\n\n[update](/blogger/docs/3.0/reference/pages/update)\n: Update a page."]]