Google · Schema

Revision

The metadata for a revision to a file. Some resource methods (such as `revisions.update`) require a `revisionId`. Use the `revisions.list` method to retrieve the ID for a revision.

AdvertisingCloudDevelopersGooglePlatformSearchT1Agentic CommerceUniversal Commerce ProtocolAP2A2A

Properties

Name Type Description
exportLinks object Output only. Links for exporting Docs Editors files to specific formats.
id string Output only. The ID of the revision.
keepForever boolean Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after newer content is uploaded. This can be set on a ma
kind string Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#revision"`.
lastModifyingUser object Output only. The last user to modify this revision.
md5Checksum string Output only. The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive.
mimeType string Output only. The MIME type of the revision.
modifiedTime string The last time the revision was modified (RFC 3339 date-time).
originalFilename string Output only. The original filename used to create this revision. This is only applicable to files with binary content in Drive.
publishAuto boolean Whether subsequent revisions will be automatically republished. This is only applicable to Docs Editors files.
published boolean Whether this revision is published. This is only applicable to Docs Editors files.
publishedLink string Output only. A link to the published revision. This is only populated for Google Sites files.
publishedOutsideDomain boolean Whether this revision is published outside the domain. This is only applicable to Docs Editors files.
size string Output only. The size of the revision's content in bytes. This is only applicable to files with binary content in Drive.
View JSON Schema on GitHub

JSON Schema

google-revision-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google/json-schema/google-revision-schema.json",
  "title": "Revision",
  "description": "The metadata for a revision to a file. Some resource methods (such as `revisions.update`) require a `revisionId`. Use the `revisions.list` method to retrieve the ID for a revision.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-revisions-api-openapi.yml#/components/schemas/Revision",
  "properties": {
    "exportLinks": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Output only. Links for exporting Docs Editors files to specific formats.",
      "type": "object"
    },
    "id": {
      "description": "Output only. The ID of the revision.",
      "type": "string"
    },
    "keepForever": {
      "description": "Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after newer content is uploaded. This can be set on a maximum of 200 revisions for a file. This field is only applicable to files with binary content in Drive.",
      "type": "boolean"
    },
    "kind": {
      "default": "drive#revision",
      "description": "Output only. Identifies what kind of resource this is. Value: the fixed string `\"drive#revision\"`.",
      "type": "string"
    },
    "lastModifyingUser": {
      "$ref": "#/$defs/User",
      "description": "Output only. The last user to modify this revision."
    },
    "md5Checksum": {
      "description": "Output only. The MD5 checksum of the revision's content. This is only applicable to files with binary content in Drive.",
      "type": "string"
    },
    "mimeType": {
      "description": "Output only. The MIME type of the revision.",
      "type": "string"
    },
    "modifiedTime": {
      "description": "The last time the revision was modified (RFC 3339 date-time).",
      "format": "date-time",
      "type": "string"
    },
    "originalFilename": {
      "description": "Output only. The original filename used to create this revision. This is only applicable to files with binary content in Drive.",
      "type": "string"
    },
    "publishAuto": {
      "description": "Whether subsequent revisions will be automatically republished. This is only applicable to Docs Editors files.",
      "type": "boolean"
    },
    "published": {
      "description": "Whether this revision is published. This is only applicable to Docs Editors files.",
      "type": "boolean"
    },
    "publishedLink": {
      "description": "Output only. A link to the published revision. This is only populated for Google Sites files.",
      "type": "string"
    },
    "publishedOutsideDomain": {
      "description": "Whether this revision is published outside the domain. This is only applicable to Docs Editors files.",
      "type": "boolean"
    },
    "size": {
      "description": "Output only. The size of the revision's content in bytes. This is only applicable to files with binary content in Drive.",
      "format": "int64",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "User": {
      "description": "Information about a Drive user.",
      "properties": {
        "displayName": {
          "description": "Output only. A plain text displayable name for this user.",
          "type": "string"
        },
        "emailAddress": {
          "description": "Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.",
          "type": "string"
        },
        "kind": {
          "default": "drive#user",
          "description": "Output only. Identifies what kind of resource this is. Value: the fixed string `\"drive#user\"`.",
          "type": "string"
        },
        "me": {
          "description": "Output only. Whether this user is the requesting user.",
          "type": "boolean"
        },
        "permissionId": {
          "description": "Output only. The user's ID as visible in Permission resources.",
          "type": "string"
        },
        "photoLink": {
          "description": "Output only. A link to the user's profile photo, if available.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

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/google-revision"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.