Skip to content

Commit

Permalink
etag can be passed in the if-none-match in the header on getobject api (
Browse files Browse the repository at this point in the history
#7525)

* etag can be passed in the if-none-match in the header on getobject api

* tests

* validation, cleaner unit tests
  • Loading branch information
vishalsanfran authored Mar 7, 2024
1 parent e55669c commit ebcaac7
Show file tree
Hide file tree
Showing 16 changed files with 183 additions and 74 deletions.
9 changes: 9 additions & 0 deletions api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3850,6 +3850,13 @@ paths:
schema:
type: string
pattern: '^bytes=((\d*-\d*,? ?)+)$'
- in: header
name: If-None-Match
description: Returns response only if the object does not have a matching ETag
example: "33a64df551425fcc55e4d42a148795d9f25f89d4"
required: false
schema:
type: string
- in: query
name: presign
required: false
Expand Down Expand Up @@ -3902,6 +3909,8 @@ paths:
Location:
schema:
type: string
304:
description: Content Not modified
401:
$ref: "#/components/responses/Unauthorized"
404:
Expand Down
12 changes: 12 additions & 0 deletions clients/java-legacy/api/openapi.yaml

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

7 changes: 5 additions & 2 deletions clients/java-legacy/docs/ObjectsApi.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.

12 changes: 12 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.

6 changes: 5 additions & 1 deletion clients/java/docs/ObjectsApi.md

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

Loading

0 comments on commit ebcaac7

Please sign in to comment.