Skip to content

Commit

Permalink
Task: Add IfAbsent to LinkPhysicalAddress (#7480)
Browse files Browse the repository at this point in the history
* Task: Add IfAbsent to LinkPhysicalAddress

* CR Fixes

* Update api/swagger.yml

Co-authored-by: Ariel Shaqed (Scolnicov) <[email protected]>

* CR Fixes 2

* gen clients

---------

Co-authored-by: Ariel Shaqed (Scolnicov) <[email protected]>
  • Loading branch information
N-o-Z and arielshaqed authored Feb 20, 2024
1 parent b225fd7 commit d81a950
Show file tree
Hide file tree
Showing 29 changed files with 360 additions and 172 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

# Unreleased

- Task: Add If-Non-Match to LinkPhysicalAddress (#7480)
Removes deprecation of If-Non-Match from upload object

# v1.11.1

:new: What's new:
Expand Down
25 changes: 14 additions & 11 deletions api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ components:
description: delimiter used to group common prefixes by
schema:
type: string

IfNonMatch:
in: header
name: If-None-Match
description: Set to "*" to atomically allow the upload only if the key has no object yet. Other values are not supported.
example: "*"
required: false
schema:
type: string

responses:
NotFoundOrNoACL:
Expand Down Expand Up @@ -4164,6 +4173,10 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/StagingMetadata"

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

responses:
200:
# This actually violates HTTP, which requires returning 201 if a new object was
Expand Down Expand Up @@ -4397,24 +4410,14 @@ paths:
format: binary

parameters:
- $ref: "#/components/parameters/IfNonMatch"
- in: query
name: storageClass
description: Deprecated, this capability will not be supported in future releases.
required: false
deprecated: true
schema:
type: string
- in: header
name: If-None-Match
description: |
Currently supports only "*" to allow uploading an object only if one doesn't exist yet.
Deprecated, this capability will not be supported in future releases.
example: "*"
required: false
deprecated: true
schema:
type: string
pattern: '^\*$' # Currently, only "*" is supported
- in: query
name: force
required: false
Expand Down
44 changes: 31 additions & 13 deletions clients/java-legacy/api/openapi.yaml

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

8 changes: 4 additions & 4 deletions clients/java-legacy/docs/ObjectsApi.md

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

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

Loading

0 comments on commit d81a950

Please sign in to comment.