]> Git — Sourcephile - gargantext.git/blob - src/Gargantext/API/Client.hs
[FEAT] CodeBook docker fix
[gargantext.git] / src / Gargantext / API / Client.hs
1 {-# OPTIONS_GHC -freduction-depth=0 #-}
2 {-# OPTIONS_GHC -O0 #-}
3 {-# LANGUAGE TypeOperators #-}
4
5 module Gargantext.API.Client where
6
7 import Data.Int
8 import Data.Maybe
9 import Data.Map (Map)
10 import Data.Morpheus.Types.IO (GQLRequest, GQLResponse)
11 import Data.Proxy
12 import Data.Text (Text)
13 import Data.Time.Clock
14 import Data.Vector (Vector)
15 import Gargantext.API
16 import Gargantext.API.Admin.Auth.Types hiding (Token)
17 import Gargantext.API.Admin.Orchestrator.Types
18 import Gargantext.API.Count
19 import Gargantext.API.EKG
20 import qualified Gargantext.API.GraphQL as GraphQL
21 import Gargantext.API.HashedResponse
22 import Gargantext.API.Ngrams as Ngrams
23 import Gargantext.API.Ngrams.NgramsTree
24 import Gargantext.API.Ngrams.List.Types
25 import Gargantext.API.Node
26 import Gargantext.API.Node.Contact
27 import Gargantext.API.Node.Corpus.Export.Types
28 import Gargantext.API.Node.Corpus.New
29 import qualified Gargantext.API.Node.Document.Export.Types as DocumentExport
30 import Gargantext.API.Node.DocumentsFromWriteNodes
31 import Gargantext.API.Node.DocumentUpload
32 import Gargantext.API.Node.File
33 import Gargantext.API.Node.FrameCalcUpload
34 import Gargantext.API.Node.New
35 import Gargantext.API.Node.Share
36 import Gargantext.API.Node.Types
37 import Gargantext.API.Node.Update
38 import Gargantext.API.Public
39 import Gargantext.API.Routes
40 import Gargantext.API.Search
41 import Gargantext.API.Table
42 import Gargantext.Core.Types (NodeTableResult)
43 import Gargantext.Core.Types.Main hiding (Limit, Offset)
44 import Gargantext.Core.Viz.Graph hiding (Node, Version)
45 import Gargantext.Core.Viz.Graph.API
46 import Gargantext.Core.Viz.Types
47 import Gargantext.Database.Admin.Types.Metrics
48 import Gargantext.Database.Admin.Types.Hyperdata
49 import Gargantext.Database.Admin.Types.Node
50 import Gargantext.Database.Schema.Ngrams
51 import Gargantext.Database.Query.Facet as Facet
52 import Servant.API
53 import Servant.API.Flatten
54 import Servant.Auth.Client
55 import Servant.Client
56 import Servant.Job.Core
57 import Servant.Job.Types
58 import System.Metrics.Json (Sample, Value)
59
60 import qualified Data.Aeson as Aeson
61
62 -- * version API
63 getBackendVersion :: ClientM Text
64
65 -- * auth API
66 postAuth :: AuthRequest -> ClientM AuthResponse
67
68 -- * admin api
69 getRoots :: Token -> ClientM [Node HyperdataUser]
70 putRoots :: Token -> ClientM Int -- not actually implemented in the backend
71 deleteNodes :: Token -> [NodeId] -> ClientM Int
72
73 -- * node api
74 getNode :: Token -> NodeId -> ClientM (Node HyperdataAny)
75 getContext :: Token -> ContextId -> ClientM (Node HyperdataAny)
76 renameNode :: Token -> NodeId -> RenameNode -> ClientM [Int]
77 postNode :: Token -> NodeId -> PostNode -> ClientM [NodeId]
78 postNodeAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
79 postNodeAsyncJob :: Token -> NodeId -> JobInput Maybe PostNode -> ClientM (JobStatus 'Safe JobLog)
80 killNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
81 pollNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
82 waitNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
83
84 postNodeFrameCalcAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
85 postNodeFrameCalcAsyncJob :: Token -> NodeId -> JobInput Maybe FrameCalcUpload -> ClientM (JobStatus 'Safe JobLog)
86 killNodeFrameCalcAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
87 pollNodeFrameCalcAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
88 waitNodeFrameCalcAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
89
90 putNode :: Token -> NodeId -> HyperdataAny -> ClientM Int
91
92 postUpdateNodeAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
93 postUpdateNodeAsyncJob :: Token -> NodeId -> JobInput Maybe UpdateNodeParams -> ClientM (JobStatus 'Safe JobLog)
94 killUpdateNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
95 pollUpdateNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
96 waitUpdateNodeAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
97
98 deleteNode :: Token -> NodeId -> ClientM Int
99 getNodeChildren :: Token -> NodeId -> Maybe NodeType -> Maybe Int -> Maybe Int -> ClientM (NodeTableResult HyperdataAny)
100
101 getNodeTable :: Token -> NodeId -> Maybe TabType -> Maybe ListId -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> Maybe Text -> ClientM (HashedResponse FacetTableResult)
102 postNodeTableQuery :: Token -> NodeId -> TableQuery -> ClientM FacetTableResult
103 getNodeTableHash :: Token -> NodeId -> Maybe TabType -> ClientM Text
104
105 getNodeNgramsTable :: Token -> NodeId -> TabType -> ListId -> Int -> Maybe Int -> Maybe ListType -> Maybe MinSize -> Maybe MaxSize -> Maybe Ngrams.OrderBy -> Maybe Text -> ClientM (VersionedWithCount NgramsTable)
106 putNodeNgramsTablePatch :: Token -> NodeId -> TabType -> ListId -> Versioned NgramsTablePatch -> ClientM (Versioned NgramsTablePatch)
107 postNodeRecomputeNgramsTableScores :: Token -> NodeId -> TabType -> ListId -> ClientM Int
108 getNodeNgramsTableVersion :: Token -> NodeId -> TabType -> ListId -> ClientM Version
109 postNodeUpdateNgramsTableChartsAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
110 postNodeUpdateNgramsTableChartsAsyncJob :: Token -> NodeId -> JobInput Maybe UpdateTableNgramsCharts -> ClientM (JobStatus 'Safe JobLog)
111 killNodeUpdateNgramsTableChartsAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
112 pollNodeUpdateNgramsTableChartsAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
113 waitNodeUpdateNgramsTableChartsAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
114
115 putNodeCategory :: Token -> NodeId -> NodesToCategory -> ClientM [Int]
116 putNodeScore :: Token -> NodeId -> NodesToScore -> ClientM [Int]
117
118 postNodeSearch :: Token -> NodeId -> SearchQuery -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM SearchResult
119
120 postNodeShare :: Token -> NodeId -> ShareNodeParams -> ClientM Int
121
122 postNodePairCorpusAnnuaire :: Token -> NodeId -> AnnuaireId -> Maybe ListId -> ClientM [Int]
123 getNodePairs :: Token -> NodeId -> ClientM [AnnuaireId]
124 getNodePairings :: Token -> NodeId -> Maybe TabType -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM [FacetDoc]
125
126 getNodeScatterMetrics :: Token -> NodeId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM (HashedResponse Metrics)
127 postNodeScatterMetricsUpdate :: Token -> NodeId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
128 getNodeScatterMetricsHash :: Token -> NodeId -> Maybe NodeId -> TabType -> ClientM Text
129 getNodeChart :: Token -> NodeId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
130 postNodeChartUpdate :: Token -> NodeId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
131 getNodeChartHash :: Token -> NodeId -> Maybe NodeId -> TabType -> ClientM Text
132 getNodePie :: Token -> NodeId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
133 postNodePieUpdate :: Token -> NodeId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
134 getNodePieHash :: Token -> NodeId -> Maybe NodeId -> TabType -> ClientM Text
135 getNodeTree :: Token -> NodeId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ListType -> ClientM (HashedResponse (ChartMetrics (Vector NgramsTree)))
136 postNodeTreeUpdate :: Token -> NodeId -> Maybe NodeId -> TabType -> ListType -> ClientM ()
137 getNodeTreeHash :: Token -> NodeId -> Maybe NodeId -> TabType -> ListType -> ClientM Text
138 getNodePhylo :: Token -> NodeId -> Maybe NodeId -> Maybe Int -> Maybe Int -> ClientM Aeson.Value
139 putNodePhylo :: Token -> NodeId -> Maybe NodeId -> ClientM NodeId
140
141 putNodeMove :: Token -> NodeId -> ParentId -> ClientM [Int]
142 postNodeUnpublish :: Token -> NodeId -> NodeId -> ClientM Int
143
144 getNodeFile :: Token -> NodeId -> ClientM (Headers '[Header "Content-Type" Text] BSResponse)
145 postNodeFileAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
146 postNodeFileAsyncJob :: Token -> NodeId -> JobInput Maybe NewWithFile -> ClientM (JobStatus 'Safe JobLog)
147 killNodeFileAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
148 pollNodeFileAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
149 waitNodeFileAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
150
151 postNodeDocumentWriteNodesAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
152 postNodeDocumentWriteNodesAsyncJob :: Token -> NodeId -> JobInput Maybe Params -> ClientM (JobStatus 'Safe JobLog)
153 killNodeDocumentWriteNodesAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
154 pollNodeDocumentWriteNodesAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
155 waitNodeDocumentWriteNodesAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
156
157 postNodeDocumentUploadAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
158 postNodeDocumentUploadAsyncJob :: Token -> NodeId -> JobInput Maybe DocumentUpload -> ClientM (JobStatus 'Safe JobLog)
159 killNodeDocumentUploadAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
160 pollNodeDocumentUploadAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
161 waitNodeDocumentUploadAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
162
163 -- * corpus api
164 getCorpus :: Token -> CorpusId -> ClientM (Node HyperdataCorpus)
165 renameCorpus :: Token -> CorpusId -> RenameNode -> ClientM [Int]
166 postCorpus :: Token -> CorpusId -> PostNode -> ClientM [CorpusId]
167 postCorpusAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
168 postCorpusAsyncJob :: Token -> CorpusId -> JobInput Maybe PostNode -> ClientM (JobStatus 'Safe JobLog)
169 killCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
170 pollCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
171 waitCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
172
173 postCorpusFrameCalcAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
174 postCorpusFrameCalcAsyncJob :: Token -> CorpusId -> JobInput Maybe FrameCalcUpload -> ClientM (JobStatus 'Safe JobLog)
175 killCorpusFrameCalcAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
176 pollCorpusFrameCalcAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
177 waitCorpusFrameCalcAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
178
179 putCorpus :: Token -> CorpusId -> HyperdataCorpus -> ClientM Int
180
181 postUpdateCorpusAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
182 postUpdateCorpusAsyncJob :: Token -> CorpusId -> JobInput Maybe UpdateNodeParams -> ClientM (JobStatus 'Safe JobLog)
183 killUpdateCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
184 pollUpdateCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
185 waitUpdateCorpusAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
186
187 deleteCorpus :: Token -> CorpusId -> ClientM Int
188 getCorpusChildren :: Token -> CorpusId -> Maybe NodeType -> Maybe Int -> Maybe Int -> ClientM (NodeTableResult HyperdataCorpus)
189
190 getCorpusTable :: Token -> CorpusId -> Maybe TabType -> Maybe ListId -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> Maybe Text -> ClientM (HashedResponse FacetTableResult)
191 postCorpusTableQuery :: Token -> CorpusId -> TableQuery -> ClientM FacetTableResult
192 getCorpusTableHash :: Token -> CorpusId -> Maybe TabType -> ClientM Text
193
194 getCorpusNgramsTable :: Token -> CorpusId -> TabType -> ListId -> Int -> Maybe Int -> Maybe ListType -> Maybe MinSize -> Maybe MaxSize -> Maybe Ngrams.OrderBy -> Maybe Text -> ClientM (VersionedWithCount NgramsTable)
195 putCorpusNgramsTablePatch :: Token -> CorpusId -> TabType -> ListId -> Versioned NgramsTablePatch -> ClientM (Versioned NgramsTablePatch)
196 postCorpusRecomputeNgramsTableScores :: Token -> CorpusId -> TabType -> ListId -> ClientM Int
197 getCorpusNgramsTableVersion :: Token -> CorpusId -> TabType -> ListId -> ClientM Version
198 postCorpusUpdateNgramsTableChartsAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
199 postCorpusUpdateNgramsTableChartsAsyncJob :: Token -> CorpusId -> JobInput Maybe UpdateTableNgramsCharts -> ClientM (JobStatus 'Safe JobLog)
200 killCorpusUpdateNgramsTableChartsAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
201 pollCorpusUpdateNgramsTableChartsAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
202 waitCorpusUpdateNgramsTableChartsAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
203
204 putCorpusCategory :: Token -> CorpusId -> NodesToCategory -> ClientM [Int]
205 putCorpusScore :: Token -> CorpusId -> NodesToScore -> ClientM [Int]
206
207 postCorpusSearch :: Token -> CorpusId -> SearchQuery -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM SearchResult
208
209 postCorpusShare :: Token -> CorpusId -> ShareNodeParams -> ClientM Int
210
211 postCorpusPairCorpusAnnuaire :: Token -> CorpusId -> AnnuaireId -> Maybe ListId -> ClientM [Int]
212 getCorpusPairs :: Token -> CorpusId -> ClientM [AnnuaireId]
213 getCorpusPairings :: Token -> CorpusId -> Maybe TabType -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM [FacetDoc]
214
215 getCorpusScatterMetrics :: Token -> CorpusId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM (HashedResponse Metrics)
216 postCorpusScatterMetricsUpdate :: Token -> CorpusId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
217 getCorpusScatterMetricsHash :: Token -> CorpusId -> Maybe NodeId -> TabType -> ClientM Text
218 getCorpusChart :: Token -> CorpusId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
219 postCorpusChartUpdate :: Token -> CorpusId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
220 getCorpusChartHash :: Token -> CorpusId -> Maybe NodeId -> TabType -> ClientM Text
221 getCorpusPie :: Token -> CorpusId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
222 postCorpusPieUpdate :: Token -> CorpusId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
223 getCorpusPieHash :: Token -> CorpusId -> Maybe NodeId -> TabType -> ClientM Text
224 getCorpusTree :: Token -> CorpusId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ListType -> ClientM (HashedResponse (ChartMetrics (Vector NgramsTree)))
225 postCorpusTreeUpdate :: Token -> CorpusId -> Maybe NodeId -> TabType -> ListType -> ClientM ()
226 getCorpusTreeHash :: Token -> CorpusId -> Maybe NodeId -> TabType -> ListType -> ClientM Text
227 getCorpusPhylo :: Token -> CorpusId -> Maybe NodeId -> Maybe Int -> Maybe Int -> ClientM Aeson.Value
228 putCorpusPhylo :: Token -> CorpusId -> Maybe NodeId -> ClientM NodeId
229
230 putCorpusMove :: Token -> CorpusId -> ParentId -> ClientM [Int]
231 postCorpusUnpublish :: Token -> CorpusId -> CorpusId -> ClientM Int
232
233 getCorpusFile :: Token -> NodeId -> ClientM (Headers '[Header "Content-Type" Text] BSResponse)
234 postCorpusFileAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
235 postCorpusFileAsyncJob :: Token -> CorpusId -> JobInput Maybe NewWithFile -> ClientM (JobStatus 'Safe JobLog)
236 killCorpusFileAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
237 pollCorpusFileAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
238 waitCorpusFileAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
239
240 postCorpusDocumentWriteNodesAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
241 postCorpusDocumentWriteNodesAsyncJob :: Token -> CorpusId -> JobInput Maybe Params -> ClientM (JobStatus 'Safe JobLog)
242 killCorpusDocumentWriteNodesAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
243 pollCorpusDocumentWriteNodesAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
244 waitCorpusDocumentWriteNodesAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
245
246 postCorpusDocumentUploadAsync :: Token -> CorpusId -> ClientM (JobStatus 'Safe JobLog)
247 postCorpusDocumentUploadAsyncJob :: Token -> CorpusId -> JobInput Maybe DocumentUpload -> ClientM (JobStatus 'Safe JobLog)
248 killCorpusDocumentUploadAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
249 pollCorpusDocumentUploadAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
250 waitCorpusDocumentUploadAsyncJob :: Token -> CorpusId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
251
252 -- * corpus node/node API
253 getCorpusNodeNode :: Token -> NodeId -> NodeId -> ClientM (Node HyperdataAny)
254
255 -- * corpus export API
256 getCorpusExport :: Token -> CorpusId -> Maybe ListId -> Maybe NgramsType -> ClientM Corpus
257
258 -- * annuaire api
259 getAnnuaire :: Token -> AnnuaireId -> ClientM (Node HyperdataAnnuaire)
260 renameAnnuaire :: Token -> AnnuaireId -> RenameNode -> ClientM [Int]
261 postAnnuaire :: Token -> AnnuaireId -> PostNode -> ClientM [AnnuaireId]
262 postAnnuaireAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
263 postAnnuaireAsyncJob :: Token -> AnnuaireId -> JobInput Maybe PostNode -> ClientM (JobStatus 'Safe JobLog)
264 killAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
265 pollAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
266 waitAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
267
268 postAnnuaireFrameCalcAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
269 postAnnuaireFrameCalcAsyncJob :: Token -> AnnuaireId -> JobInput Maybe FrameCalcUpload -> ClientM (JobStatus 'Safe JobLog)
270 killAnnuaireFrameCalcAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
271 pollAnnuaireFrameCalcAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
272 waitAnnuaireFrameCalcAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
273
274 putAnnuaire :: Token -> AnnuaireId -> HyperdataAnnuaire -> ClientM Int
275
276 postUpdateAnnuaireAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
277 postUpdateAnnuaireAsyncJob :: Token -> AnnuaireId -> JobInput Maybe UpdateNodeParams -> ClientM (JobStatus 'Safe JobLog)
278 killUpdateAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
279 pollUpdateAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
280 waitUpdateAnnuaireAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
281
282 deleteAnnuaire :: Token -> AnnuaireId -> ClientM Int
283 getAnnuaireChildren :: Token -> AnnuaireId -> Maybe NodeType -> Maybe Int -> Maybe Int -> ClientM (NodeTableResult HyperdataAnnuaire)
284
285 getAnnuaireTable :: Token -> AnnuaireId -> Maybe TabType -> Maybe ListId -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> Maybe Text -> ClientM (HashedResponse FacetTableResult)
286 postAnnuaireTableQuery :: Token -> AnnuaireId -> TableQuery -> ClientM FacetTableResult
287 getAnnuaireTableHash :: Token -> AnnuaireId -> Maybe TabType -> ClientM Text
288
289 getAnnuaireNgramsTable :: Token -> AnnuaireId -> TabType -> ListId -> Int -> Maybe Int -> Maybe ListType -> Maybe MinSize -> Maybe MaxSize -> Maybe Ngrams.OrderBy -> Maybe Text -> ClientM (VersionedWithCount NgramsTable)
290 putAnnuaireNgramsTablePatch :: Token -> AnnuaireId -> TabType -> ListId -> Versioned NgramsTablePatch -> ClientM (Versioned NgramsTablePatch)
291 postAnnuaireRecomputeNgramsTableScores :: Token -> AnnuaireId -> TabType -> ListId -> ClientM Int
292 getAnnuaireNgramsTableVersion :: Token -> AnnuaireId -> TabType -> ListId -> ClientM Version
293 postAnnuaireUpdateNgramsTableChartsAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
294 postAnnuaireUpdateNgramsTableChartsAsyncJob :: Token -> AnnuaireId -> JobInput Maybe UpdateTableNgramsCharts -> ClientM (JobStatus 'Safe JobLog)
295 killAnnuaireUpdateNgramsTableChartsAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
296 pollAnnuaireUpdateNgramsTableChartsAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
297 waitAnnuaireUpdateNgramsTableChartsAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
298
299 putAnnuaireCategory :: Token -> AnnuaireId -> NodesToCategory -> ClientM [Int]
300 putAnnuaireScore :: Token -> AnnuaireId -> NodesToScore -> ClientM [Int]
301
302 postAnnuaireSearch :: Token -> AnnuaireId -> SearchQuery -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM SearchResult
303 postAnnuaireShare :: Token -> AnnuaireId -> ShareNodeParams -> ClientM Int
304
305 postAnnuairePairCorpusAnnuaire :: Token -> AnnuaireId -> AnnuaireId -> Maybe ListId -> ClientM [Int]
306 getAnnuairePairs :: Token -> AnnuaireId -> ClientM [AnnuaireId]
307 getAnnuairePairings :: Token -> AnnuaireId -> Maybe TabType -> Maybe Int -> Maybe Int -> Maybe Facet.OrderBy -> ClientM [FacetDoc]
308
309 getAnnuaireScatterMetrics :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM (HashedResponse Metrics)
310 postAnnuaireScatterMetricsUpdate :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
311 getAnnuaireScatterMetricsHash :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ClientM Text
312 getAnnuaireChart :: Token -> AnnuaireId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
313 postAnnuaireChartUpdate :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
314 getAnnuaireChartHash :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ClientM Text
315 getAnnuairePie :: Token -> AnnuaireId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ClientM (HashedResponse (ChartMetrics Histo))
316 postAnnuairePieUpdate :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> Maybe Int -> ClientM ()
317 getAnnuairePieHash :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ClientM Text
318 getAnnuaireTree :: Token -> AnnuaireId -> Maybe UTCTime -> Maybe UTCTime -> Maybe NodeId -> TabType -> ListType -> ClientM (HashedResponse (ChartMetrics (Vector NgramsTree)))
319 postAnnuaireTreeUpdate :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ListType -> ClientM ()
320 getAnnuaireTreeHash :: Token -> AnnuaireId -> Maybe NodeId -> TabType -> ListType -> ClientM Text
321 getAnnuairePhylo :: Token -> AnnuaireId -> Maybe NodeId -> Maybe Int -> Maybe Int -> ClientM Aeson.Value
322 putAnnuairePhylo :: Token -> AnnuaireId -> Maybe NodeId -> ClientM NodeId
323
324 putAnnuaireMove :: Token -> AnnuaireId -> ParentId -> ClientM [Int]
325 postAnnuaireUnpublish :: Token -> AnnuaireId -> AnnuaireId -> ClientM Int
326
327 getAnnuaireFile :: Token -> AnnuaireId -> ClientM (Headers '[Header "Content-Type" Text] BSResponse)
328 postAnnuaireFileAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
329 postAnnuaireFileAsyncJob :: Token -> AnnuaireId -> JobInput Maybe NewWithFile -> ClientM (JobStatus 'Safe JobLog)
330 killAnnuaireFileAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
331 pollAnnuaireFileAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
332 waitAnnuaireFileAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
333
334 postAnnuaireDocumentWriteNodesAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
335 postAnnuaireDocumentWriteNodesAsyncJob :: Token -> AnnuaireId -> JobInput Maybe Params -> ClientM (JobStatus 'Safe JobLog)
336 killAnnuaireDocumentWriteNodesAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
337 pollAnnuaireDocumentWriteNodesAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
338 waitAnnuaireDocumentWriteNodesAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
339
340 postAnnuaireDocumentUploadAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
341 postAnnuaireDocumentUploadAsyncJob :: Token -> AnnuaireId -> JobInput Maybe DocumentUpload -> ClientM (JobStatus 'Safe JobLog)
342 killAnnuaireDocumentUploadAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
343 pollAnnuaireDocumentUploadAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
344 waitAnnuaireDocumentUploadAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
345
346 -- * contact api
347 postAnnuaireContactAsync :: Token -> AnnuaireId -> ClientM (JobStatus 'Safe JobLog)
348 postAnnuaireContactAsyncJob :: Token -> AnnuaireId -> JobInput Maybe AddContactParams -> ClientM (JobStatus 'Safe JobLog)
349 killAnnuaireContactAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
350 pollAnnuaireContactAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
351 waitAnnuaireContactAsyncJob :: Token -> AnnuaireId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
352
353 -- * contact node/node API
354 getAnnuaireContactNodeNode :: Token -> NodeId -> NodeId -> ClientM (Node HyperdataContact)
355
356 -- * document ngrams api
357 getDocumentNgramsTable :: Token -> DocId -> TabType -> ListId -> Int -> Maybe Int -> Maybe ListType -> Maybe MinSize -> Maybe MaxSize -> Maybe Ngrams.OrderBy -> Maybe Text -> ClientM (VersionedWithCount NgramsTable)
358 putDocumentNgramsTable :: Token -> DocId -> TabType -> ListId -> Versioned NgramsTablePatch -> ClientM (Versioned NgramsTablePatch)
359 postRecomputeDocumentNgramsTableScore :: Token -> DocId -> TabType -> ListId -> ClientM Int
360 getDocumentNgramsTableVersion :: Token -> DocId -> TabType -> ListId -> ClientM Version
361 postDocumentNgramsTableAsync :: Token -> DocId -> ClientM (JobStatus 'Safe JobLog)
362 postDocumentNgramsTableAsyncJob :: Token -> DocId -> JobInput Maybe UpdateTableNgramsCharts -> ClientM (JobStatus 'Safe JobLog)
363 killDocumentNgramsTableAsyncJob :: Token -> DocId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
364 pollDocumentNgramsTableAsyncJob :: Token -> DocId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
365 waitDocumentNgramsTableAsyncJob :: Token -> DocId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
366
367 -- * document export API
368 getDocumentExportJSON :: Token -> DocId -> ClientM DocumentExport.DocumentExport
369 getDocumentExportCSV :: Token -> DocId -> ClientM Text
370
371 -- * count api
372 postCountQuery :: Token -> Query -> ClientM Counts
373
374 -- * graph api
375 getGraphHyperdata :: Token -> NodeId -> ClientM HyperdataGraphAPI
376 postGraphAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
377 postGraphAsyncJob :: Token -> NodeId -> JobInput Maybe () -> ClientM (JobStatus 'Safe JobLog)
378 killGraphAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
379 pollGraphAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
380 waitGraphAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
381
382 postGraphClone :: Token -> NodeId -> HyperdataGraphAPI -> ClientM NodeId
383 getGraphGexf :: Token -> NodeId -> ClientM (Headers '[Header "Content-Disposition" Text] Graph)
384 getGraphVersions :: Token -> NodeId -> ClientM GraphVersions
385 postGraphRecomputeVersion :: Token -> NodeId -> ClientM Graph
386 getTree :: Token -> NodeId -> [NodeType] -> ClientM (Tree NodeTree)
387 getTreeFirstLevel :: Token -> NodeId -> [NodeType] -> ClientM (Tree NodeTree)
388
389 -- * new corpus API
390 postNewCorpusWithFormAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
391 postNewCorpusWithFormAsyncJob :: Token -> NodeId -> JobInput Maybe NewWithForm -> ClientM (JobStatus 'Safe JobLog)
392 killNewCorpusWithFormAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
393 pollNewCorpusWithFormAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
394 waitNewCorpusWithFormAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
395
396 postNewCorpusWithQueryAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
397 postNewCorpusWithQueryAsyncJob :: Token -> NodeId -> JobInput Maybe WithQuery -> ClientM (JobStatus 'Safe JobLog)
398 killNewCorpusWithQueryAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
399 pollNewCorpusWithQueryAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
400 waitNewCorpusWithQueryAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
401
402 -- * list API
403 getList :: Token -> NodeId -> ClientM (Headers '[Header "Content-Disposition" Text] (Map NgramsType (Versioned NgramsTableMap)))
404 postListJsonUpdateAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
405 postListJsonUpdateAsyncJob :: Token -> NodeId -> JobInput Maybe WithFile -> ClientM (JobStatus 'Safe JobLog)
406 killListJsonUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
407 pollListJsonUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
408 waitListJsonUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
409
410 postListCsvUpdateAsync :: Token -> NodeId -> ClientM (JobStatus 'Safe JobLog)
411 postListCsvUpdateAsyncJob :: Token -> NodeId -> JobInput Maybe WithTextFile -> ClientM (JobStatus 'Safe JobLog)
412 killListCsvUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
413 pollListCsvUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> Maybe Limit -> Maybe Offset -> ClientM (JobStatus 'Safe JobLog)
414 waitListCsvUpdateAsyncJob :: Token -> NodeId -> JobID 'Unsafe -> ClientM (JobOutput JobLog)
415
416 -- * public API
417 getPublicData :: ClientM [PublicData]
418 getPublicNodeFile :: NodeId -> ClientM (Headers '[Header "Content-Type" Text] BSResponse)
419
420 -- * ekg api
421 -- | get a sample of all metrics
422 getMetricsSample :: ClientM Sample
423 -- | open @<backend:port\/ekg\/index.html@ to see a list of metrics
424 getMetricSample :: [Text] -> ClientM Value
425
426 -- * graphql api
427
428 postGraphQL :: Token -> GQLRequest -> ClientM GQLResponse
429 postGraphQL = client (fstEndpoint (flatten GraphQL.gqapi))
430 where fstEndpoint :: Proxy (a :<|> b) -> Proxy a
431 fstEndpoint _ = Proxy
432
433 -- * unpacking of client functions to derive all the individual clients
434
435 clientApi :: Client ClientM (Flat GargAPI)
436 clientApi = client (flatten apiGarg)
437
438 getMetricsSample :<|> getMetricSample :<|> _ = client (Proxy :: Proxy (Flat EkgAPI))
439
440 postAuth
441 :<|> getBackendVersion
442 :<|> getRoots
443 :<|> putRoots
444 :<|> deleteNodes
445 :<|> getNode
446 :<|> renameNode
447 :<|> postNode
448 :<|> postNodeAsync
449 :<|> postNodeAsyncJob
450 :<|> killNodeAsyncJob
451 :<|> pollNodeAsyncJob
452 :<|> waitNodeAsyncJob
453 :<|> postNodeFrameCalcAsync
454 :<|> postNodeFrameCalcAsyncJob
455 :<|> killNodeFrameCalcAsyncJob
456 :<|> pollNodeFrameCalcAsyncJob
457 :<|> waitNodeFrameCalcAsyncJob
458 :<|> putNode
459 :<|> postUpdateNodeAsync
460 :<|> postUpdateNodeAsyncJob
461 :<|> killUpdateNodeAsyncJob
462 :<|> pollUpdateNodeAsyncJob
463 :<|> waitUpdateNodeAsyncJob
464 :<|> deleteNode
465 :<|> getNodeChildren
466 :<|> getNodeTable
467 :<|> postNodeTableQuery
468 :<|> getNodeTableHash
469 :<|> getNodeNgramsTable
470 :<|> putNodeNgramsTablePatch
471 :<|> postNodeRecomputeNgramsTableScores
472 :<|> getNodeNgramsTableVersion
473 :<|> postNodeUpdateNgramsTableChartsAsync
474 :<|> postNodeUpdateNgramsTableChartsAsyncJob
475 :<|> killNodeUpdateNgramsTableChartsAsyncJob
476 :<|> pollNodeUpdateNgramsTableChartsAsyncJob
477 :<|> waitNodeUpdateNgramsTableChartsAsyncJob
478 :<|> putNodeCategory
479 :<|> putNodeScore
480 :<|> postNodeSearch
481 :<|> postNodeShare
482 :<|> postNodePairCorpusAnnuaire
483 :<|> getNodePairs
484 :<|> getNodePairings
485 :<|> getNodeScatterMetrics
486 :<|> postNodeScatterMetricsUpdate
487 :<|> getNodeScatterMetricsHash
488 :<|> getNodeChart
489 :<|> postNodeChartUpdate
490 :<|> getNodeChartHash
491 :<|> getNodePie
492 :<|> postNodePieUpdate
493 :<|> getNodePieHash
494 :<|> getNodeTree
495 :<|> postNodeTreeUpdate
496 :<|> getNodeTreeHash
497 :<|> getNodePhylo
498 :<|> putNodePhylo
499 :<|> putNodeMove
500 :<|> postNodeUnpublish
501 :<|> getNodeFile
502 :<|> postNodeFileAsync
503 :<|> postNodeFileAsyncJob
504 :<|> killNodeFileAsyncJob
505 :<|> pollNodeFileAsyncJob
506 :<|> waitNodeFileAsyncJob
507 :<|> postNodeDocumentWriteNodesAsync
508 :<|> postNodeDocumentWriteNodesAsyncJob
509 :<|> killNodeDocumentWriteNodesAsyncJob
510 :<|> pollNodeDocumentWriteNodesAsyncJob
511 :<|> waitNodeDocumentWriteNodesAsyncJob
512 :<|> postNodeDocumentUploadAsync
513 :<|> postNodeDocumentUploadAsyncJob
514 :<|> killNodeDocumentUploadAsyncJob
515 :<|> pollNodeDocumentUploadAsyncJob
516 :<|> waitNodeDocumentUploadAsyncJob
517 :<|> getContext
518 :<|> getCorpus
519 :<|> renameCorpus
520 :<|> postCorpus
521 :<|> postCorpusAsync
522 :<|> postCorpusAsyncJob
523 :<|> killCorpusAsyncJob
524 :<|> pollCorpusAsyncJob
525 :<|> waitCorpusAsyncJob
526 :<|> postCorpusFrameCalcAsync
527 :<|> postCorpusFrameCalcAsyncJob
528 :<|> killCorpusFrameCalcAsyncJob
529 :<|> pollCorpusFrameCalcAsyncJob
530 :<|> waitCorpusFrameCalcAsyncJob
531 :<|> putCorpus
532 :<|> postUpdateCorpusAsync
533 :<|> postUpdateCorpusAsyncJob
534 :<|> killUpdateCorpusAsyncJob
535 :<|> pollUpdateCorpusAsyncJob
536 :<|> waitUpdateCorpusAsyncJob
537 :<|> deleteCorpus
538 :<|> getCorpusChildren
539 :<|> getCorpusTable
540 :<|> postCorpusTableQuery
541 :<|> getCorpusTableHash
542 :<|> getCorpusNgramsTable
543 :<|> putCorpusNgramsTablePatch
544 :<|> postCorpusRecomputeNgramsTableScores
545 :<|> getCorpusNgramsTableVersion
546 :<|> postCorpusUpdateNgramsTableChartsAsync
547 :<|> postCorpusUpdateNgramsTableChartsAsyncJob
548 :<|> killCorpusUpdateNgramsTableChartsAsyncJob
549 :<|> pollCorpusUpdateNgramsTableChartsAsyncJob
550 :<|> waitCorpusUpdateNgramsTableChartsAsyncJob
551 :<|> putCorpusCategory
552 :<|> putCorpusScore
553 :<|> postCorpusSearch
554 :<|> postCorpusShare
555 :<|> postCorpusPairCorpusAnnuaire
556 :<|> getCorpusPairs
557 :<|> getCorpusPairings
558 :<|> getCorpusScatterMetrics
559 :<|> postCorpusScatterMetricsUpdate
560 :<|> getCorpusScatterMetricsHash
561 :<|> getCorpusChart
562 :<|> postCorpusChartUpdate
563 :<|> getCorpusChartHash
564 :<|> getCorpusPie
565 :<|> postCorpusPieUpdate
566 :<|> getCorpusPieHash
567 :<|> getCorpusTree
568 :<|> postCorpusTreeUpdate
569 :<|> getCorpusTreeHash
570 :<|> getCorpusPhylo
571 :<|> putCorpusPhylo
572 :<|> putCorpusMove
573 :<|> postCorpusUnpublish
574 :<|> getCorpusFile
575 :<|> postCorpusFileAsync
576 :<|> postCorpusFileAsyncJob
577 :<|> killCorpusFileAsyncJob
578 :<|> pollCorpusFileAsyncJob
579 :<|> waitCorpusFileAsyncJob
580 :<|> postCorpusDocumentWriteNodesAsync
581 :<|> postCorpusDocumentWriteNodesAsyncJob
582 :<|> killCorpusDocumentWriteNodesAsyncJob
583 :<|> pollCorpusDocumentWriteNodesAsyncJob
584 :<|> waitCorpusDocumentWriteNodesAsyncJob
585 :<|> postCorpusDocumentUploadAsync
586 :<|> postCorpusDocumentUploadAsyncJob
587 :<|> killCorpusDocumentUploadAsyncJob
588 :<|> pollCorpusDocumentUploadAsyncJob
589 :<|> waitCorpusDocumentUploadAsyncJob
590 :<|> getCorpusNodeNode
591 :<|> getCorpusExport
592 :<|> getAnnuaire
593 :<|> renameAnnuaire
594 :<|> postAnnuaire
595 :<|> postAnnuaireAsync
596 :<|> postAnnuaireAsyncJob
597 :<|> killAnnuaireAsyncJob
598 :<|> pollAnnuaireAsyncJob
599 :<|> waitAnnuaireAsyncJob
600 :<|> postAnnuaireFrameCalcAsync
601 :<|> postAnnuaireFrameCalcAsyncJob
602 :<|> killAnnuaireFrameCalcAsyncJob
603 :<|> pollAnnuaireFrameCalcAsyncJob
604 :<|> waitAnnuaireFrameCalcAsyncJob
605 :<|> putAnnuaire
606 :<|> postUpdateAnnuaireAsync
607 :<|> postUpdateAnnuaireAsyncJob
608 :<|> killUpdateAnnuaireAsyncJob
609 :<|> pollUpdateAnnuaireAsyncJob
610 :<|> waitUpdateAnnuaireAsyncJob
611 :<|> deleteAnnuaire
612 :<|> getAnnuaireChildren
613 :<|> getAnnuaireTable
614 :<|> postAnnuaireTableQuery
615 :<|> getAnnuaireTableHash
616 :<|> getAnnuaireNgramsTable
617 :<|> putAnnuaireNgramsTablePatch
618 :<|> postAnnuaireRecomputeNgramsTableScores
619 :<|> getAnnuaireNgramsTableVersion
620 :<|> postAnnuaireUpdateNgramsTableChartsAsync
621 :<|> postAnnuaireUpdateNgramsTableChartsAsyncJob
622 :<|> killAnnuaireUpdateNgramsTableChartsAsyncJob
623 :<|> pollAnnuaireUpdateNgramsTableChartsAsyncJob
624 :<|> waitAnnuaireUpdateNgramsTableChartsAsyncJob
625 :<|> putAnnuaireCategory
626 :<|> putAnnuaireScore
627 :<|> postAnnuaireSearch
628 :<|> postAnnuaireShare
629 :<|> postAnnuairePairCorpusAnnuaire
630 :<|> getAnnuairePairs
631 :<|> getAnnuairePairings
632 :<|> getAnnuaireScatterMetrics
633 :<|> postAnnuaireScatterMetricsUpdate
634 :<|> getAnnuaireScatterMetricsHash
635 :<|> getAnnuaireChart
636 :<|> postAnnuaireChartUpdate
637 :<|> getAnnuaireChartHash
638 :<|> getAnnuairePie
639 :<|> postAnnuairePieUpdate
640 :<|> getAnnuairePieHash
641 :<|> getAnnuaireTree
642 :<|> postAnnuaireTreeUpdate
643 :<|> getAnnuaireTreeHash
644 :<|> getAnnuairePhylo
645 :<|> putAnnuairePhylo
646 :<|> putAnnuaireMove
647 :<|> postAnnuaireUnpublish
648 :<|> getAnnuaireFile
649 :<|> postAnnuaireFileAsync
650 :<|> postAnnuaireFileAsyncJob
651 :<|> killAnnuaireFileAsyncJob
652 :<|> pollAnnuaireFileAsyncJob
653 :<|> waitAnnuaireFileAsyncJob
654 :<|> postAnnuaireDocumentWriteNodesAsync
655 :<|> postAnnuaireDocumentWriteNodesAsyncJob
656 :<|> killAnnuaireDocumentWriteNodesAsyncJob
657 :<|> pollAnnuaireDocumentWriteNodesAsyncJob
658 :<|> waitAnnuaireDocumentWriteNodesAsyncJob
659 :<|> postAnnuaireDocumentUploadAsync
660 :<|> postAnnuaireDocumentUploadAsyncJob
661 :<|> killAnnuaireDocumentUploadAsyncJob
662 :<|> pollAnnuaireDocumentUploadAsyncJob
663 :<|> waitAnnuaireDocumentUploadAsyncJob
664 :<|> postAnnuaireContactAsync
665 :<|> postAnnuaireContactAsyncJob
666 :<|> killAnnuaireContactAsyncJob
667 :<|> pollAnnuaireContactAsyncJob
668 :<|> waitAnnuaireContactAsyncJob
669 :<|> getAnnuaireContactNodeNode
670 :<|> getDocumentNgramsTable
671 :<|> putDocumentNgramsTable
672 :<|> postRecomputeDocumentNgramsTableScore
673 :<|> getDocumentNgramsTableVersion
674 :<|> postDocumentNgramsTableAsync
675 :<|> postDocumentNgramsTableAsyncJob
676 :<|> killDocumentNgramsTableAsyncJob
677 :<|> pollDocumentNgramsTableAsyncJob
678 :<|> waitDocumentNgramsTableAsyncJob
679 :<|> getDocumentExportJSON
680 :<|> getDocumentExportCSV
681 :<|> postCountQuery
682 :<|> getGraphHyperdata
683 :<|> postGraphAsync
684 :<|> postGraphAsyncJob
685 :<|> killGraphAsyncJob
686 :<|> pollGraphAsyncJob
687 :<|> waitGraphAsyncJob
688 :<|> postGraphClone
689 :<|> getGraphGexf
690 :<|> getGraphVersions
691 :<|> postGraphRecomputeVersion
692 :<|> getTree
693 :<|> getTreeFirstLevel
694 :<|> postNewCorpusWithFormAsync
695 :<|> postNewCorpusWithFormAsyncJob
696 :<|> killNewCorpusWithFormAsyncJob
697 :<|> pollNewCorpusWithFormAsyncJob
698 :<|> waitNewCorpusWithFormAsyncJob
699 :<|> postNewCorpusWithQueryAsync
700 :<|> postNewCorpusWithQueryAsyncJob
701 :<|> killNewCorpusWithQueryAsyncJob
702 :<|> pollNewCorpusWithQueryAsyncJob
703 :<|> waitNewCorpusWithQueryAsyncJob
704 :<|> getList
705 :<|> postListJsonUpdateAsync
706 :<|> postListJsonUpdateAsyncJob
707 :<|> killListJsonUpdateAsyncJob
708 :<|> pollListJsonUpdateAsyncJob
709 :<|> waitListJsonUpdateAsyncJob
710 :<|> postListCsvUpdateAsync
711 :<|> postListCsvUpdateAsyncJob
712 :<|> killListCsvUpdateAsyncJob
713 :<|> pollListCsvUpdateAsyncJob
714 :<|> waitListCsvUpdateAsyncJob
715 :<|> getPublicData
716 :<|> getPublicNodeFile
717 = clientApi