Mylibrary.bookshelves: MoveVolume
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
נדרשת הרשאה
העברת כרך בתוך מדף ספרים.
רוצים לנסות עכשיו?
בקשה
בקשת HTTP
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/moveVolume
פרמטרים
שם פרמטר |
ערך |
תיאור |
פרמטרים נדרשים |
shelf |
string |
מזהה של מדף ספרים עם כרך.
|
volumeId |
string |
המזהה של האחסון שרוצים להעביר.
|
volumePosition |
integer |
המיקום במדף שאליו רוצים להעביר את הפריט (0 – הפריט יופיע לפני הפריט הראשון הנוכחי, 1 – הפריט יופיע בין הפריט הראשון לשני וכן הלאה).
|
פרמטרים אופציונליים |
source |
string |
מחרוזת שמזהה את מבצע הבקשה.
|
אישור
הבקשה הזו דורשת הרשאה עם לפחות אחד מההיקפים הבאים (מידע נוסף על אימות והרשאה).
היקף |
https://www.googleapis.com/auth/books |
גוף הבקשה
אין לספק גוף בקשה בשיטה הזו.
תשובה
אם הפעולה בוצעה ללא שגיאות, ה-method מחזיר גוף תגובה ריק.
רוצה לנסות?
אפשר להשתמש בכלי הניתוחים שבהמשך כדי להפעיל את השיטה הזו על נתונים פעילים ולראות את התגובה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-08 (שעון UTC).
[null,null,["עדכון אחרון: 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."]]