Google Super

GOOGLESUPER_BATCH_CREATE_MEDIA_ITEMS

Unified action to upload media files and create them as items in Google Photos.

Remote googlesuper

Other tools also called GOOGLESUPER_BATCH_CREATE_MEDIA_ITEMS? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "title": "FileUploadable",
        "required": [
          "name",
          "mimetype",
          "s3key"
        ],
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "examples": [
              "document.pdf",
              "image.jpg",
              "report.docx"
            ],
            "description": "The filename that will be used when uploading the file to the destination service"
          },
          "s3key": {
            "type": "string",
            "title": "S3Key",
            "examples": [
              "47563/gmail/GET_ATTACHMENT/response/12345"
            ],
            "description": "The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."
          },
          "mimetype": {
            "type": "string",
            "title": "Mimetype",
            "examples": [
              "application/pdf",
              "image/jpeg",
              "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
            ],
            "description": "The MIME type of the file"
          }
        },
        "file_uploadable": true
      },
      "title": "Files",
      "examples": [
        [
          {
            "name": "vacation.jpg",
            "content": "base64_encoded_file_content_here",
            "contentType": "image/jpeg"
          }
        ]
      ],
      "description": "List of media files to upload and create as media items."
    },
    "albumId": {
      "type": "string",
      "title": "Album Id",
      "examples": [
        "AGj1epU5H_bR3MWuuGxsVwk0TkwvNhxEGi1"
      ],
      "description": "Identifier of the album where the media items are to be added."
    },
    "albumPosition": {
      "type": "object",
      "title": "Album Position",
      "examples": [
        {
          "position": "LAST_IN_ALBUM"
        }
      ],
      "properties": {
        "position": {
          "enum": [
            "POSITION_TYPE_UNSPECIFIED",
            "FIRST_IN_ALBUM",
            "LAST_IN_ALBUM",
            "AFTER_MEDIA_ITEM",
            "AFTER_ENRICHMENT_ITEM"
          ],
          "type": "string",
          "title": "Position",
          "default": "LAST_IN_ALBUM"
        },
        "relativeMediaItemId": {
          "type": "string",
          "title": "Relative Media Item Id",
          "description": "The media item to which the position is relative."
        },
        "relativeEnrichmentItemId": {
          "type": "string",
          "title": "Relative Enrichment Item Id",
          "description": "The enrichment item to which the position is relative."
        }
      },
      "description": "Position in the album to add the media items.",
      "additionalProperties": false
    }
  }
}