Skip to content

Commit a363709

Browse files
authored
Feature – Added getLicense endpoint (#8958)
1 parent 4696e07 commit a363709

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2130
-10
lines changed

api/swagger.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ components:
143143
application/json:
144144
schema:
145145
$ref: "#/components/schemas/Error"
146+
NotImplemented:
147+
description: Not Implemented
148+
content:
149+
application/json:
150+
schema:
151+
$ref: "#/components/schemas/Error"
146152

147153
schemas:
148154
Pagination:
@@ -1873,6 +1879,15 @@ components:
18731879
type: string
18741880
description: ID of the pull request
18751881

1882+
License:
1883+
type: object
1884+
required:
1885+
- token
1886+
properties:
1887+
token:
1888+
type: string
1889+
description: The license JWT token
1890+
18761891
paths:
18771892
/setup_comm_prefs:
18781893
post:
@@ -6096,3 +6111,25 @@ paths:
60966111
description: too many requests
60976112
default:
60986113
$ref: "#/components/responses/ServerError"
6114+
6115+
/license:
6116+
get:
6117+
tags:
6118+
- license
6119+
- experimental
6120+
operationId: getLicense
6121+
description: retrieve lakeFS license information
6122+
responses:
6123+
200:
6124+
description: lakeFS configuration
6125+
content:
6126+
application/json:
6127+
schema:
6128+
$ref: "#/components/schemas/License"
6129+
401:
6130+
$ref: "#/components/responses/Unauthorized"
6131+
501:
6132+
$ref: "#/components/responses/NotImplemented"
6133+
default:
6134+
$ref: "#/components/responses/ServerError"
6135+

clients/java/README.md

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/java/api/openapi.yaml

Lines changed: 49 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/java/docs/ExperimentalApi.md

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/java/docs/License.md

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/java/docs/LicenseApi.md

Lines changed: 99 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)