API 參考資料

本 API 參考資料是依照資源類型編排。各個資源類型都具有一或多種資料表示法,以及一或多種方法。

書架

如需 Firestore 資源詳細資料,請參閱資源表示法頁面。

方法 REST URI * 說明
清單 GET  /users/userId/bookshelves 擷取指定使用者的公開 Bookshelf 資源清單。
get GET  /users/userId/bookshelves/shelf 擷取指定使用者的特定 Bookshelf 資源

* 相對於基本 URI:https://www.googleapis.com/books/v1

音量

如需磁碟區資源的詳細資料,請參閱資源表示法頁面。

方法 REST URI * 說明
get GET  /volumes/volumeId 根據 ID 擷取磁碟區資源
清單 GET  /volumes?q={search terms} 對書籍進行搜尋。

* 相對於基本 URI:https://www.googleapis.com/books/v1

Bookshelf.volumes

如需 Booksheelse.Volumes 資源的詳細資料,請參閱資源表示法網頁。

方法 REST URI * 說明
清單 GET  /users/userId/bookshelves/shelf/volumes 擷取指定使用者在特定書架中的磁碟區。

* 相對於基本 URI:https://www.googleapis.com/books/v1

Mylibrary.bookshelf

如需 Mylibrary.bookshelf 資源的詳細資料,請參閱資源表示法網頁。

方法 REST URI * 說明
addVolume POST  /mylibrary/bookshelves/shelf/addVolume 將磁碟區新增至書架。
clearVolumes POST  /mylibrary/bookshelves/shelf/clearVolumes 清除書架中的所有磁碟區。
get GET  /mylibrary/bookshelves/shelf 擷取已驗證使用者所擁有之特定書架的中繼資料。
清單 GET  /mylibrary/bookshelves 擷取屬於已驗證使用者的圖書書架清單。
moveVolume POST  /mylibrary/bookshelves/shelf/moveVolume 移動書架中的磁碟區。
removeVolume POST  /mylibrary/bookshelves/shelf/removeVolume 從書架上移除磁碟區。

* 相對於基本 URI:https://www.googleapis.com/books/v1

Mylibrary.bookshelf.volumes

如需 Mylibrary.bookshelf.volumes 資源詳細資料,請參閱資源表示法頁面。

方法 REST URI * 說明
清單 GET  /mylibrary/bookshelves/shelf/volumes 取得書架上的磁碟區資訊。

* 相對於基本 URI:https://www.googleapis.com/books/v1