poolrpc: namespace URI of LSAT REST call

When trying to enable a single unified REST proxy in LiT, we noticed
that one URI collides between Loop and Pool (/v1/lsat/tokens).
We change the URI in Pool to fix the collision.

This is a potentially breaking change! Though we do not use REST in LiT
and are not aware of other projects using Pool's REST API yet so it
should impact a small number of users (or nobody really in the best
case).
This commit is contained in:
Oliver Gugger 2021-05-05 16:01:46 +02:00
parent 5234896f98
commit c97f3ceeb0
No known key found for this signature in database
GPG key ID: 8E4256593F177720

View file

@ -51,7 +51,7 @@ http:
- selector: poolrpc.Trader.BatchSnapshot
get: "/v1/pool/batch/snapshot"
- selector: poolrpc.Trader.GetLsatTokens
get: "/v1/lsat/tokens"
get: "/v1/pool/lsat/tokens"
- selector: poolrpc.Trader.Leases
get: "/v1/pool/leases"
- selector: poolrpc.Trader.NodeRatings