Mylibrary.bookshelves: addVolume
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Yetkilendirme gerektirir.
Kitap rafına cilt ekler.
Şimdi deneyin.
İstek
HTTP İsteği
POST https://www.googleapis.com/books/v1/mylibrary/bookshelves/shelf/addVolume
Parametreler
Parametre Adı |
Değer |
Açıklama |
Gerekli Parametreler |
shelf |
string |
Cilt eklenecek kitap rafının kimliği.
|
volumeId |
string |
Eklenecek birimin kimliği.
|
İsteğe bağlı parametreler |
source |
string |
Bu isteği gönderen kişiyi tanımlayan dize.
|
Yetkilendirme
Bu istek, aşağıdaki kapsamlardan en az birinde yetkilendirme gerektirir (kimlik doğrulama ve yetkilendirme hakkında daha fazla bilgi edinin).
Kapsam |
https://www.googleapis.com/auth/books |
İstek Metni
Bu yöntemle istek gövdesi sağlamayınız.
Yanıt
Başarılı olursa bu yöntem boş bir yanıt gövdesi döndürür.
Deneyin!
Canlı verilerde bu yöntemi çağırmak ve yanıtı görmek için aşağıdaki keşif aracını kullanın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-11-08 UTC.
[null,null,["Son güncelleme tarihi: 2024-11-08 UTC."],[[["\u003cp\u003eAdds a specified volume to a designated bookshelf within your 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 uses the \u003ccode\u003ePOST\u003c/code\u003e method and does not require a request body.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful execution results in an empty response body, indicating the volume was added.\u003c/p\u003e\n"]]],[],null,["# Mylibrary.bookshelves: addVolume\n\n**Requires [authorization](#auth)**\n\nAdds a volume to 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/addVolume\n```\n\n### Parameters\n\n| Parameter Name | Value | Description |\n|----------------|----------|----------------------------------------------------|\n| **Required Parameters** |||\n| `shelf` | `string` | ID of bookshelf to which to add a volume. |\n| `volumeId` | `string` | ID of volume to add. |\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."]]