← Tools Reference

Google Photos

Google Photos integration (Storage, Design). Imported from open-connector.

OAuth17 toolshttps://photoslibrary.googleapis.com/v1
POST
googlephotos_list_albums
List Google Photos albums visible to the current application connection. If you need the user to choose from their existing Google Photos library, use the Pick…

/albums

2 parameters
ParamTypeRequiredDescription
pageSizeintegeroptionalThe maximum number of albums to return per page (1-50).
pageTokenstringoptionalA page token to retrieve the next page of results.
POST
googlephotos_get_album
Fetch one Google Photos album by ID.

/albums/{albumId}

1 parameter
ParamTypeRequiredDescription
albumIdstringrequiredThe ID of the album to fetch.
POST
googlephotos_create_album
Create a Google Photos album.

/albums

1 parameter
ParamTypeRequiredDescription
titlestringrequiredThe title for the new album (maximum 500 characters).
PATCH
googlephotos_update_album
Update a Google Photos album title or cover photo.

/albums/{albumId}

3 parameters
ParamTypeRequiredDescription
albumIdstringrequiredThe ID of the album to update.
titlestringoptionalThe new title for the album (maximum 500 characters).
coverPhotoMediaItemIdstringoptionalThe media item ID to set as the new album cover photo.
POST
googlephotos_add_enrichment
Add an enrichment item to a Google Photos album.

/albums/{albumId}

3 parameters
ParamTypeRequiredDescription
albumIdstringrequiredThe ID of the album to add the enrichment to.
albumPositionobjectrequiredThe position type within the album.
newEnrichmentItemobjectrequiredOne Google Photos enrichment variant.
POST
googlephotos_list_media_items
List Google Photos Library API media items created by this application.

/mediaItems

2 parameters
ParamTypeRequiredDescription
pageSizeintegeroptionalThe maximum number of media items to return per page (1-100).
pageTokenstringoptionalA page token to retrieve the next page of results.
POST
googlephotos_search_media_items
Search Google Photos Library API media items created by this application.

/mediaItems

5 parameters
ParamTypeRequiredDescription
albumIdstringoptionalThe ID of the album to search within.
pageSizeintegeroptionalThe maximum number of media items to return per page (1-100).
pageTokenstringoptionalA page token to retrieve the next page of results.
orderBystringoptionalThe sort order for the results.
filtersobjectoptionalA JSON-like object with arbitrary string keys.
POST
googlephotos_batch_get_media_items
Fetch multiple Google Photos media items by ID.

/mediaItems

1 parameter
ParamTypeRequiredDescription
mediaItemIdsarrayrequiredThe list of media item IDs to fetch (1-50).
GET
googlephotos_get_media_item_download
Download a Google Photos Library API media item created by this application through local file transit.

/mediaItems/{mediaItemId}

1 parameter
ParamTypeRequiredDescription
mediaItemIdstringrequiredThe ID of the media item to download.
GET
googlephotos_upload_media
Upload one media item into Google Photos from a URL or base64 payload.

/mediaItems

5 parameters
ParamTypeRequiredDescription
urlstringoptionalThe URL of the media file to upload.
contentBase64stringoptionalThe base64-encoded content of the media file to upload.
fileNamestringoptionalThe filename for the uploaded media item.
mimeTypestringoptionalThe MIME type of the media file.
descriptionstringoptionalA description for the uploaded media item.
GET
googlephotos_batch_create_media_items
Batch create Google Photos media items from URLs or base64 payloads.

/mediaItems

4 parameters
ParamTypeRequiredDescription
urlsarrayoptionalA list of URLs of media files to upload (maximum 50).
mediaFilesarrayoptionalA list of media file inputs to upload (maximum 50).
albumIdstringoptionalThe ID of the album to add the media items to.
albumPositionobjectoptionalThe position type within the album.
POST
googlephotos_batch_add_media_items
Add existing Google Photos media items to an album.

/albums/{albumId}

2 parameters
ParamTypeRequiredDescription
albumIdstringrequiredThe ID of the album to add the media items to.
mediaItemIdsarrayrequiredThe list of media item IDs to add to the album (1-50).
PATCH
googlephotos_update_media_item
Update a Google Photos media item description.

/mediaItems/{mediaItemId}

2 parameters
ParamTypeRequiredDescription
mediaItemIdstringrequiredThe ID of the media item to update.
descriptionstringrequiredThe new description for the media item (maximum 1000 characters).
POST
googlephotos_create_picker_session
Create a Google Photos Picker session for selecting items from the user's library.

/sessions

1 parameter
ParamTypeRequiredDescription
maxItemCountintegeroptionalThe maximum number of media items the user can pick.
POST
googlephotos_get_picker_session
Get the current state of a Google Photos Picker session.

/sessions/{sessionId}

1 parameter
ParamTypeRequiredDescription
sessionIdstringrequiredThe ID of the picker session.
DELETE
googlephotos_delete_picker_session
Delete a Google Photos Picker session.

/sessions/{sessionId}

1 parameter
ParamTypeRequiredDescription
sessionIdstringrequiredThe ID of the picker session to delete.
GET
googlephotos_list_picked_media_items
List media items selected from the user's Google Photos library in a picker session.

/mediaItems

3 parameters
ParamTypeRequiredDescription
sessionIdstringrequiredThe ID of the picker session.
pageSizeintegeroptionalThe maximum number of picked media items to return per page.
pageTokenstringoptionalA page token to retrieve the next page of picked media items.