Mylibrary.bookshze: spostamentoVolume
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Richiede l'autorizzazione
Sposta un volume all'interno di una libreria.
Prova subito.
Richiesta
Richiesta HTTP
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/moveVolume
Parametri
Nome parametro |
Valore |
Descrizione |
Parametri obbligatori |
shelf |
string |
ID della libreria con il volume.
|
volumeId |
string |
ID del volume da spostare.
|
volumePosition |
integer |
Posizione sullo scaffale per spostare l'elemento (0 lo inserisce prima del primo elemento corrente, 1 tra il primo e il secondo e così via).
|
Parametri facoltativi |
source |
string |
Stringa per identificare l'autore di questa richiesta.
|
Autorizzazione
Questa richiesta richiede l'autorizzazione con almeno uno dei seguenti ambiti (scopri di più su autenticazione e autorizzazione).
Ambito |
https://www.googleapis.com/auth/books |
Corpo della richiesta
Non fornire un corpo della richiesta con questo metodo.
Risposta
In caso di esito positivo, questo metodo restituisce un corpo della risposta vuoto.
Provalo!
Utilizza l'esploratore di seguito per chiamare questo metodo sui dati in tempo reale e visualizzare la risposta.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-11-08 UTC.
[null,null,["Ultimo aggiornamento 2024-11-08 UTC."],[[["\u003cp\u003eMoves a volume to a different position within a specified bookshelf in 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 specifies the shelf ID, volume ID, and the desired position within the shelf.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP POST request to the \u003ccode\u003ehttps://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/moveVolume\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an empty response body, indicating the volume has been moved.\u003c/p\u003e\n"]]],[],null,["# Mylibrary.bookshelves: moveVolume\n\n**Requires [authorization](#auth)**\n\nMoves a volume within 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/moveVolume\n```\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|------------------|-----------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| **Required Parameters** |||\n| `shelf` | `string` | ID of bookshelf with the volume. |\n| `volumeId` | `string` | ID of volume to move. |\n| `volumePosition` | `integer` | Position on shelf to move the item (0 puts the item before the current first item, 1 puts it between the first and the second and so on.) |\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."]]