From c952649eecd98ffc4b20aedeb713cadb43d383ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jann=20M=C3=BCller?= Date: Tue, 7 Jan 2025 08:07:57 +0100 Subject: [PATCH] Add api/v1 prefix to endpoints --- src/lib/Wst/Server/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Wst/Server/Types.hs b/src/lib/Wst/Server/Types.hs index fbb58ca..045a9ac 100644 --- a/src/lib/Wst/Server/Types.hs +++ b/src/lib/Wst/Server/Types.hs @@ -46,7 +46,7 @@ import SmartTokens.Types.ProtocolParams (ProgrammableLogicGlobalParams) import Wst.JSON.Utils qualified as JSON import Wst.Offchain.Query (UTxODat (..)) -type APIInEra = API C.ConwayEra +type APIInEra = "api" >: "v1" :> API C.ConwayEra newtype TextEnvelopeJSON a = TextEnvelopeJSON{ unTextEnvelopeJSON :: a }