Mylibrary.bookshelves: clearVolumes
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memerlukan otorisasi
Menghapus semua volume dari rak buku.
Coba sekarang.
Permintaan
Permintaan HTTP
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/clearVolumes
Parameter
Nama Parameter |
Nilai |
Deskripsi |
Parameter Wajib |
shelf |
string |
ID rak buku tempat volume akan dihapus.
|
Parameter Opsional |
source |
string |
String untuk mengidentifikasi asal permintaan ini.
|
Otorisasi
Permintaan ini memerlukan otorisasi dengan setidaknya salah satu cakupan berikut (baca selengkapnya tentang autentikasi dan otorisasi).
Cakupan |
https://www.googleapis.com/auth/books |
Isi Permintaan
Jangan berikan isi permintaan dengan metode ini.
Respons
Jika berhasil, metode ini akan menampilkan isi respons kosong.
Cobalah!
Gunakan penjelajah di bawah ini untuk memanggil metode ini pada data langsung dan melihat responsnya.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-08 UTC.
[null,null,["Terakhir diperbarui pada 2024-11-08 UTC."],[[["\u003cp\u003eClears all volumes from a specified bookshelf.\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 to the specified endpoint.\u003c/p\u003e\n"],["\u003cp\u003eIt takes the shelf ID as a required parameter and an optional source parameter.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution results in an empty response body.\u003c/p\u003e\n"]]],[],null,["# Mylibrary.bookshelves: clearVolumes\n\n**Requires [authorization](#auth)**\n\nClears all volumes 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/clearVolumes\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| **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."]]