openapi: 3.1.0
info:
title: Google Photos Library Albums SharedAlbums API
description: The Google Photos Library API allows you to manage photos, videos, and albums in Google Photos. You can create and manage albums, upload and retrieve media items, and share albums with other users.
version: v1
contact:
name: Google
url: https://developers.google.com/photos
servers:
- url: https://photoslibrary.googleapis.com/v1
security:
- oauth2: []
tags:
- name: SharedAlbums
paths:
/sharedAlbums:
get:
operationId: listSharedAlbums
summary: List shared albums
description: Lists all shared albums available in the Sharing tab.
parameters:
- name: pageSize
in: query
schema:
type: integer
- name: pageToken
in: query
schema:
type: string
responses:
'200':
description: Successful response
tags:
- SharedAlbums
components:
securitySchemes:
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/photoslibrary: View and manage your Google Photos library
https://www.googleapis.com/auth/photoslibrary.readonly: View your Google Photos library
https://www.googleapis.com/auth/photoslibrary.sharing: Manage and add to shared albums