Google Photos integration (Storage, Design). Imported from open-connector.
https://photoslibrary.googleapis.com/v1/albums
| Param | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | optional | The maximum number of albums to return per page (1-50). |
| pageToken | string | optional | A page token to retrieve the next page of results. |
/albums/{albumId}
| Param | Type | Required | Description |
|---|---|---|---|
| albumId | string | required | The ID of the album to fetch. |
/albums
| Param | Type | Required | Description |
|---|---|---|---|
| title | string | required | The title for the new album (maximum 500 characters). |
/albums/{albumId}
| Param | Type | Required | Description |
|---|---|---|---|
| albumId | string | required | The ID of the album to update. |
| title | string | optional | The new title for the album (maximum 500 characters). |
| coverPhotoMediaItemId | string | optional | The media item ID to set as the new album cover photo. |
/albums/{albumId}
| Param | Type | Required | Description |
|---|---|---|---|
| albumId | string | required | The ID of the album to add the enrichment to. |
| albumPosition | object | required | The position type within the album. |
| newEnrichmentItem | object | required | One Google Photos enrichment variant. |
/mediaItems
| Param | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | optional | The maximum number of media items to return per page (1-100). |
| pageToken | string | optional | A page token to retrieve the next page of results. |
/mediaItems
| Param | Type | Required | Description |
|---|---|---|---|
| albumId | string | optional | The ID of the album to search within. |
| pageSize | integer | optional | The maximum number of media items to return per page (1-100). |
| pageToken | string | optional | A page token to retrieve the next page of results. |
| orderBy | string | optional | The sort order for the results. |
| filters | object | optional | A JSON-like object with arbitrary string keys. |
/mediaItems
| Param | Type | Required | Description |
|---|---|---|---|
| mediaItemIds | array | required | The list of media item IDs to fetch (1-50). |
/mediaItems/{mediaItemId}
| Param | Type | Required | Description |
|---|---|---|---|
| mediaItemId | string | required | The ID of the media item to download. |
/mediaItems
| Param | Type | Required | Description |
|---|---|---|---|
| url | string | optional | The URL of the media file to upload. |
| contentBase64 | string | optional | The base64-encoded content of the media file to upload. |
| fileName | string | optional | The filename for the uploaded media item. |
| mimeType | string | optional | The MIME type of the media file. |
| description | string | optional | A description for the uploaded media item. |
/mediaItems
| Param | Type | Required | Description |
|---|---|---|---|
| urls | array | optional | A list of URLs of media files to upload (maximum 50). |
| mediaFiles | array | optional | A list of media file inputs to upload (maximum 50). |
| albumId | string | optional | The ID of the album to add the media items to. |
| albumPosition | object | optional | The position type within the album. |
/albums/{albumId}
| Param | Type | Required | Description |
|---|---|---|---|
| albumId | string | required | The ID of the album to add the media items to. |
| mediaItemIds | array | required | The list of media item IDs to add to the album (1-50). |
/mediaItems/{mediaItemId}
| Param | Type | Required | Description |
|---|---|---|---|
| mediaItemId | string | required | The ID of the media item to update. |
| description | string | required | The new description for the media item (maximum 1000 characters). |
/sessions
| Param | Type | Required | Description |
|---|---|---|---|
| maxItemCount | integer | optional | The maximum number of media items the user can pick. |
/sessions/{sessionId}
| Param | Type | Required | Description |
|---|---|---|---|
| sessionId | string | required | The ID of the picker session. |
/sessions/{sessionId}
| Param | Type | Required | Description |
|---|---|---|---|
| sessionId | string | required | The ID of the picker session to delete. |
/mediaItems
| Param | Type | Required | Description |
|---|---|---|---|
| sessionId | string | required | The ID of the picker session. |
| pageSize | integer | optional | The maximum number of picked media items to return per page. |
| pageToken | string | optional | A page token to retrieve the next page of picked media items. |