hercules-ci-api-agent-0.2.2.0: API definition for Hercules CI Agent to talk to hercules-ci.com or Hercules CI Enterprise

Safe HaskellNone
LanguageHaskell2010

Hercules.API.Agent.Tasks

Documentation

data TasksAPI auth f Source #

Constructors

TasksAPI 

Fields

Instances
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.2.2.0-H8XBgIW1mHxGazLTBa2ark" False) (C1 (MetaCons "TasksAPI" PrefixI True) (S1 (MetaSel (Just "tasksReady") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- ("tasks" :> (auth :> Post (JSON ': ([] :: [Type])) (Maybe (Task Any)))))) :*: (S1 (MetaSel (Just "tasksSetStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- ("tasks" :> (Capture "taskId" (Id (Task Any)) :> (ReqBody (JSON ': ([] :: [Type])) TaskStatus :> (auth :> Post (JSON ': ([] :: [Type])) NoContent)))))) :*: S1 (MetaSel (Just "postLog") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (f :- ("tasks" :> ("log" :> (ReqBody (JSON ': ([] :: [Type])) [Object] :> (auth :> Post (JSON ': ([] :: [Type])) NoContent)))))))))