Skip to content

Commit

Permalink
handlers: Add /new-upload/{cId}, edit /get/{cId}/{oId}
Browse files Browse the repository at this point in the history
Add a new POST request `/new-upload/{cId}` that accepts the `X-Attribute-JSON`
header. Also, modify GET and HEAD requests `/get/{cId}/{oId}` to return all
custom `X-Attribute-*` attributes in the `X-Attribute-JSON` header.

Note: Need to fix the `useJSON` parameter in the `/get/{cId}/{oId}` request.
Perhaps pass an extra parameter like `download`?

Signed-off-by: Tatiana Nesterenko <[email protected]>
  • Loading branch information
tatiana-nspcc committed May 12, 2024
1 parent 6828193 commit a11b6e2
Show file tree
Hide file tree
Showing 5 changed files with 475 additions and 136 deletions.
Loading

0 comments on commit a11b6e2

Please sign in to comment.