Google Photos Media Item

A media item resource from the Google Photos Library API representing a photo or video.

AlbumsGoogleImageMediaPhotosSharingStorage

Properties

Name Type Description
id string Identifier for the media item.
description string Description of the media item.
productUrl string A URL to the media item in Google Photos.
baseUrl string A URL to the bytes of the media item.
mimeType string MIME type of the media item.
mediaMetadata object Metadata related to the media item.
filename string Filename of the media item.
View JSON Schema on GitHub

JSON Schema

photos.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/google-photos/refs/heads/main/json-schema/photos.json",
  "title": "Google Photos Media Item",
  "description": "A media item resource from the Google Photos Library API representing a photo or video.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Identifier for the media item."
    },
    "description": {
      "type": "string",
      "description": "Description of the media item."
    },
    "productUrl": {
      "type": "string",
      "format": "uri",
      "description": "A URL to the media item in Google Photos."
    },
    "baseUrl": {
      "type": "string",
      "format": "uri",
      "description": "A URL to the bytes of the media item."
    },
    "mimeType": {
      "type": "string",
      "description": "MIME type of the media item."
    },
    "mediaMetadata": {
      "type": "object",
      "description": "Metadata related to the media item.",
      "properties": {
        "creationTime": {
          "type": "string",
          "format": "date-time",
          "description": "Time when the media item was first created."
        },
        "width": {
          "type": "string",
          "description": "Original width in pixels of the media item."
        },
        "height": {
          "type": "string",
          "description": "Original height in pixels of the media item."
        },
        "photo": {
          "type": "object",
          "description": "Metadata for a photo media type.",
          "properties": {
            "cameraMake": {
              "type": "string"
            },
            "cameraModel": {
              "type": "string"
            },
            "focalLength": {
              "type": "number"
            },
            "apertureFNumber": {
              "type": "number"
            },
            "isoEquivalent": {
              "type": "integer"
            },
            "exposureTime": {
              "type": "string"
            }
          }
        },
        "video": {
          "type": "object",
          "description": "Metadata for a video media type.",
          "properties": {
            "cameraMake": {
              "type": "string"
            },
            "cameraModel": {
              "type": "string"
            },
            "fps": {
              "type": "number"
            },
            "status": {
              "type": "string",
              "enum": ["UNSPECIFIED", "PROCESSING", "READY", "FAILED"]
            }
          }
        }
      }
    },
    "filename": {
      "type": "string",
      "description": "Filename of the media item."
    }
  },
  "required": ["id"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/photos"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.