Bookshelves.volumes:list

為指定的使用者擷取特定書架中的磁碟區。 立即試用

要求

HTTP 要求

GET https://www.googleapis.com/books/v1/users/userId/bookshelves/shelf/volumes

參數

參數名稱 價值 說明
必要參數
shelf string 要擷取磁碟區的書架 ID。
userId string 要擷取書架磁碟區的使用者 ID。
選用參數
maxResults unsigned integer 要傳回的結果數上限
showPreorders boolean 如要顯示預購的書籍,請設為 true。預設值為 false。
source string 用於識別這項要求發起者的字串。
startIndex unsigned integer 要傳回的第一個元素的索引 (從 0 開始)

要求主體

請勿使用這個方法提供請求主體。

回覆

如果成功的話,這個方法會傳回回應內文,其結構如下:

{
  "kind": "books#volumes",
  "totalItems": integer,
  "items": [
    volumes Resource
  ]
}
資源名稱 價值 說明 附註
kind string 資源類型。
totalItems integer 找到的磁碟區總數。如果結果已分頁,這個值可能會大於這個回應中傳回的磁碟區數量。
items[] list 磁碟區清單。

歡迎試用!

您可以使用下方的檔案總管,針對即時資料呼叫這個方法,然後查看回應。