From c97f3ceeb04e8a121eafa864000e4e1fa0c500b5 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 5 May 2021 16:01:46 +0200 Subject: [PATCH] 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). --- poolrpc/rest-annotations.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poolrpc/rest-annotations.yaml b/poolrpc/rest-annotations.yaml index da9ee8a..3dc6b02 100644 --- a/poolrpc/rest-annotations.yaml +++ b/poolrpc/rest-annotations.yaml @@ -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