Mylibrary.bookshelves: clearVolumes
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ต้องมีการให้สิทธิ์
ล้างหนังสือทั้งหมดออกจากชั้นวาง
ลองใช้เลย
ส่งคำขอ
คำขอ HTTP
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/clearVolumes
พารามิเตอร์
ชื่อพารามิเตอร์ |
ค่า |
คำอธิบาย |
พารามิเตอร์ที่จำเป็น |
shelf |
string |
รหัสของชั้นวางหนังสือที่จะลบเล่ม
|
พารามิเตอร์ที่ไม่บังคับ |
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\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."]]