diff options
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) |