信息页
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
重要提示:我们将于 2024 年 9 月 30 日停止支持 v2.0 JSON API。
为了确保功能继续正常运行,请将依赖于 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 |
此资源的标识符。 |
|
blog |
object |
包含此网页的博客的相关数据。 |
|
blog.id |
long |
包含此网页的博客的标识符。 |
|
published |
datetime |
此页面发布时的 RFC 3339 日期时间。 |
|
updated |
datetime |
此页面上次更新时的 RFC 3339 日期时间。 |
|
url |
string |
此网页的显示网址。 |
|
selfLink |
string |
用于提取此资源的 API REST 网址。 |
|
title |
string |
此页面的标题。这是“管理”界面中显示的名称。 |
|
content |
string |
此页面的正文内容(采用 HTML 格式)。 |
|
author |
object |
此页面的作者。 |
|
author.id |
string |
页面创建者的标识符。 |
|
author.displayName |
string |
页面创建者的显示名称。 |
|
author.url |
string |
页面创建者的个人资料页面的网址。 |
|
author.image |
object |
页面创建者的头像。 |
|
author.image.url |
string |
页面创建者的头像网址。 |
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-21。
[null,null,["最后更新时间 (UTC):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. | |"]]