页面:list
bookmark_borderbookmark
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
重要提示:我们将于 2024 年 9 月 30 日停止支持 2.0 版 JSON API。为确保可继续使用功能,请将依赖 v2.0 JSON API 的应用更新到最新 API 版本。如需获取最新版本,请使用左侧导航栏中的链接。
检索博客的页面列表。
立即试用。
如果网页位于私密博客上,则必须进行身份验证。如果这些页面位于公开的博客上,则此方法无需身份验证即可调用。
请求
HTTP 请求
GET https://www.googleapis.com/blogger/v2/blogs/blogId/pages
参数
参数名称 |
值 |
说明 |
必需参数 |
blogId |
string |
要从中提取页面的博客 ID。
|
可选参数 |
fetchBodies |
boolean |
是否检索网页正文。
|
请求正文
使用此方法时请勿提供请求正文。
响应
如果成功,此方法将返回以下结构的响应正文:
{
"kind": "blogger#pageList",
"items": [
pages Resource
]
}
属性名称 |
值 |
说明 |
备注 |
kind |
string |
此实体的种类。始终为 blogger#pageList |
|
items[] |
list |
指定博客的网页资源列表。 |
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-06-26。"],[[["Support for the v2.0 JSON API will be discontinued on September 30th, 2024, requiring applications to update to the latest API version."],["This API retrieves a list of pages for a specified blog, requiring authentication only for private blogs."],["Requests should be made using an HTTP GET request to a structured URL including the blog ID."],["Optional parameters allow for specifying whether to retrieve page bodies along with basic information."],["Successful responses provide a list of pages in JSON format, including a kind identifier and an array of page resources."]]],[]]