What happend to the ?view option for a linkshare?

Seems that it doesn’t work anymore?

curl --header "Content-Type: application/json" \
     --data '{"access_grant": "my_grant", "public": true}' \
     -v https://auth.eu1.storjshare.io

I got HTTP/2 404 response.

I checked the source code of uplink-cli, there is a registerAccess method, which is actually calling the edge mod of uplink repo, but this one uses gRPC call under the hood, not HTTP API.

Is this the only way now?

Hi @akarei! I’m sorry; the previous message does not contain the necessary path hence 404.

Here’s the correct way:

$ curl --header "Content-Type: application/json" --data '{"access_grant": "my_grant", "public": true}' -v https://auth.eu1.storjshare.io/v1/access

Auth Service is reachable via HTTP(S) and RPC(S), but with uplink CLI, it’s only possible to register with a DRPCS call.

I wrote down all methods I use to register:

I hope it’s useful!

2 Likes

It works! Thank you for your detailed explanation!

1 Like