metadata

Retrieves version information for the GitLab instance

This feature was introduced in GitLab 8.13 and deprecated in 15.5. We recommend you instead use the Metadata API.

get/api/v4/version

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Response

Retrieves version information for the GitLab instance

versionstring required
revisionstring required
enterpriseboolean required

Example response

{
  "version": "15.2-pre",
  "revision": "c401a659d0c",
  "kas": {
    "externalUrl": "grpc://gitlab.example.com:8150",
    "externalK8sProxyUrl": "https://gitlab.example.com:8150/k8s-proxy",
    "version": "15.0.0"
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.