Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data GargPrivateAPI mode
- data GargPrivateAPI' mode = GargPrivateAPI' {
- gargAdminAPI :: mode :- NamedRoutes GargAdminAPI
- nodeEp :: mode :- NamedRoutes NodeEndpoint
- contextEp :: mode :- ("context" :> (Summary "Node endpoint" :> (Capture "node_id" ContextId :> NamedRoutes (ContextAPI HyperdataAny))))
- corpusNodeAPI :: mode :- ("corpus" :> (Summary "Corpus endpoint" :> (Capture "corpus_id" CorpusId :> NamedRoutes (NodeAPI HyperdataCorpus))))
- corpusNodeNodeAPI :: mode :- ("corpus" :> (Summary "Corpus endpoint" :> (Capture "node1_id" NodeId :> ("document" :> (Capture "node2_id" NodeId :> NamedRoutes (NodeNodeAPI HyperdataAny))))))
- corpusExportAPI :: mode :- ("corpus" :> (Capture "node_id" CorpusId :> NamedRoutes CorpusExportAPI))
- annuaireEp :: mode :- ("annuaire" :> (Summary "Annuaire endpoint" :> (Capture "annuaire_id" AnnuaireId :> NamedRoutes (NodeAPI HyperdataAnnuaire))))
- contactAPI :: mode :- ("annuaire" :> (Summary "Contact endpoint" :> (Capture "annuaire_id" NodeId :> NamedRoutes ContactAPI)))
- tableNgramsAPI :: mode :- ("document" :> (Summary "Document endpoint" :> (Capture "doc_id" DocId :> ("ngrams" :> NamedRoutes TableNgramsAPI))))
- documentExportAPI :: mode :- ("texts" :> (Capture "node_id" DocId :> NamedRoutes DocumentExportAPI))
- countAPI :: mode :- ("count" :> (Summary "Count endpoint" :> (ReqBody '[JSON] Query :> NamedRoutes CountAPI)))
- graphAPI :: mode :- ("graph" :> (Summary "Graph endpoint" :> (Capture "graph_id" NodeId :> NamedRoutes GraphAPI)))
- treeAPI :: mode :- ("tree" :> (Summary "Tree endpoint" :> (Capture "tree_id" NodeId :> PolicyChecked (NamedRoutes TreeAPI))))
- treeFlatAPI :: mode :- ("treeflat" :> (Summary "Flat tree endpoint" :> (Capture "tree_id" NodeId :> NamedRoutes TreeFlatAPI)))
- membersAPI :: mode :- ("members" :> (Summary "Team node members" :> NamedRoutes MembersAPI))
- addWithFormEp :: mode :- NamedRoutes AddWithForm
- addWithQueryEp :: mode :- NamedRoutes AddWithQuery
- listGetAPI :: mode :- NamedRoutes GETAPI
- listJsonAPI :: mode :- NamedRoutes JSONAPI
- listCsvAPI :: mode :- NamedRoutes CSVAPI
- shareUrlEp :: mode :- ("shareurl" :> NamedRoutes ShareURL)
- data GargAdminAPI mode = GargAdminAPI {}
- data NodeEndpoint mode = NodeEndpoint {
- nodeEndpointAPI :: mode :- ("node" :> (Summary "Node endpoint" :> (Capture "node_id" NodeId :> NamedRoutes (NodeAPI HyperdataAny))))
- data MembersAPI mode = MembersAPI {
- getMembersEp :: mode :- Get '[JSON] [Text]
Routes types
data GargPrivateAPI mode #
Instances
Generic (GargPrivateAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Private type Rep (GargPrivateAPI mode) :: Type -> Type # from :: GargPrivateAPI mode -> Rep (GargPrivateAPI mode) x # to :: Rep (GargPrivateAPI mode) x -> GargPrivateAPI mode # | |
type Rep (GargPrivateAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Private |
data GargPrivateAPI' mode #
Instances
data GargAdminAPI mode #
Instances
Generic (GargAdminAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Private type Rep (GargAdminAPI mode) :: Type -> Type # from :: GargAdminAPI mode -> Rep (GargAdminAPI mode) x # to :: Rep (GargAdminAPI mode) x -> GargAdminAPI mode # | |
type Rep (GargAdminAPI mode) # | |
Defined in Gargantext.API.Routes.Named.Private type Rep (GargAdminAPI mode) = D1 ('MetaData "GargAdminAPI" "Gargantext.API.Routes.Named.Private" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "GargAdminAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "rootsEp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- ("user" :> (Summary "First user endpoint" :> NamedRoutes Roots)))) :*: S1 ('MetaSel ('Just "adminNodesAPI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- ("nodes" :> (Summary "Nodes endpoint" :> (ReqBody '[JSON] [NodeId] :> NamedRoutes NodesAPI))))))) |
data NodeEndpoint mode #
NodeEndpoint | |
|
Instances
Generic (NodeEndpoint mode) # | |
Defined in Gargantext.API.Routes.Named.Private type Rep (NodeEndpoint mode) :: Type -> Type # from :: NodeEndpoint mode -> Rep (NodeEndpoint mode) x # to :: Rep (NodeEndpoint mode) x -> NodeEndpoint mode # | |
type Rep (NodeEndpoint mode) # | |
Defined in Gargantext.API.Routes.Named.Private type Rep (NodeEndpoint mode) = D1 ('MetaData "NodeEndpoint" "Gargantext.API.Routes.Named.Private" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "NodeEndpoint" 'PrefixI 'True) (S1 ('MetaSel ('Just "nodeEndpointAPI") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (mode :- ("node" :> (Summary "Node endpoint" :> (Capture "node_id" NodeId :> NamedRoutes (NodeAPI HyperdataAny)))))))) |
data MembersAPI mode #
MembersAPI | |
|