NAiOS IconNAiOS Logo
Volver al catálogo

Google Photos

googlephotos

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

Acciones
13
Triggers
0
Autenticación
OAuth gestionado
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (13)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Add EnrichmentGOOGLEPHOTOS_ADD_ENRICHMENTAcción

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

Parámetros de entrada

  • albumIdstringObligatorio

    Identifier of the album where the enrichment is to be added

  • albumPositionobject

    Position in the album where the enrichment is to be inserted. Valid options are: POSITION_TYPE_UNSPECIFIED, FIRST_IN_ALBUM, LAST_IN_ALBUM, AFTER_MEDIA_ITEM, AFTER_ENRICHMENT_ITEM

  • newEnrichmentItemobjectObligatorio

    The enrichment to be added, can be a text, location, or map enrichment

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Add Media ItemsGOOGLEPHOTOS_BATCH_ADD_MEDIA_ITEMSAcción

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

Parámetros de entrada

  • albumIdstringObligatorio

    Identifier of the Album that the media items are added to

  • mediaItemIdsstring[]Obligatorio

    Identifiers of the MediaItems to be added. Maximum 50 items.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Create Media ItemsGOOGLEPHOTOS_BATCH_CREATE_MEDIA_ITEMSAcción

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

Parámetros de entrada

  • filesobject[]Obligatorio

    List of media files to upload and create as media items.

  • albumIdstringObligatorio

    Identifier of the album where the media items are to be added.

  • albumPositionobject

    Position in the album to add the media items.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch Get Media ItemsGOOGLEPHOTOS_BATCH_GET_MEDIA_ITEMSAcción

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

Parámetros de entrada

  • mediaItemIdsstring[]Obligatorio

    Identifiers of the media items to be requested. Must not contain duplicates.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create AlbumGOOGLEPHOTOS_CREATE_ALBUMAcción

Creates a new album in google photos.

Parámetros de entrada

  • idstring

    Identifier for the album

  • titlestringObligatorio

    Name of the album to be created in Google Photos. Maximum 500 characters.

  • productUrlstring

    Google Photos URL for the album

  • isWriteableboolean

    Whether media items can be created in this album

  • mediaItemsCountstring

    Number of media items in the album

  • coverPhotoBaseUrlstring

    URL to the cover photo

  • coverPhotoMediaItemIdstring

    ID of the cover photo media item

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get AlbumGOOGLEPHOTOS_GET_ALBUMAcción

Returns the album based on the specified albumid.

Parámetros de entrada

  • albumIdstringObligatorio

    Identifier of the album to be requested.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Photos Media ItemGOOGLEPHOTOS_GET_MEDIA_ITEM_DOWNLOADAcción

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

Parámetros de entrada

  • mediaItemIdstringObligatorio

    ID of the media item to download

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List AlbumsGOOGLEPHOTOS_LIST_ALBUMSAcción

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

Parámetros de entrada

  • pageSizeinteger

    Maximum number of albums to return. Default 20, maximum 50.

  • pageTokenstring

    Continuation token for getting the next page of results

  • excludeNonAppCreatedDataboolean

    If true, excludes media items not created by this app

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Media ItemsGOOGLEPHOTOS_LIST_MEDIA_ITEMSAcción

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

Parámetros de entrada

  • pageSizeinteger

    Maximum number of items to return. Default 25, maximum 100.

  • pageTokenstring

    Token for getting the next page of results

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Media ItemsGOOGLEPHOTOS_SEARCH_MEDIA_ITEMSAcción

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

Parámetros de entrada

  • albumIdstring

    Album to search within

  • filtersobject

    Search filters

  • orderBystring

    Sort order for results, e.g. 'MediaMetadata.creation_time desc'

  • pageSizeinteger

    Maximum number of items to return. Default 25, maximum 100.

  • pageTokenstring

    Token for getting the next page

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update AlbumGOOGLEPHOTOS_UPDATE_ALBUMAcción

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

Parámetros de entrada

  • titlestring

    New title for the album. Maximum 500 characters.

  • albumIdstringObligatorio

    Identifier of the album to update

  • coverPhotoMediaItemIdstring

    ID of the media item to use as album cover photo

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Media ItemGOOGLEPHOTOS_UPDATE_MEDIA_ITEMAcción

Updates a media item's description in google photos.

Parámetros de entrada

  • descriptionstring

    New description for the media item. Must be shorter than 1000 characters.

  • mediaItemIdstringObligatorio

    Identifier of the media item to update

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upload MediaGOOGLEPHOTOS_UPLOAD_MEDIAAcción

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

Parámetros de entrada

  • descriptionstring

    Optional description for the media item

  • file_to_uploadobjectObligatorio

    The media file to upload to Google Photos

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not