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