Googlephotos

Learn how to use Googlephotos with Composio

Overview

Enum

GOOGLEPHOTOS

Description

Google Photos is a photo and video storage service that is part of the Google Drive office suite.

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to https://www.googleapis.com/auth/photoslibrary,https://www.googleapis.com/auth/photoslibrary.edit.appcreateddata

Actions

Lists all albums shown to a user in the albums tab of google photos.

Action Parameters

pageSize
integerDefaults to 20
pageToken
string
excludeNonAppCreatedData
boolean

Action Response

data
object
successful
boolean
error

Updates a media item’s description in google photos.

Action Parameters

mediaItemId
stringRequired
description
string

Action Response

data
object
successful
boolean
error

Creates a new album in google photos.

Action Parameters

title
stringRequired
id
string
productUrl
string
isWriteable
boolean
mediaItemsCount
string
coverPhotoBaseUrl
string
coverPhotoMediaItemId
string

Action Response

data
object
successful
boolean
error

Upload a media file to google photos. supports images (up to 200mb) and videos (up to 20gb).

Action Parameters

file_to_upload
objectRequired
description
string

Action Response

data
object
successful
boolean
error

Returns the list of media items for the specified media item identifiers.

Action Parameters

mediaItemIds
arrayRequired

Action Response

data
object
successful
boolean
error

Returns the album based on the specified albumid.

Action Parameters

albumId
stringRequired

Action Response

data
object
successful
boolean
error

Adds one or more media items to an album in google photos.

Action Parameters

albumId
stringRequired
mediaItemIds
arrayRequired

Action Response

data
object
successful
boolean
error

Downloads a media item from google photos and returns it as a file.

Action Parameters

mediaItemId
stringRequired

Action Response

data
object
successful
boolean
error

Searches for media items in a user’s google photos library.

Action Parameters

albumId
string
pageSize
integerDefaults to 25
pageToken
string
filters
object
orderBy
string

Action Response

data
object
successful
boolean
error

Adds an enrichment at a specified position in a defined album.

Action Parameters

albumId
stringRequired
newEnrichmentItem
objectRequired
albumPosition
object

Action Response

data
object
successful
boolean
error

Lists all media items from a user’s google photos library.

Action Parameters

pageSize
integerDefaults to 25
pageToken
string

Action Response

data
object
successful
boolean
error

Unified action to upload media files and create them as items in google photos.

Action Parameters

albumId
stringRequired
files
arrayRequired
albumPosition
object

Action Response

data
object
successful
boolean
error