Mylibrary.bookbibliotecas: moveVolume
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Requiere autorización.
Mueve un volumen dentro de una estantería.
Pruébalo ahora.
Solicitud
Solicitud HTTP
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/moveVolume
Parámetros
Nombre del parámetro |
Valor |
Descripción |
Parámetros obligatorios |
shelf |
string |
ID de la estantería con el volumen.
|
volumeId |
string |
ID del volumen que se moverá.
|
volumePosition |
integer |
Es la posición en el estante para mover el artículo (0 lo coloca antes del primer artículo actual, 1 lo coloca entre el primero y el segundo, y así sucesivamente).
|
Parámetros opcionales |
source |
string |
Cadena para identificar al creador de esta solicitud.
|
Autorización
Esta solicitud requiere autorización con al menos uno de los siguientes alcances (obtén más información acerca de la autenticación y autorización).
Alcance |
https://www.googleapis.com/auth/books |
Cuerpo de la solicitud
No proporciones un cuerpo de la solicitud con este método.
Respuesta
Si se ejecuta correctamente, este método muestra un cuerpo de respuesta vacío.
Pruébalo
Usa el explorador que aparece a continuación para llamar a este método en los datos en tiempo real y ver la respuesta.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2024-11-08 (UTC)
[null,null,["Última actualización: 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."]]