GitHub Versions API
The Versions API from GitHub — 1 operation(s) for versions.
The Versions API from GitHub — 1 operation(s) for versions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/github:github-versions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
openapi: 3.2.0
info:
version: 1.1.4
title: GitHub Manage Versions API
description: Needs description.
license:
name: MIT
url: https://spdx.org/licenses/MIT
termsOfService: https://docs.github.com/articles/github-terms-of-service
contact:
name: Support
url: https://support.github.com/contact?tags=dotcom-rest-api
x-github-plan: ghes
x-github-release: 3.9
servers:
- url: '{protocol}://{hostname}/api/v3'
variables:
hostname:
description: Self-hosted Enterprise Server hostname
default: HOSTNAME
protocol:
description: Self-hosted Enterprise Server protocol
default: http
tags:
- name: Versions
paths:
/manage/v1/version:
get:
summary: GitHub Get All Ghes Release Versions for All Nodes
description: Gets the GitHub Enterprise Server release versions that are currently installed on all available nodes. For more information, see "GitHub Enterprise Server releases."
operationId: getAllGhesReleaseVersionsForAllNodes
tags:
- Versions
externalDocs:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.9/rest/enterprise-admin/manage-ghes#get-all-ghes-release-versions-for-all-nodes
servers:
- url: '{protocol}://{hostname}'
variables:
hostname:
default: HOSTNAME
description: Self-hosted Enterprise Server hostname
protocol:
default: http
description: Self-hosted Enterprise Server protocol
parameters:
- $ref: '#/components/parameters/uuid'
- $ref: '#/components/parameters/cluster-roles'
responses:
'200':
description: Response
content:
application/json:
schema:
$ref: '#/components/schemas/ghes-version'
examples:
default:
$ref: '#/components/examples/ghes-version'
'401':
description: Unauthorized
'500':
description: Internal error
x-github:
githubCloudOnly: false
enabledForGitHubApps: false
category: enterprise-admin
subcategory: manage-ghes
security:
- bearerHttpAuthentication: []
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
components:
examples:
ghes-version:
value:
- hostname: ghe-local-primary
version:
version: 3.9.0
platform: azure
build_id: fc542058b5
build_date: '2023-05-02'
schemas:
ghes-version:
type: array
items:
type: object
properties:
hostname:
type: string
format: hostname
version:
type: object
properties:
version:
type: string
pattern: '[0-9]\.[0-9]{2}\.[0-9]'
platform:
type: string
enum:
- ami
- azure
- esx
- gce
- hyperv
- kvm
build_id:
type: string
pattern: '[0-9a-f]{8}'
build_date:
type: string
format: date
parameters:
cluster-roles:
name: cluster_roles
description: The cluster roles from the cluster configuration file.
in: query
required: false
schema:
type: string
uuid:
name: uuid
description: The UUID which identifies a node.
in: query
required: false
schema:
type: string
securitySchemes:
bearerHttpAuthentication:
description: Bearer Token
type: http
scheme: Bearer
externalDocs:
description: GitHub Enterprise Developer Docs
url: https://docs.github.com/enterprise-server@3.9/rest/