hdo-0.2: A Digital Ocean client in Haskell
Network.DO.Net.Common
rootURI :: String Source #
apiVersion :: String Source #
(</>) :: String -> String -> String Source #
toURI :: String -> URI Source #
toList :: FromJSON a => Text -> Value -> [a] Source #
authorisation :: String -> Options Source #
class Listable a where Source #
Minimal complete definition
listEndpoint, listField
Methods
listEndpoint :: Proxy a -> String Source #
listField :: Proxy a -> Text Source #
queryList :: (ComonadEnv ToolConfiguration w, Monad m, Listable b, FromJSON b) => Proxy b -> w a -> (RESTT m [b], w a) Source #