hercules-ci-api-agent-0.5.0.0: API definition for Hercules CI Agent to talk to hercules-ci.com or Hercules CI Enterprise
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hercules.API.Agent.Tasks

Documentation

data TasksAPI auth f Source #

Constructors

TasksAPI 

Fields

Instances

Instances details
Generic (TasksAPI auth f) Source # 
Instance details

Defined in Hercules.API.Agent.Tasks

Associated Types

type Rep (TasksAPI auth f) :: Type -> Type #

Methods

from :: TasksAPI auth f -> Rep (TasksAPI auth f) x #

to :: Rep (TasksAPI auth f) x -> TasksAPI auth f #

type Rep (TasksAPI auth f) Source # 
Instance details

Defined in Hercules.API.Agent.Tasks

type Rep (TasksAPI auth f) = D1 ('MetaData "TasksAPI" "Hercules.API.Agent.Tasks" "hercules-ci-api-agent-0.5.0.0-inplace" 'False) (C1 ('MetaCons "TasksAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "tasksReady") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("tasks" :> (auth :> Post '[JSON] (Maybe (Task Any)))))) :*: (S1 ('MetaSel ('Just "tasksSetStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("tasks" :> (Capture "taskId" (Id (Task Any)) :> (ReqBody '[JSON] TaskStatus :> (auth :> Post '[JSON] NoContent)))))) :*: S1 ('MetaSel ('Just "postLog") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("tasks" :> ("log" :> (ReqBody '[JSON] [Object] :> (auth :> Post '[JSON] NoContent)))))))))