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