ボリューム: get
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ID に基づいてVolume リソースを取得します。今すぐお試しください。
ユーザー ID の詳細については、Google ブックス ID のセクションをご覧ください。
リクエスト
HTTP リクエスト
GET https://www.googleapis.com/books/v1/volumes/volumeId
パラメータ
パラメータ名 |
値 |
説明 |
必須パラメータ |
volumeId |
string |
取得するボリュームの ID。 |
オプション パラメータ |
partner |
string |
パートナー ID のブランド結果。
|
projection |
string |
選択した一連のフィールドに返される情報を制限します。
有効な値は次のとおりです。
- "
full " - すべてのボリューム データが含まれます。
- 「
lite 」- volumeInfo と accessInfo のフィールドのサブセットが含まれます。
|
source |
string |
このリクエストの送信元を識別する文字列。
|
リクエストの本文
このメソッドをリクエストの本文に含めないでください。
試してみる
以下のエクスプローラを使用して、ライブデータでこのメソッドを呼び出し、レスポンスを確認します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-08 UTC。
[null,null,["最終更新日 2024-11-08 UTC。"],[[["\u003cp\u003eRetrieves a specific book volume's information using its unique ID.\u003c/p\u003e\n"],["\u003cp\u003eRequest this information by sending a GET request to the specified URL with the volume ID.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, you can customize the request to include a partner ID, select specific fields to be returned, and identify the request's source.\u003c/p\u003e\n"],["\u003cp\u003eThe response, upon success, provides comprehensive details about the requested volume as defined in the Volume resource.\u003c/p\u003e\n"],["\u003cp\u003eExperiment with the API using the provided explorer for live data interaction and response visualization.\u003c/p\u003e\n"]]],[],null,["# Volume: get\n\nRetrieves a [Volume resource](/books/docs/v1/reference/volumes) based on ID.\n[Try it now](#try-it).\n\nMore information about user IDs can be found in the section [Google Books IDs](/books/docs/v1/using#ids).\n\nRequest\n-------\n\n### HTTP Request\n\n```\nGET https://www.googleapis.com/books/v1/volumes/volumeId\n```\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|----------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Required Parameters** |||\n| `volumeId` | `string` | ID of volume to retrieve. |\n| **Optional Parameters** |||\n| `partner` | `string` | Brand results for partner ID. |\n| `projection` | `string` | Restrict information returned to a set of selected fields. \u003cbr /\u003e \u003cbr /\u003e Acceptable values are: - \"`full`\" - Includes all volume data. - \"`lite`\" - Includes a subset of fields in volumeInfo and accessInfo. |\n| `source` | `string` | String to identify the originator of this request. |\n\n### Request Body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a [Volume resource](/books/docs/v1/reference/volumes#resource) in the response body.\n\nTry It!\n-------\n\n\nUse the explorer below to call this method on live data and see the response."]]