Mylibrary.về sách: clearvolumes
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Yêu cầu quyền uỷ quyền
Xoá tất cả các tập khỏi giá sách.
Thử ngay.
Yêu cầu
Yêu cầu HTTP
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/clearVolumes
Thông số
Tên thông số |
Giá trị |
Mô tả |
Thông số bắt buộc |
shelf |
string |
Mã nhận dạng của giá sách mà bạn muốn xoá một cuốn sách.
|
Thông số tuỳ chọn |
source |
string |
Chuỗi để xác định người khởi tạo của yêu cầu này.
|
Ủy quyền
Yêu cầu này yêu cầu uỷ quyền với ít nhất một trong các phạm vi sau (đọc thêm về việc xác thực và uỷ quyền).
Phạm vi |
https://www.googleapis.com/auth/books |
Nội dung yêu cầu
Đừng cung cấp nội dung yêu cầu bằng phương thức này.
Phản hồi
Nếu thành công, phương thức này sẽ trả về một nội dung phản hồi trống.
Thử ngay!
Sử dụng trình khám phá bên dưới để gọi phương thức này trên dữ liệu trực tiếp và xem phản hồi.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-11-08 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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."]]