Bookshelf 集合可讓您查看書架中繼資料及修改書架內容。
方法
下列方法適用於書架的公開資料,且不需驗證。
books.bookshelves.listbooks.bookshelves.get
books.mylibrary.bookshelves.get
books.mylibrary.bookshelves.addVolume
books.mylibrary.bookshelves.removeVolume
books.mylibrary.bookshelves.clearVolumes
  下列方法適用於私人的「我的圖書館」私人書架檢視畫面,必須驗證。
books.mylibrary.bookshelves.listbooks.mylibrary.bookshelves.get
books.mylibrary.bookshelves.addVolume
books.mylibrary.bookshelves.removeVolume
books.mylibrary.bookshelves.clearVolumes
- list
- 擷取指定使用者的公開 Bookshelf 資源清單。
- 取得
- 擷取指定使用者的特定 Bookshelf 資源。
資源表示法
一個書架資源代表一個書架的中繼資料,不包含 Bookshelf 中的磁碟區。
{
  "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 | 這個書架的上次修改時間 (採用世界標準時間的時間戳記格式,並以毫秒為單位的解析度)。 | |
| created | datetime | 這個書架的建立時間 (採用世界標準時間的時間戳記格式,並以毫秒為單位的解析度)。 | |
| volumeCount | integer | 這個書架中的磁碟區數量。 | |
| volumesLastUpdated | datetime | 上次在這個書架中新增或移除磁碟區的時間 (採用世界標準時間的時間戳記格式,並以毫秒為單位的解析度)。 | |
| selfLink | string | 這項資源的網址。 |