Pages
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
博客所有者在网页中放置静态信息,例如联系信息、个人简介详情等。
有关此类资源的方法列表,请参阅本页面的结尾部分。
资源表示法
{
"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
}
}
}
属性名称 |
价值 |
说明 |
备注 |
kind |
string |
此实体的种类。始终为 blogger#page 。 |
|
id |
string |
此资源的 ID。 |
|
blog |
object |
包含此网页的博客的数据。 |
|
blog.id |
string |
包含此页面的博客的 ID。 |
|
published |
datetime |
此页面发布时的 RFC 3339 date-time 。 |
|
updated |
datetime |
上次更新此页面时的 RFC 3339 date-time 。 |
|
url |
string |
显示此页面的网址。 |
|
selfLink |
string |
要从中提取此资源的 API 网址。 |
|
title |
string |
此页面的标题。这是在管理界面中显示的名称。 |
|
content |
string |
此网页的正文内容(HTML 格式)。 |
|
author |
object |
此页面的作者。 |
|
author.id |
string |
网页创建者的 ID。 |
|
author.displayName |
string |
网页创建者的显示名。 |
|
author.url |
string |
信息页创建者的个人资料页面的网址。 |
|
author.image |
object |
信息页创建者的头像。 |
|
author.image.url |
string |
网页创建者的头像网址。 |
|
status |
string |
管理资源页面的状态(LIVE 或 DRAFT )。 |
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-26。
[null,null,["最后更新时间 (UTC):2024-06-26。"],[[["\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."]]