Commit Comparison

Commit Comparison

APIs.ioEngineeringPlatform

Properties

Name Type Description
url string
html_url string
permalink_url string
diff_url string
patch_url string
base_commit object
merge_base_commit object
status string
ahead_by integer
behind_by integer
total_commits integer
commits array
files array
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-commit-comparison-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/commit-comparison",
  "title": "Commit Comparison",
  "description": "Commit Comparison",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World/compare/master...topic"
    },
    "html_url": {
      "type": "string",
      "format": "uri",
      "example": "https://github.com/octocat/Hello-World/compare/master...topic"
    },
    "permalink_url": {
      "type": "string",
      "format": "uri",
      "example": "https://github.com/octocat/Hello-World/compare/octocat:bbcd538c8e72b8c175046e27cc8f907076331401...octocat:0328041d1152db8ae77652d1618a02e57f745f17"
    },
    "diff_url": {
      "type": "string",
      "format": "uri",
      "example": "https://github.com/octocat/Hello-World/compare/master...topic.diff"
    },
    "patch_url": {
      "type": "string",
      "format": "uri",
      "example": "https://github.com/octocat/Hello-World/compare/master...topic.patch"
    },
    "base_commit": {
      "$ref": "#/components/schemas/commit"
    },
    "merge_base_commit": {
      "$ref": "#/components/schemas/commit"
    },
    "status": {
      "type": "string",
      "enum": [
        "diverged",
        "ahead",
        "behind",
        "identical"
      ],
      "example": "ahead"
    },
    "ahead_by": {
      "type": "integer",
      "example": 4
    },
    "behind_by": {
      "type": "integer",
      "example": 5
    },
    "total_commits": {
      "type": "integer",
      "example": 6
    },
    "commits": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/commit"
      }
    },
    "files": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/diff-entry"
      }
    }
  },
  "required": [
    "url",
    "html_url",
    "permalink_url",
    "diff_url",
    "patch_url",
    "base_commit",
    "merge_base_commit",
    "status",
    "ahead_by",
    "behind_by",
    "total_commits",
    "commits"
  ]
}

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/apis-io-engineering-platform-commit-comparison"
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 email required.

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