取得書架上的磁碟區資訊。 立即試用。
要求
HTTP 要求
GET https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/volumes
參數
參數名稱 | 值 | 說明 |
---|---|---|
必要參數 | ||
shelf |
string |
擷取磁碟區 ID 或名稱的磁碟區。 |
選用參數 | ||
maxResults |
unsigned integer |
傳回的結果數量上限 |
projection |
string |
限制只傳回一組所選欄位的資訊。
可接受的值如下:
|
q |
string |
這個書架中的全文搜尋查詢查詢字串。 |
showPreorders |
boolean |
設為 true 即可顯示預購的書籍。預設值為 false。 |
source |
string |
用於識別此要求來源之字串的字串。 |
startIndex |
unsigned integer |
要傳回的第一個元素索引 (從 0 開始) |
要求主體
請不要透過此方法提供請求主體。
回應
如果成功的話,這個方法會傳回回應內文,其結構如下:
{ "kind": "books#volumes", "totalItems": integer, "items": [ volumes Resource ] }
資源名稱 | 值 | 說明 | Notes |
---|---|---|---|
kind |
string |
資源類型。 | |
totalItems |
integer |
找到的磁碟區總數。如果結果有分頁後的結果,結果可能大於此回應傳回的磁碟區。 | |
items[] |
list |
磁碟區清單。 |
動手操作
使用下方的多層檢視,針對即時資料呼叫這個方法並查看回應。