Mylibrary.bookshelves: removeVolume
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
認証が必要です
書棚から書籍を削除します。実習をご覧ください。
リクエスト
HTTP リクエスト
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/removeVolume
パラメータ
パラメータ名 |
値 |
説明 |
必須パラメータ |
shelf |
string |
ボリュームを削除する書棚の ID。
|
volumeId |
string |
削除するボリュームの ID。 |
オプション パラメータ |
source |
string |
このリクエストの送信元を識別する文字列。
|
承認
このリクエストは、少なくとも次のうち 1 つのスコープでの承認が必要です(認証と承認の詳細をご確認ください)。
範囲 |
https://www.googleapis.com/auth/books |
リクエストの本文
このメソッドをリクエストの本文に含めないでください。
レスポンス
成功すると、このメソッドによって空のレスポンスの本文が返されます。
試してみる
以下のエクスプローラを使用してライブデータに対してこのメソッドを呼び出し、レスポンスを確認してください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-08 UTC。
[null,null,["最終更新日 2024-11-08 UTC。"],[[["\u003cp\u003eRemoves a specified volume from a designated bookshelf within your Google Books 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 is made using an HTTP POST method to the provided endpoint.\u003c/p\u003e\n"],["\u003cp\u003eNecessary parameters include the bookshelf ID (\u003ccode\u003eshelf\u003c/code\u003e) and the volume ID (\u003ccode\u003evolumeId\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty for successful volume removal.\u003c/p\u003e\n"]]],[],null,["# Mylibrary.bookshelves: removeVolume\n\n**Requires [authorization](#auth)**\n\nRemoves a volume from 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/removeVolume\n```\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|----------------|----------|----------------------------------------------------|\n| **Required Parameters** |||\n| `shelf` | `string` | ID of bookshelf from which to remove a volume. |\n| `volumeId` | `string` | ID of volume to remove. |\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."]]