আপনি Google Photos Library API-এর জন্য লিগ্যাসি ডকুমেন্টেশন দেখছেন।
Photos Library API
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
Google Photos-এ ফটো, ভিডিও এবং অ্যালবাম পরিচালনা করুন
পরিষেবা: photoslibrary.googleapis.com
পরিষেবা শেষ পয়েন্ট
একটি পরিষেবা শেষ পয়েন্ট হল একটি বেস URL যা একটি API পরিষেবার নেটওয়ার্ক ঠিকানা নির্দিষ্ট করে৷ একটি পরিষেবার একাধিক পরিষেবা শেষ পয়েন্ট থাকতে পারে। এই পরিষেবাটির নিম্নলিখিত পরিষেবা শেষ পয়েন্ট রয়েছে এবং নীচের সমস্ত URIগুলি এই পরিষেবার শেষ পয়েন্টের সাথে সম্পর্কিত:
-
https://photoslibrary.googleapis.com
পদ্ধতি |
---|
addEnrichment | POST /v1/albums/{albumId}:addEnrichment একটি সংজ্ঞায়িত অ্যালবামে একটি নির্দিষ্ট অবস্থানে একটি সমৃদ্ধি যোগ করে। |
batchAddMediaItems | POST /v1/albums/{albumId}:batchAddMediaItems একটি অ্যালবামে ব্যবহারকারীর Google ফটো লাইব্রেরিতে এক বা একাধিক মিডিয়া আইটেম যোগ করে। |
batchRemoveMediaItems | POST /v1/albums/{albumId}:batchRemoveMediaItems একটি নির্দিষ্ট অ্যালবাম থেকে এক বা একাধিক মিডিয়া আইটেম সরিয়ে দেয়। |
create | POST /v1/albums ব্যবহারকারীর Google ফটো লাইব্রেরিতে একটি অ্যালবাম তৈরি করে৷ |
get | GET /v1/albums/{albumId} নির্দিষ্ট albumId উপর ভিত্তি করে অ্যালবামটি ফেরত দেয়। |
list | GET /v1/albums Google Photos অ্যাপের অ্যালবাম ট্যাবে ব্যবহারকারীকে দেখানো সমস্ত অ্যালবামের তালিকা করে। |
patch | PATCH /v1/albums/{album.id} নির্দিষ্ট id দিয়ে অ্যালবাম আপডেট করুন। |
share | POST /v1/albums/{albumId}:share একটি অ্যালবামকে শেয়ার করা এবং অন্যান্য ব্যবহারকারীদের কাছে অ্যাক্সেসযোগ্য হিসাবে চিহ্নিত করে৷ |
unshare | POST /v1/albums/{albumId}:unshare একটি পূর্বে ভাগ করা অ্যালবামকে ব্যক্তিগত হিসাবে চিহ্নিত করে৷ |
পদ্ধতি |
---|
get | GET /v1/sharedAlbums/{shareToken} নির্দিষ্ট shareToken উপর ভিত্তি করে অ্যালবামটি ফেরত দেয়। |
join | POST /v1/sharedAlbums:join Google Photos ব্যবহারকারীর পক্ষে একটি শেয়ার করা অ্যালবামে যোগদান করে৷ |
leave | POST /v1/sharedAlbums:leave Google Photos ব্যবহারকারীর পক্ষ থেকে একটি পূর্বে যোগদান করা শেয়ার্ড অ্যালবাম ছেড়ে যায়৷ |
list | GET /v1/sharedAlbums ব্যবহারকারীর Google Photos অ্যাপের শেয়ারিং ট্যাবে উপলব্ধ সমস্ত শেয়ার করা অ্যালবামের তালিকা করে৷ |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe Google Photos Library API allows developers to manage photos, videos, and albums programmatically using REST resources.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can create, update, and delete albums; add and remove media items; and share albums with others using specific endpoints.\u003c/p\u003e\n"],["\u003cp\u003eMedia items can be created, retrieved, updated, searched, and listed using the API, enabling comprehensive media management functionalities.\u003c/p\u003e\n"],["\u003cp\u003eShared albums can be retrieved, joined, and left using designated endpoints, providing functionalities for collaborative photo sharing experiences.\u003c/p\u003e\n"],["\u003cp\u003eAll API requests are relative to the base service endpoint: \u003ccode\u003ehttps://photoslibrary.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"]]],["This content details how to interact with Google Photos via its API, accessible at `https://photoslibrary.googleapis.com`. Actions include managing albums (creating, listing, getting, updating, adding/removing media, sharing, unsharing), and media items (creating, listing, getting, updating, searching). It also covers managing shared albums (getting, joining, leaving, listing). Each action corresponds to specific HTTP methods (POST, GET, PATCH) at defined endpoints.\n"],null,["# Photos Library API\n\nManage photos, videos, and albums in Google Photos\n\n- [REST Resource: v1.albums](#v1.albums)\n- [REST Resource: v1.mediaItems](#v1.mediaItems)\n- [REST Resource: v1.sharedAlbums](#v1.sharedAlbums)\n\nService: photoslibrary.googleapis.com\n-------------------------------------\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://photoslibrary.googleapis.com`\n\nREST Resource: [v1.albums](/photos/library/legacy/reference/rest/v1/albums)\n---------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| [addEnrichment](/photos/library/legacy/reference/rest/v1/albums/addEnrichment) | `POST /v1/albums/{albumId}:addEnrichment` Adds an enrichment at a specified position in a defined album. |\n| [batchAddMediaItems](/photos/library/legacy/reference/rest/v1/albums/batchAddMediaItems) | `POST /v1/albums/{albumId}:batchAddMediaItems` Adds one or more media items in a user's Google Photos library to an album. |\n| [batchRemoveMediaItems](/photos/library/legacy/reference/rest/v1/albums/batchRemoveMediaItems) | `POST /v1/albums/{albumId}:batchRemoveMediaItems` Removes one or more media items from a specified album. |\n| [create](/photos/library/legacy/reference/rest/v1/albums/create) | `POST /v1/albums` Creates an album in a user's Google Photos library. |\n| [get](/photos/library/legacy/reference/rest/v1/albums/get) | `GET /v1/albums/{albumId}` Returns the album based on the specified `albumId`. |\n| [list](/photos/library/legacy/reference/rest/v1/albums/list) | `GET /v1/albums` Lists all albums shown to a user in the Albums tab of the Google Photos app. |\n| [patch](/photos/library/legacy/reference/rest/v1/albums/patch) | `PATCH /v1/albums/{album.id}` Update the album with the specified `id`. |\n| [share](/photos/library/legacy/reference/rest/v1/albums/share) | `POST /v1/albums/{albumId}:share` Marks an album as shared and accessible to other users. |\n| [unshare](/photos/library/legacy/reference/rest/v1/albums/unshare) | `POST /v1/albums/{albumId}:unshare` Marks a previously shared album as private. |\n\nREST Resource: [v1.mediaItems](/photos/library/legacy/reference/rest/v1/mediaItems)\n-----------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [batchCreate](/photos/library/legacy/reference/rest/v1/mediaItems/batchCreate) | `POST /v1/mediaItems:batchCreate` Creates one or more media items in a user's Google Photos library. |\n| [batchGet](/photos/library/legacy/reference/rest/v1/mediaItems/batchGet) | `GET /v1/mediaItems:batchGet` Returns the list of media items for the specified media item identifiers. |\n| [get](/photos/library/legacy/reference/rest/v1/mediaItems/get) | `GET /v1/mediaItems/{mediaItemId}` Returns the media item for the specified media item identifier. |\n| [list](/photos/library/legacy/reference/rest/v1/mediaItems/list) | `GET /v1/mediaItems` List all media items from a user's Google Photos library. |\n| [patch](/photos/library/legacy/reference/rest/v1/mediaItems/patch) | `PATCH /v1/mediaItems/{mediaItem.id}` Update the media item with the specified `id`. |\n| [search](/photos/library/legacy/reference/rest/v1/mediaItems/search) | `POST /v1/mediaItems:search` Searches for media items in a user's Google Photos library. |\n\nREST Resource: [v1.sharedAlbums](/photos/library/legacy/reference/rest/v1/sharedAlbums)\n---------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|\n| [get](/photos/library/legacy/reference/rest/v1/sharedAlbums/get) | `GET /v1/sharedAlbums/{shareToken}` Returns the album based on the specified `shareToken`. |\n| [join](/photos/library/legacy/reference/rest/v1/sharedAlbums/join) | `POST /v1/sharedAlbums:join` Joins a shared album on behalf of the Google Photos user. |\n| [leave](/photos/library/legacy/reference/rest/v1/sharedAlbums/leave) | `POST /v1/sharedAlbums:leave` Leaves a previously-joined shared album on behalf of the Google Photos user. |\n| [list](/photos/library/legacy/reference/rest/v1/sharedAlbums/list) | `GET /v1/sharedAlbums` Lists all shared albums available in the Sharing tab of the user's Google Photos app. |"]]