diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-08-28 16:41:22 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-08-28 16:41:22 -0400 |
commit | 2cb51e23ba6d881e94f36baa9b8e21b80951880c (patch) | |
tree | f094a88cc8083984a25d2138c08c51627d47d10e /HTTP.hs | |
parent | d149bf03647b09caa2af9e55a392251e4d619640 (diff) | |
download | keysafe-2cb51e23ba6d881e94f36baa9b8e21b80951880c.tar.gz |
cleanup
Diffstat (limited to 'HTTP.hs')
-rw-r--r-- | HTTP.hs | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -35,9 +35,6 @@ type HttpAPI = :<|> "keysafe" :> V1 :> "stats" :> "countobjects" :> POWParam :> Get '[JSON] (ProofOfWorkRequirement CountResult) -newtype APIVersion = APIVersion Int - deriving (Generic) - type V1 = "v1" newtype Motd = Motd Text @@ -57,8 +54,6 @@ type POWParam = QueryParam "proofofwork" ProofOfWork type ObjectIdent = Capture "ident" StorableObjectIdent -instance ToJSON APIVersion -instance FromJSON APIVersion instance ToJSON Motd instance FromJSON Motd instance ToJSON t => ToJSON (ProofOfWorkRequirement t) |