Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entry content-type and aws s3 user metadata #2557

Merged
merged 9 commits into from
Oct 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ components:
description: Unix Epoch in seconds
metadata:
$ref: "#/components/schemas/ObjectUserMetadata"
content_type:
type: string
description: Object media type

ObjectStatsList:
type: object
Expand Down Expand Up @@ -259,6 +262,9 @@ components:
description: Unix Epoch in seconds
metadata:
$ref: "#/components/schemas/ObjectUserMetadata"
content_type:
type: string
description: Object media type

ObjectUserMetadata:
type: object
Expand Down Expand Up @@ -817,6 +823,9 @@ components:
type: object
additionalProperties:
type: string
content_type:
type: string
description: Object media type
nopcoder marked this conversation as resolved.
Show resolved Hide resolved
required:
- staging
- checksum
Expand Down Expand Up @@ -2417,7 +2426,11 @@ paths:
# This actually violates HTTP, which requires returning 201 if a new object was
# created or 200 if an existing object was modified,
# https://tools.ietf.org/html/rfc7231#section-4.3.4
description: successfully linked
description: object metadata
content:
application/json:
schema:
$ref: "#/components/schemas/ObjectStats"
400:
$ref: "#/components/responses/ValidationError"
401:
Expand Down
20 changes: 19 additions & 1 deletion clients/java/api/openapi.yaml

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

1 change: 1 addition & 0 deletions clients/java/docs/ObjectStageCreation.md

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

1 change: 1 addition & 0 deletions clients/java/docs/ObjectStats.md

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

9 changes: 5 additions & 4 deletions clients/java/docs/StagingApi.md

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

1 change: 1 addition & 0 deletions clients/java/docs/StagingMetadata.md

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

27 changes: 16 additions & 11 deletions clients/java/src/main/java/io/lakefs/clients/api/StagingApi.java

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.

Loading