Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module implements the endpoints described at Cryptokeys API
Synopsis
- data CryptokeysAPI f = CryptokeysAPI {
- apiListCryptokeys :: f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> Get '[JSON] [Cryptokey])))))
- apiCreateCryptokey :: f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> (ReqBody '[JSON] Cryptokey :> PostCreated '[JSON] Cryptokey))))))
- apiGetCryptokey :: f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> (Capture "cryptokey_id" Text :> Get '[JSON] Cryptokey))))))
- apiUpdateCryptokey :: f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> (Capture "cryptokey_id" Text :> (ReqBody '[JSON] Cryptokey :> PutNoContent)))))))
- apiDeleteCryptokey :: f :- ("servers" :> (Capture "server_id" Text :> ("zones" :> (Capture "zone_id" Text :> ("cryptokeys" :> (Capture "cryptokey_id" Text :> DeleteNoContent))))))
- data Cryptokey = Cryptokey {}
API
data CryptokeysAPI f Source #
CryptokeysAPI | |
|