Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/openapi/v4/metadata.yaml')
-rw-r--r--doc/api/openapi/v4/metadata.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/api/openapi/v4/metadata.yaml b/doc/api/openapi/v4/metadata.yaml
new file mode 100644
index 00000000000..6a5ef9f3355
--- /dev/null
+++ b/doc/api/openapi/v4/metadata.yaml
@@ -0,0 +1,43 @@
+# 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"
+