cicero-api-0.1.2.0: API bindings to IOHK's Cicero job scheduler
Safe HaskellSafe-Inferred
LanguageHaskell2010

IOHK.Cicero.API.Action

Synopsis

Documentation

data ActionRoutes mode Source #

Action routes in the Cicero API

Instances

Instances details
Generic (ActionRoutes mode) Source # 
Instance details

Defined in IOHK.Cicero.API.Action

Associated Types

type Rep (ActionRoutes mode) :: Type -> Type #

Methods

from :: ActionRoutes mode -> Rep (ActionRoutes mode) x #

to :: Rep (ActionRoutes mode) x -> ActionRoutes mode #

type Rep (ActionRoutes mode) Source # 
Instance details

Defined in IOHK.Cicero.API.Action

type Rep (ActionRoutes mode) = D1 ('MetaData "ActionRoutes" "IOHK.Cicero.API.Action" "cicero-api-0.1.2.0-9y64LgroRO6CqnkOALTEuu" 'False) (C1 ('MetaCons "ActionRoutes" 'PrefixI 'True) (S1 ('MetaSel ('Just "create") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (mode :- (ReqBody '[JSON] CreateActionV1 :> Post '[JSON] CreateActionResponseV2))) :*: S1 ('MetaSel ('Just "get") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (mode :- (Capture "id" ActionID :> Get '[JSON] ActionV2)))))

data ActionNamesV1 Source #

The action names to add from a given ActionSourceV1

Constructors

Only !Text

Just add the action with the given name

AllNames

Add all names exported by the source

newtype CUE Source #

A CUE lang value

For now just a wrapper around Text that we hope parses

Constructors

CUE 

Fields

Instances

Instances details
FromJSON CUE Source # 
Instance details

Defined in IOHK.Cicero.API.Action

ToJSON CUE Source # 
Instance details

Defined in IOHK.Cicero.API.Action

data InputV2 Source #

An input to a job

Constructors

Input 

Fields

Instances

Instances details
FromJSON InputV2 Source # 
Instance details

Defined in IOHK.Cicero.API.Action

ToJSON InputV2 Source # 
Instance details

Defined in IOHK.Cicero.API.Action

data ActionV2 Source #

An action

Constructors

Action 

Instances

Instances details
FromJSON ActionV2 Source # 
Instance details

Defined in IOHK.Cicero.API.Action

ToJSON ActionV2 Source # 
Instance details

Defined in IOHK.Cicero.API.Action