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