आपको Google Photos Library API का लेगसी दस्तावेज़ दिख रहा है.
Method: sharedAlbums.get
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
दिए गए shareToken
के आधार पर एल्बम दिखाता है.
एचटीटीपी अनुरोध
GET https://photoslibrary.googleapis.com/v1/sharedAlbums/{shareToken}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
shareToken |
string
ज़रूरी है. उस एल्बम का टोकन शेयर करें जिसका ऐक्सेस पाने का अनुरोध करना है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Album
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/photoslibrary.sharing
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया."],[[["Retrieves a shared album using its unique `shareToken`."],["Requires an empty request body and returns the album details in the response."],["Utilizes the `GET` HTTP method and requires `photoslibrary.sharing` authorization scope."],["The API endpoint follows gRPC Transcoding syntax for the URL structure."]]],["The core content describes how to retrieve an album using a share token. A `GET` request is sent to the specified URL, including the required `shareToken` as a path parameter. The request body must be empty. A successful response returns an `Album` instance. This operation requires the `https://www.googleapis.com/auth/photoslibrary.sharing` authorization scope, as defined for sharing. There is also a try it option available to users.\n"]]