Mylibrary.bookshelves: removeVolume
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wymaga autoryzacji
Usuwa tom z półki.
Wypróbuj
Żądanie
Żądanie HTTP
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/removeVolume
Parametry
Nazwa parametru |
Wartość |
Opis |
Parametry wymagane |
shelf |
string |
Identyfikator półki na książki, z której usunąć tom.
|
volumeId |
string |
Identyfikator woluminu do usunięcia.
|
Parametry opcjonalne |
source |
string |
Ciąg znaków identyfikujący nadawcę żądania.
|
Autoryzacja
To żądanie wymaga autoryzacji z co najmniej jednym z tych zakresów (więcej informacji o uwierzytelnianiu i autoryzacji).
Zakres |
https://www.googleapis.com/auth/books |
Treść żądania
W przypadku tej metody nie podawaj treści żądania.
Odpowiedź
Jeśli operacja się powiedzie, zwróci pustą odpowiedź.
Wypróbuj
Użyj eksploratora poniżej, aby wywołać tę metodę w przypadku bieżących danych i wyświetlić odpowiedź.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-08 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]