diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
commit | b595cb0c1dec83de5bdee18284abe86614bed33b (patch) | |
tree | 8c3d4540f193c5ff98019352f554e921b3a41a72 /doc/api/openapi/v4/metadata.yaml | |
parent | 2f9104a328fc8a4bddeaa4627b595166d24671d0 (diff) |
Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42
Diffstat (limited to 'doc/api/openapi/v4/metadata.yaml')
-rw-r--r-- | doc/api/openapi/v4/metadata.yaml | 43 |
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" + |