summaryrefslogtreecommitdiffhomepage
path: root/HTTP.hs
diff options
context:
space:
mode:
Diffstat (limited to 'HTTP.hs')
-rw-r--r--HTTP.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/HTTP.hs b/HTTP.hs
index c7eb21d..10b0d47 100644
--- a/HTTP.hs
+++ b/HTTP.hs
@@ -26,8 +26,7 @@ import qualified Raaz.Core.Encode as Raaz
-- | Keysafe's http API
type HttpAPI =
- "keysafe" :> "apiversion" :> Get '[JSON] APIVersion
- :<|> "keysafe" :> V1 :> "motd" :> Get '[JSON] Motd
+ "keysafe" :> V1 :> "motd" :> Get '[JSON] Motd
:<|> "keysafe" :> V1 :> "objects" :> ObjectIdent :> POWParam
:> Get '[JSON] (ProofOfWorkRequirement StorableObject)
:<|> "keysafe" :> V1 :> "objects" :> ObjectIdent :> POWParam