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
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"]]