Googlephotos

Learn how to use Googlephotos with Composio

Overview

SLUG

GOOGLEPHOTOS

Description

Google Photos is a cloud-based photo storage and organization service offering automatic backups, AI-assisted search, and shared albums for personal and collaborative media management

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
bearer_token
string

Tools

SLUG: GOOGLEPHOTOS_ADD_ENRICHMENT

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

Action Parameters

albumId
stringRequired
albumPosition
object
newEnrichmentItem
objectRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMS

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

Action Parameters

albumId
stringRequired
mediaItemIds
arrayRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMS

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

Action Parameters

albumId
stringRequired
albumPosition
object
files
arrayRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_BATCH_GET_MEDIA_ITEMS

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

Action Parameters

mediaItemIds
arrayRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_CREATE_ALBUM

Creates a new album in google photos.

Action Parameters

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

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_GET_ALBUM

Returns the album based on the specified albumid.

Action Parameters

albumId
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_GET_MEDIA_ITEM_DOWNLOAD

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

Action Parameters

mediaItemId
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_LIST_ALBUMS

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

Action Parameters

excludeNonAppCreatedData
boolean
pageSize
integerDefaults to 20
pageToken
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_LIST_MEDIA_ITEMS

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

Action Parameters

pageSize
integerDefaults to 25
pageToken
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_SEARCH_MEDIA_ITEMS

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

Action Parameters

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

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_UPDATE_ALBUM

Updates an album's title or cover photo in google photos.

Action Parameters

albumId
stringRequired
coverPhotoMediaItemId
string
title
string

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_UPDATE_MEDIA_ITEM

Updates a media item's description in google photos.

Action Parameters

description
string
mediaItemId
stringRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired

SLUG: GOOGLEPHOTOS_UPLOAD_MEDIA

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

Action Parameters

description
string
file_to_upload
objectRequired

Action Response

data
objectRequired
error
string
successful
booleanRequired