| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Gargantext.API.Routes.Named.Viz
Synopsis
- data PhyloAPI mode = PhyloAPI {- getPhyloEp :: mode :- (Summary "Phylo API" :> NamedRoutes GetPhylo)
- postPhyloEp :: mode :- NamedRoutes PostPhylo
 
- newtype GetPhylo mode = GetPhylo {- getPhyloDataEp :: mode :- (QueryParam "listId" ListId :> (QueryParam "level" Level :> (QueryParam "minSizeBranch" MinSizeBranch :> Get '[JSON] PhyloData)))
 
- newtype PostPhylo mode = PostPhylo {- postPhyloByListIdEp :: mode :- (QueryParam "listId" ListId :> Post '[JSON] NodeId)
 
- data GraphAPI mode = GraphAPI {- getGraphEp :: mode :- Get '[JSON] HyperdataGraphAPI
- getGraphAsyncEp :: mode :- ("async" :> NamedRoutes GraphAsyncAPI)
- cloneGraphEp :: mode :- ("clone" :> (ReqBody '[JSON] HyperdataGraphAPI :> Post '[JSON] NodeId))
- gexfEp :: mode :- ("gexf" :> Get '[XML] (Headers '[Header "Content-Disposition" Text] Graph))
- graphVersionsAPI :: mode :- ("versions" :> NamedRoutes GraphVersionsAPI)
 
- newtype GraphAsyncAPI mode = GraphAsyncAPI {- recomputeGraphEp :: mode :- (Summary "Recompute graph" :> ("recompute" :> AsyncJobsAPI JobLog () JobLog))
 
- data GraphVersionsAPI mode = GraphVersionsAPI {- getGraphVersionsEp :: mode :- (Summary "Graph versions" :> Get '[JSON] GraphVersions)
- recomputeGraphVersionEp :: mode :- (Summary "Recompute graph version" :> Post '[JSON] Graph)
 
- data PhyloData = PhyloData {}
- data GraphVersions = GraphVersions {}
Routes types
Constructors
| PhyloAPI | |
| Fields 
 | |
Instances
| Generic (PhyloAPI mode) # | |
| type Rep (PhyloAPI mode) # | |
| Defined in Gargantext.API.Routes.Named.Viz type Rep (PhyloAPI mode) = D1 ('MetaData "PhyloAPI" "Gargantext.API.Routes.Named.Viz" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "PhyloAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPhyloEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (Summary "Phylo API" :> NamedRoutes GetPhylo))) :*: S1 ('MetaSel ('Just "postPhyloEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- NamedRoutes PostPhylo)))) | |
Constructors
| GetPhylo | |
| Fields 
 | |
Constructors
| PostPhylo | |
| Fields 
 | |
Instances
| Generic (PostPhylo mode) # | |
| type Rep (PostPhylo mode) # | |
| Defined in Gargantext.API.Routes.Named.Viz type Rep (PostPhylo mode) = D1 ('MetaData "PostPhylo" "Gargantext.API.Routes.Named.Viz" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "PostPhylo" 'PrefixI 'True) (S1 ('MetaSel ('Just "postPhyloByListIdEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (mode :- (QueryParam "listId" ListId :> Post '[JSON] NodeId))))) | |
Constructors
| GraphAPI | |
| Fields 
 | |
Instances
newtype GraphAsyncAPI mode #
Constructors
| GraphAsyncAPI | |
| Fields 
 | |
Instances
| Generic (GraphAsyncAPI mode) # | |
| Defined in Gargantext.API.Routes.Named.Viz Associated Types type Rep (GraphAsyncAPI mode) :: Type -> Type # Methods from :: GraphAsyncAPI mode -> Rep (GraphAsyncAPI mode) x # to :: Rep (GraphAsyncAPI mode) x -> GraphAsyncAPI mode # | |
| type Rep (GraphAsyncAPI mode) # | |
| Defined in Gargantext.API.Routes.Named.Viz type Rep (GraphAsyncAPI mode) = D1 ('MetaData "GraphAsyncAPI" "Gargantext.API.Routes.Named.Viz" "gargantext-0.0.7.1.5.3-inplace" 'True) (C1 ('MetaCons "GraphAsyncAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "recomputeGraphEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (mode :- (Summary "Recompute graph" :> ("recompute" :> AsyncJobsAPI JobLog () JobLog)))))) | |
data GraphVersionsAPI mode #
Constructors
| GraphVersionsAPI | |
| Fields 
 | |
Instances
| Generic (GraphVersionsAPI mode) # | |
| Defined in Gargantext.API.Routes.Named.Viz Associated Types type Rep (GraphVersionsAPI mode) :: Type -> Type # Methods from :: GraphVersionsAPI mode -> Rep (GraphVersionsAPI mode) x # to :: Rep (GraphVersionsAPI mode) x -> GraphVersionsAPI mode # | |
| type Rep (GraphVersionsAPI mode) # | |
| Defined in Gargantext.API.Routes.Named.Viz type Rep (GraphVersionsAPI mode) = D1 ('MetaData "GraphVersionsAPI" "Gargantext.API.Routes.Named.Viz" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "GraphVersionsAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "getGraphVersionsEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (Summary "Graph versions" :> Get '[JSON] GraphVersions))) :*: S1 ('MetaSel ('Just "recomputeGraphVersionEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (Summary "Recompute graph version" :> Post '[JSON] Graph))))) | |
API types (appears in the routes)
Constructors
| PhyloData | |
| Fields 
 | |
Instances
| Arbitrary PhyloData # | |
| FromJSON PhyloData # | |
| ToJSON PhyloData # | |
| Defined in Gargantext.API.Routes.Named.Viz | |
| Generic PhyloData # | |
| Show PhyloData # | |
| Eq PhyloData # | |
| ToSchema PhyloData # | |
| Defined in Gargantext.API.Routes.Named.Viz Methods declareNamedSchema :: Proxy PhyloData -> Declare (Definitions Schema) NamedSchema # | |
| type Rep PhyloData # | |
| Defined in Gargantext.API.Routes.Named.Viz type Rep PhyloData = D1 ('MetaData "PhyloData" "Gargantext.API.Routes.Named.Viz" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "PhyloData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pd_corpusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NodeId) :*: S1 ('MetaSel ('Just "pd_listId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NodeId)) :*: (S1 ('MetaSel ('Just "pd_data") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GraphData) :*: S1 ('MetaSel ('Just "pd_config") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PhyloConfig)))) | |
data GraphVersions #