Method: sharedAlbums.get
מחזירה את האלבום על סמך shareToken
שצוין.
בקשת HTTP
GET https://photoslibrary.googleapis.com/v1/sharedAlbums/{shareToken}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
shareToken |
string
חובה. אסימון השיתוף של האלבום המבוקש.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של Album
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/photoslibrary.sharing
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-04-03 (שעון UTC).
[null,null,["עדכון אחרון: 2024-04-03 (שעון UTC)."],[[["This method retrieves an album using its share token."],["It requires an empty request body and returns an `Album` object upon success."],["Authorization is necessary using the `https://www.googleapis.com/auth/photoslibrary.sharing` scope."],["This method will be deprecated on March 31, 2025, due to changes in authorization scopes, as detailed on the Photos APIs updates page."]]],["The core content describes retrieving a shared album using a `shareToken`. A `GET` request is sent to the specified URL, including the required `shareToken` as a path parameter. The request body must be empty. Successful requests return an `Album` instance in the response body. The authorization scope `https://www.googleapis.com/auth/photoslibrary.sharing` is mandatory. Note: This method will stop working after March 31, 2025, due to scope removal.\n"]]