Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data TreeAPI mode = TreeAPI {
- treeChartEp :: mode :- (Summary " Tree API" :> (QueryParam "from" UTCTime :> (QueryParam "to" UTCTime :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> (QueryParamR "listType" ListType :> Get '[JSON] (HashedResponse (ChartMetrics (Vector NgramsTree)))))))))
- treeChartUpdateEp :: mode :- (Summary "Tree Chart update" :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> (QueryParamR "listType" ListType :> Post '[JSON] ()))))
- treeHashEp :: mode :- ("hash" :> (Summary "Tree Hash" :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> (QueryParamR "listType" ListType :> Get '[JSON] Text)))))
- data ScatterAPI mode = ScatterAPI {
- sepGenEp :: mode :- (Summary "SepGen IncExc metrics" :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> (QueryParam "limit" Limit :> Get '[JSON] (HashedResponse Metrics)))))
- scatterUpdateEp :: mode :- (Summary "Scatter update" :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> (QueryParam "limit" Limit :> Post '[JSON] ()))))
- scatterHashEp :: mode :- ("hash" :> (Summary "Scatter Hash" :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> Get '[JSON] Text))))
- data ChartAPI mode = ChartAPI {
- getChartEp :: mode :- (Summary " Chart API" :> (QueryParam "from" UTCTime :> (QueryParam "to" UTCTime :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> Get '[JSON] (HashedResponse (ChartMetrics Histo)))))))
- updateChartEp :: mode :- (Summary "Chart update" :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> (QueryParam "limit" Limit :> Post '[JSON] ()))))
- chartHashEp :: mode :- ("hash" :> (Summary "Chart Hash" :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> Get '[JSON] Text))))
- data PieAPI mode = PieAPI {
- getPieChartEp :: mode :- (Summary "Pie Chart" :> (QueryParam "from" UTCTime :> (QueryParam "to" UTCTime :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> Get '[JSON] (HashedResponse (ChartMetrics Histo)))))))
- pieChartUpdateEp :: mode :- (Summary "Pie Chart update" :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> (QueryParam "limit" Limit :> Post '[JSON] ()))))
- pieHashEp :: mode :- ("hash" :> (Summary "Pie Hash" :> (QueryParam "list" ListId :> (QueryParamR "ngramsType" TabType :> Get '[JSON] Text))))
Routes types
TreeAPI | |
|
data ScatterAPI mode #
ScatterAPI | |
|
Instances
Generic (ScatterAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Metrics type Rep (ScatterAPI mode) :: Type -> Type # from :: ScatterAPI mode -> Rep (ScatterAPI mode) x # to :: Rep (ScatterAPI mode) x -> ScatterAPI mode # | |
type Rep (ScatterAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Metrics |
ChartAPI | |
|
PieAPI | |
|