คุณกำลังดูเอกสารประกอบเดิมสำหรับ Google Photos Library API
Method: mediaItems.get
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-07 UTC
[null,null,["อัปเดตล่าสุด 2024-11-07 UTC"],[[["This endpoint retrieves a specific media item using its unique identifier."],["The request is made using an HTTP GET request to the specified URL with the `mediaItemId` as a path parameter."],["An empty request body is required, and a successful response returns a `MediaItem` object."],["Authorization is necessary using one of the listed OAuth scopes related to Google Photos Library access."]]],["Retrieves a specific media item using its identifier. The request is a `GET` to the provided URL, `https://photoslibrary.googleapis.com/v1/mediaItems/{mediaItemId}`, with the `mediaItemId` parameter being mandatory. The request body must be empty. A successful response contains a `MediaItem` instance. Access requires one of the listed OAuth authorization scopes: `photoslibrary`, `photoslibrary.readonly`, or `photoslibrary.readonly.appcreateddata`.\n"]]