網頁
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
重要事項:我們將在 2024 年 9 月 30 日停止支援 JSON API 2.0 版。為確保相關功能持續運作,請將使用 v2.0 JSON API 的應用程式更新為最新的 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 |
這個資源的 ID。 |
|
blog |
object |
包含此網頁的網誌相關資料。 |
|
blog.id |
long |
包含這個網頁的網誌 ID。 |
|
published |
datetime |
這個頁面發布時的 RFC 3339 日期時間。 |
|
updated |
datetime |
這個頁面上次更新的 RFC 3339 日期時間。 |
|
url |
string |
這個網頁顯示的網址。 |
|
selfLink |
string |
要擷取這項資源的 API REST 網址。 |
|
title |
string |
此頁面的標題。這是管理員使用者介面中顯示的名稱。 |
|
content |
string |
這個頁面的內文,以 HTML 格式呈現。 |
|
author |
object |
本頁面的作者。 |
|
author.id |
string |
網頁建立者的 ID。 |
|
author.displayName |
string |
網頁建立者的顯示名稱。 |
|
author.url |
string |
網頁建立者的個人資料頁面網址。 |
|
author.image |
object |
網頁創作者的顯示圖片。 |
|
author.image.url |
string |
網頁建立者的顯示圖片網址。 |
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["\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. | |"]]