Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data TableAPI mode = TableAPI {
- getTableEp :: mode :- (Summary "Table API" :> (QueryParam "tabType" TabType :> (QueryParam "limit" Limit :> (QueryParam "offset" Offset :> (QueryParam "orderBy" OrderBy :> (QueryParam "query" RawQuery :> (QueryParam "year" Text :> Get '[JSON] (HashedResponse FacetTableResult))))))))
- postTableEp :: mode :- (Summary "Table API (POST)" :> (ReqBody '[JSON] TableQuery :> Post '[JSON] FacetTableResult))
- hashTableEp :: mode :- ("hash" :> (Summary "Hash Table" :> (QueryParam "tabType" TabType :> Get '[JSON] Text)))
- data TableNgramsAPI mode = TableNgramsAPI {
- tableNgramsGetAPI :: mode :- NamedRoutes TableNgramsApiGet
- tableNgramsPutAPI :: mode :- NamedRoutes TableNgramsApiPut
- recomputeScoresEp :: mode :- NamedRoutes RecomputeScoresNgramsApiGet
- tableNgramsGetVersionEp :: mode :- ("version" :> NamedRoutes TableNgramsApiGetVersion)
- tableNgramsAsyncAPI :: mode :- NamedRoutes TableNgramsAsyncAPI
- data TableNgramsApiGet mode = TableNgramsApiGet {
- getNgramsTableEp :: mode :- (Summary " Table Ngrams API Get" :> (QueryParamR "ngramsType" TabType :> (QueryParamR "list" ListId :> (QueryParamR "limit" Limit :> (QueryParam "offset" Offset :> (QueryParam "listType" ListType :> (QueryParam "minTermSize" MinSize :> (QueryParam "maxTermSize" MaxSize :> (QueryParam "orderBy" OrderBy :> (QueryParam "search" Text :> Get '[JSON] (VersionedWithCount NgramsTable)))))))))))
- data TableNgramsApiPut mode = TableNgramsApiPut {
- putNgramsTableEp :: mode :- (Summary " Table Ngrams API Change" :> (QueryParamR "ngramsType" TabType :> (QueryParamR "list" ListId :> (ReqBody '[JSON] (Versioned NgramsTablePatch) :> Put '[JSON] (Versioned NgramsTablePatch)))))
- data RecomputeScoresNgramsApiGet mode = RecomputeScoresNgramsApiGet {
- recomputeNgramsEp :: mode :- (Summary " Recompute scores for ngrams table" :> (QueryParamR "ngramsType" TabType :> (QueryParamR "list" ListId :> ("recompute" :> Post '[JSON] Int))))
- data TableNgramsApiGetVersion mode = TableNgramsApiGetVersion {
- getTableNgramsVersion :: mode :- (Summary " Table Ngrams API Get Version" :> (QueryParamR "ngramsType" TabType :> (QueryParamR "list" ListId :> Get '[JSON] Version)))
- data TableNgramsAsyncAPI mode = TableNgramsAsyncAPI {}
- data TableQuery = TableQuery {}
- type FacetTableResult = TableResult FacetDoc
Routes types
TableAPI | |
|
Instances
data TableNgramsAPI mode #
TableNgramsAPI | |
|
Instances
data TableNgramsApiGet mode #
TableNgramsApiGet | |
|
Instances
data TableNgramsApiPut mode #
TableNgramsApiPut | |
|
Instances
Generic (TableNgramsApiPut mode) # | |
Defined in Gargantext.API.Routes.Named.Table type Rep (TableNgramsApiPut mode) :: Type -> Type # from :: TableNgramsApiPut mode -> Rep (TableNgramsApiPut mode) x # to :: Rep (TableNgramsApiPut mode) x -> TableNgramsApiPut mode # | |
type Rep (TableNgramsApiPut mode) # | |
Defined in Gargantext.API.Routes.Named.Table type Rep (TableNgramsApiPut mode) = D1 ('MetaData "TableNgramsApiPut" "Gargantext.API.Routes.Named.Table" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "TableNgramsApiPut" 'PrefixI 'True) (S1 ('MetaSel ('Just "putNgramsTableEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (Summary " Table Ngrams API Change" :> (QueryParamR "ngramsType" TabType :> (QueryParamR "list" ListId :> (ReqBody '[JSON] (Versioned NgramsTablePatch) :> Put '[JSON] (Versioned NgramsTablePatch))))))))) |
data RecomputeScoresNgramsApiGet mode #
RecomputeScoresNgramsApiGet | |
|
Instances
Generic (RecomputeScoresNgramsApiGet mode) # | |
Defined in Gargantext.API.Routes.Named.Table type Rep (RecomputeScoresNgramsApiGet mode) :: Type -> Type # from :: RecomputeScoresNgramsApiGet mode -> Rep (RecomputeScoresNgramsApiGet mode) x # to :: Rep (RecomputeScoresNgramsApiGet mode) x -> RecomputeScoresNgramsApiGet mode # | |
type Rep (RecomputeScoresNgramsApiGet mode) # | |
Defined in Gargantext.API.Routes.Named.Table type Rep (RecomputeScoresNgramsApiGet mode) = D1 ('MetaData "RecomputeScoresNgramsApiGet" "Gargantext.API.Routes.Named.Table" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "RecomputeScoresNgramsApiGet" 'PrefixI 'True) (S1 ('MetaSel ('Just "recomputeNgramsEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (Summary " Recompute scores for ngrams table" :> (QueryParamR "ngramsType" TabType :> (QueryParamR "list" ListId :> ("recompute" :> Post '[JSON] Int)))))))) |
data TableNgramsApiGetVersion mode #
TableNgramsApiGetVersion | |
|
Instances
Generic (TableNgramsApiGetVersion mode) # | |
Defined in Gargantext.API.Routes.Named.Table type Rep (TableNgramsApiGetVersion mode) :: Type -> Type # from :: TableNgramsApiGetVersion mode -> Rep (TableNgramsApiGetVersion mode) x # to :: Rep (TableNgramsApiGetVersion mode) x -> TableNgramsApiGetVersion mode # | |
type Rep (TableNgramsApiGetVersion mode) # | |
Defined in Gargantext.API.Routes.Named.Table type Rep (TableNgramsApiGetVersion mode) = D1 ('MetaData "TableNgramsApiGetVersion" "Gargantext.API.Routes.Named.Table" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "TableNgramsApiGetVersion" 'PrefixI 'True) (S1 ('MetaSel ('Just "getTableNgramsVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (Summary " Table Ngrams API Get Version" :> (QueryParamR "ngramsType" TabType :> (QueryParamR "list" ListId :> Get '[JSON] Version))))))) |
data TableNgramsAsyncAPI mode #
Instances
Generic (TableNgramsAsyncAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Table type Rep (TableNgramsAsyncAPI mode) :: Type -> Type # from :: TableNgramsAsyncAPI mode -> Rep (TableNgramsAsyncAPI mode) x # to :: Rep (TableNgramsAsyncAPI mode) x -> TableNgramsAsyncAPI mode # | |
type Rep (TableNgramsAsyncAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Table type Rep (TableNgramsAsyncAPI mode) = D1 ('MetaData "TableNgramsAsyncAPI" "Gargantext.API.Routes.Named.Table" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "TableNgramsAsyncAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "updateTableNgramsChartsEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- (Summary "Table Ngrams Async API" :> ("async" :> ("charts" :> ("update" :> AsyncJobs JobLog '[JSON] UpdateTableNgramsCharts JobLog)))))))) |
API types (appears in the routes)
data TableQuery #
Instances
type FacetTableResult = TableResult FacetDoc #