cachix-api-1.3.2: Servant HTTP API specification for https://cachix.org
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cachix.API.Deploy.V1

Documentation

type API = "api" :> ("v1" :> ToServantApi DeployAPI) Source #

data DeployAPI route Source #

Constructors

DeployAPI 

Fields

Instances

Instances details
Generic (DeployAPI route) Source # 
Instance details

Defined in Cachix.API.Deploy.V1

Associated Types

type Rep (DeployAPI route) :: Type -> Type #

Methods

from :: DeployAPI route -> Rep (DeployAPI route) x #

to :: Rep (DeployAPI route) x -> DeployAPI route #

type Rep (DeployAPI route) Source # 
Instance details

Defined in Cachix.API.Deploy.V1

type Rep (DeployAPI route) = D1 ('MetaData "DeployAPI" "Cachix.API.Deploy.V1" "cachix-api-1.3.2-Iylk9RfpS833m1NHdZ9vH" 'False) (C1 ('MetaCons "DeployAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "activate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- Activate)) :*: S1 ('MetaSel ('Just "getDeployment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (route :- GetDeployment))))

type Activate = CachixAuth :> ("deploy" :> ("activate" :> (ReqBody '[JSON] Deploy :> Post '[JSON] DeployResponse))) Source #

type GetDeployment = CachixAuth :> ("deploy" :> ("deployment" :> (Capture "uuid" UUID :> Get '[JSON] Deployment))) Source #