debian-mirror-gitlab/doc/api/openapi/v4/metadata.yaml
2022-08-13 15:12:31 +05:30

43 lines
1.2 KiB
YAML

# Markdown documentation: https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/api/metadata.md
get:
tags:
- metadata
summary: "Retrieve metadata information for this GitLab instance."
operationId: "getMetadata"
responses:
"401":
description: "unauthorized operation"
"200":
description: "successful operation"
content:
"application/json":
schema:
title: "MetadataResponse"
type: "object"
properties:
version:
type: "string"
revision:
type: "string"
kas:
type: "object"
properties:
enabled:
type: "boolean"
externalUrl:
type: "string"
nullable: true
version:
type: "string"
nullable: true
examples:
Example:
value:
version: "15.0-pre"
revision: "c401a659d0c"
kas:
enabled: true
externalUrl: "grpc://gitlab.example.com:8150"
version: "15.0.0"