Mylibrary.bookshelves:addVolume
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
需要授權
將書籍加入書架。立即試用。
要求
HTTP 要求
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/addVolume
參數
參數名稱 |
值 |
說明 |
必要參數 |
shelf |
string |
要新增書籍的書櫃 ID。 |
volumeId |
string |
要新增的音量 ID。 |
選用參數 |
source |
string |
用於識別這項要求發起者的字串。
|
授權
這項要求需要至少擁有下列其中一個範圍的授權 (進一步瞭解驗證和授權)。
範圍 |
https://www.googleapis.com/auth/books |
要求主體
請勿透過此方法提供要求主體。
歡迎試用!
您可以使用下方的 Explorer,針對即時資料呼叫這個方法,然後查看回應。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-08 (世界標準時間)。
[null,null,["上次更新時間:2024-11-08 (世界標準時間)。"],[[["\u003cp\u003eAdds a specified volume to a designated bookshelf within your library.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/books\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request uses the \u003ccode\u003ePOST\u003c/code\u003e method and does not require a request body.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution results in an empty response body, indicating the volume was added.\u003c/p\u003e\n"]]],[],null,["# Mylibrary.bookshelves: addVolume\n\n**Requires [authorization](#auth)**\n\nAdds a volume to a bookshelf.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP Request\n\n```\nPOST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/addVolume\n```\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|----------------|----------|----------------------------------------------------|\n| **Required Parameters** |||\n| `shelf` | `string` | ID of bookshelf to which to add a volume. |\n| `volumeId` | `string` | ID of volume to add. |\n| **Optional Parameters** |||\n| `source` | `string` | String to identify the originator of this request. |\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/books/docs/v1/using#auth)).\n\n| Scope |\n|-----------------------------------------|\n| `https://www.googleapis.com/auth/books` |\n\n### Request Body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns an empty response body.\n\nTry It!\n-------\n\n\nUse the explorer below to call this method on live data and see the response."]]