Skip to content

Commit

Permalink
api
Browse files Browse the repository at this point in the history
  • Loading branch information
nadavsteindler committed Dec 16, 2024
1 parent 2ae7fb2 commit 03ecf8c
Show file tree
Hide file tree
Showing 11 changed files with 168 additions and 94 deletions.
28 changes: 18 additions & 10 deletions api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ components:
description: delimiter used to group common prefixes by
schema:
type: string

PaginationSearchString:
in: query
name: search
description: string for searching relevant entries
schema:
type: string

IfNoneMatch:
in: header
Expand Down Expand Up @@ -695,7 +702,7 @@ components:
default: false
hidden:
type: boolean
description: When set, branch will not show up when listing branches by default. *EXPERIMENTAL*
description: When set, branch will not show up when listing branches by default. *EXPERIMENTAL*
default: false

TagCreation:
Expand Down Expand Up @@ -1705,7 +1712,7 @@ components:
- installation_id
- reports

ExternalPrincipalList:
ExternalPrincipalList:
type: object
required:
- pagination
Expand Down Expand Up @@ -2668,11 +2675,11 @@ paths:
- experimental
operationId: createUserExternalPrincipal
summary: attach external principal to user
requestBody:
requestBody:
required: false
content:
application/json:
schema:
content:
application/json:
schema:
$ref: "#/components/schemas/ExternalPrincipalCreation"
responses:
201:
Expand Down Expand Up @@ -2753,7 +2760,7 @@ paths:
- external
- experimental
operationId: getExternalPrincipal
summary: describe external principal by id
summary: describe external principal by id
responses:
200:
description: external principal
Expand Down Expand Up @@ -2899,7 +2906,7 @@ paths:
description: too many requests
default:
$ref: "#/components/responses/ServerError"

/repositories:
get:
tags:
Expand All @@ -2908,6 +2915,7 @@ paths:
- $ref: "#/components/parameters/PaginationPrefix"
- $ref: "#/components/parameters/PaginationAfter"
- $ref: "#/components/parameters/PaginationAmount"
- $ref: "#/components/parameters/PaginationSearchString"
operationId: listRepositories
summary: list repositories
responses:
Expand Down Expand Up @@ -4564,10 +4572,10 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/StagingMetadata"

parameters:
- $ref: "#/components/parameters/IfNoneMatch"

responses:
200:
# This actually violates HTTP, which requires returning 201 if a new object was
Expand Down
17 changes: 17 additions & 0 deletions clients/java/api/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion clients/java/docs/RepositoriesApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions clients/python/docs/RepositoriesApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 14 additions & 6 deletions clients/python/lakefs_sdk/api/repositories_api.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion clients/rust/docs/RepositoriesApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 03ecf8c

Please sign in to comment.