-
Notifications
You must be signed in to change notification settings - Fork 119
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
It should be possible to update/replace a pin with the same CID #1547
Comments
cc @mbommerez seems quick to add in the PSA v2 initiative |
Scenario:
We need to double check the API spec and try to replicate. |
There's some context here... |
Discussed with @olizilla. We can then try to get some alignment and discuss an improved approach in the spec repo with the team. |
🤖 I have created a release *beep* *boop* --- ## [7.13.0](api-v7.12.0...api-v7.13.0) (2022-11-30) ### Features * list and ability to delete psa request created though deleted tokens ([#2054](#2054)) ([e150d1f](e150d1f)) ### Bug Fixes * allow update PSA pin requests with same CID ([#2125](#2125)) ([0013efd](0013efd)), closes [#1547](#1547) * PSA compliance fixes ([#2091](#2091)) ([8b1c1d3](8b1c1d3)), closes [#1579](#1579) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There are some cases where it's desired to update the
name
,meta
, andorigins
fields of a pin request with a given CID using the replace pin endpoint.Currently, the web3.storage pinning API returns the following 400 error when attempting to update those fields with the same CID.
web3.storage/packages/api/src/pins.js
Lines 253 to 256 in bfa88cb
Related: ipfs-shipyard/pinning-service-compliance#124
The text was updated successfully, but these errors were encountered: