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