Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data NodeTreeAPI mode = NodeTreeAPI {
- nodeTreeEp :: mode :- (QueryParams "type" NodeType :> Get '[JSON] (Tree NodeTree))
- firstLevelEp :: mode :- ("first-level" :> (QueryParams "type" NodeType :> Get '[JSON] (Tree NodeTree)))
- data TreeFlatAPI mode = TreeFlatAPI {
- getNodesEp :: mode :- (QueryParams "type" NodeType :> (QueryParam "query" Text :> Get '[JSON] [NodeTree]))
Routes types
data NodeTreeAPI mode #
NodeTreeAPI | |
|
Instances
Generic (NodeTreeAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Tree type Rep (NodeTreeAPI mode) :: Type -> Type # from :: NodeTreeAPI mode -> Rep (NodeTreeAPI mode) x # to :: Rep (NodeTreeAPI mode) x -> NodeTreeAPI mode # | |
type Rep (NodeTreeAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Tree type Rep (NodeTreeAPI mode) = D1 ('MetaData "NodeTreeAPI" "Gargantext.API.Routes.Named.Tree" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "NodeTreeAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "nodeTreeEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (QueryParams "type" NodeType :> Get '[JSON] (Tree NodeTree)))) :*: S1 ('MetaSel ('Just "firstLevelEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- ("first-level" :> (QueryParams "type" NodeType :> Get '[JSON] (Tree NodeTree))))))) |
data TreeFlatAPI mode #
TreeFlatAPI | |
|
Instances
Generic (TreeFlatAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Tree type Rep (TreeFlatAPI mode) :: Type -> Type # from :: TreeFlatAPI mode -> Rep (TreeFlatAPI mode) x # to :: Rep (TreeFlatAPI mode) x -> TreeFlatAPI mode # | |
type Rep (TreeFlatAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Tree type Rep (TreeFlatAPI mode) = D1 ('MetaData "TreeFlatAPI" "Gargantext.API.Routes.Named.Tree" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "TreeFlatAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "getNodesEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (QueryParams "type" NodeType :> (QueryParam "query" Text :> Get '[JSON] [NodeTree])))))) |