Bookshelf

借助 Bookshelf 集合,您可以查看书架元数据,还可以修改书架的内容。

方法

以下方法适用于书架的公开数据,不需要进行身份验证。
books.bookshelves.list

list
检索指定用户的公共书架资源列表。
get
检索指定用户的特定书架资源

资源表示法

书架资源表示书架的元数据,但不包含书架中的图书。

{
  "kind": "books#bookshelf",
  "id": integer,
  "selfLink": string,
  "title": string,
  "description": string,
  "access": string,
  "updated": datetime,
  "created": datetime,
  "volumeCount": integer,
  "volumesLastUpdated": datetime
}
属性名称 说明 备注
kind string 书架元数据的资源类型。
id integer 相应书架的 ID。
title string 相应书架的标题。
description string 相应书架的说明。
access string 相应书架是公开还是私密。
updated datetime 相应书架的上次修改时间(采用毫秒级分辨率的格式化 UTC 时间戳)。
created datetime 相应书架的创建时间(采用世界协调时间 [UTC] 格式的时间戳,精确到毫秒)。
volumeCount integer 相应书架中的图书数量。
volumesLastUpdated datetime 上次向此书架添加或从中移除卷的时间(采用世界协调时间格式的时间戳,精确到毫秒)。