ipfs-1.0.0: Access IPFS locally and remotely
Network.IPFS.Client.Pin
type API = AddAPI :<|> RemoveAPI Source #
type AddAPI = "add" :> (CID :> Put '[JSON] Response) Source #
type RemoveAPI = "rm" :> (CID :> (IsRecursive :> Delete '[JSON] Response)) Source #
newtype Response Source #
Constructors
Fields
Defined in Network.IPFS.Client.Pin
Methods
(==) :: Response -> Response -> Bool #
(/=) :: Response -> Response -> Bool #
showsPrec :: Int -> Response -> ShowS #
show :: Response -> String #
showList :: [Response] -> ShowS #
parseJSON :: Value -> Parser Response #
parseJSONList :: Value -> Parser [Response] #