Skip to content
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

UPLOAD_SERVICE_DID and ACCESS_SERVICE_URL should be deprecated #337

Open
travis opened this issue Feb 26, 2024 · 0 comments
Open

UPLOAD_SERVICE_DID and ACCESS_SERVICE_URL should be deprecated #337

travis opened this issue Feb 26, 2024 · 0 comments

Comments

@travis
Copy link
Contributor

travis commented Feb 26, 2024

and replaced by W3UP_SERVICE_DID and W3UP_SERVICE_URL

we only have one service now and the disparate names are incredibly confusing

pulling this issue out of #325

@travis travis mentioned this issue Feb 26, 2024
6 tasks
travis added a commit that referenced this issue Mar 5, 2024
To support users in languages that do not have existing UCAN invocation
implementations, we are going to launch a bridge that allows them to
make simple HTTP requests with JSON bodies that we transform into proper
UCAN invocations.

This follows the specification here:
storacha-network/specs#112

Values for authorization headers can be generated using the `bridge
generate-tokens` w3cli command proposed here:

storacha-network/w3cli#175

- [x] factor core bridge logic out to a separate library (filed as
#338)
- [x] factor HTTP input wrangling out to a separate function
- [x] rename `UPLOAD_API_DID` and `ACCESS_SERVICE_URL` environment
variables to `W3UP_SERVICE_DID` and `W3UP_SERVICE_URL` (filed as
#337)
- [x] add tests
- [x] expand and formalize bridge specification, move it to the specs
repo (done - storacha-network/specs#112)
- [x] document response format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant