Bookshelf
集合可讓您查看書架中繼資料,以及修改書架的內容。
方法
下列方法適用於書架上的公開資料,因此不需要進行驗證。
books.bookshelf.listbooks.bookshelf.get
books.mylibrary.booksheelse.get
books.mylibrary.booksheelse.addVolume
books.mylibrary.bookshelf.removeVolume
books.mylibrary.bookshelf.clearVolumes
下列方法適用於書櫃的私人「我的圖書館」檢視畫面,而且需要進行驗證。
books.mylibrary.booksheelse.listbooks.mylibrary.booksheelse.get
books.mylibrary.booksheelse.addVolume
books.mylibrary.bookshelf.removeVolume
books.mylibrary.bookshelf.clearVolumes
- list
- 擷取指定使用者的公開 Bookshelf 資源清單。
- 取得
- 擷取指定使用者的特定 Bookshelf 資源。
資源代表
書架資源代表一個書架的中繼資料,不包含書架中的磁碟區。
{ "kind": "books#bookshelf", "id": integer, "selfLink": string, "title": string, "description": string, "access": string, "updated": datetime, "created": datetime, "volumeCount": integer, "volumesLastUpdated": datetime }
資源名稱 | 值 | 說明 | Notes |
---|---|---|---|
kind |
string |
書架中繼資料的資源類型。 | |
id |
integer |
此書架的 ID。 | |
title |
string |
此書架的名稱。 | |
description |
string |
此書架的說明。 | |
access |
string |
這個書架是「PUBLIC」或「PRIVATE」。 | |
updated |
datetime |
這個書架上次修改的時間 (格式為世界標準時間的時間戳記,以毫秒為單位)。 | |
created |
datetime |
為這個書架建立的時間 (格式為 UTC 時間戳記,單位為毫秒)。 | |
volumeCount |
integer |
這個書架中的磁碟區數量。 | |
volumesLastUpdated |
datetime |
上次在這個書架上新增或移除磁碟區時 (格式為 UTC 時間戳記,單位為毫秒)。 | |
selfLink |
string |
這項資源的網址。 |