IHP Api Reference
Safe HaskellNone

IHP.DataSync.REST.Types

Documentation

data ApiController Source #

Constructors

CreateRecordAction

POST apibooks

Fields

UpdateRecordAction 

Fields

DeleteRecordAction 

Fields

ShowRecordAction

GET apibooks/9ba0ffbc-bfc1-4d7d-8152-30a6648806f7

Fields

ListRecordsAction

GET apibooks

Fields

Instances

Instances details
Eq ApiController Source # 
Instance details

Defined in IHP.DataSync.REST.Types

Data ApiController Source # 
Instance details

Defined in IHP.DataSync.REST.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ApiController -> c ApiController #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ApiController #

toConstr :: ApiController -> Constr #

dataTypeOf :: ApiController -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ApiController) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ApiController) #

gmapT :: (forall b. Data b => b -> b) -> ApiController -> ApiController #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ApiController -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ApiController -> r #

gmapQ :: (forall d. Data d => d -> u) -> ApiController -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ApiController -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ApiController -> m ApiController #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ApiController -> m ApiController #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ApiController -> m ApiController #

Show ApiController Source # 
Instance details

Defined in IHP.DataSync.REST.Types

Methods

showsPrec :: Int -> ApiController -> ShowS #

show :: ApiController -> String

showList :: [ApiController] -> ShowS #

(ToField (PrimaryKey (GetTableName CurrentUserRecord)), Show (PrimaryKey (GetTableName CurrentUserRecord)), HasNewSessionUrl CurrentUserRecord, Typeable CurrentUserRecord, HasField "id" CurrentUserRecord (Id' (GetTableName CurrentUserRecord))) => Controller ApiController Source # 
Instance details

Defined in IHP.DataSync.REST.Controller

CanRoute ApiController Source # 
Instance details

Defined in IHP.DataSync.REST.Routes

HasPath ApiController Source # 
Instance details

Defined in IHP.DataSync.REST.Routes