Skip to content

Commit

Permalink
Merge pull request #206 from nspcc-dev/168-new-upload-download
Browse files Browse the repository at this point in the history
Add new upload and edit download requests
  • Loading branch information
roman-khimov authored May 29, 2024
2 parents 49c7e66 + 3747724 commit 93e652d
Show file tree
Hide file tree
Showing 10 changed files with 1,956 additions and 172 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ the help of the [gate-configuration.md](./docs/gate-configuration.md) and
[config](./config/config.yaml). Also, flags in the command arguments were
changed.

A new upload object request has been introduced: `/objects/{containerId}`. This
is a POST request that accepts the `X-Attributes` header, where all custom
object attributes can be included in a JSON-formatted key-value map. Also, new
GET and HEAD requests are added for object downloading:
`/objects/{containerId}/by_id/{objectId}` and
`/objects/{containerId}/by_attribute/{attrKey}/{attrVal}`.
For more information, see the [migration documentation](./docs/migration-new-upload.md).
In the future, we plan to use these requests as the only option for object
upload and download. We recommend starting to use them now.

## [0.8.3] - 2024-03-25

### Fixed
Expand Down
Loading

0 comments on commit 93e652d

Please sign in to comment.