@qikdev/sdk 1.0.1 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.md +1 -1
  2. package/dist/access.html +16371 -0
  3. package/dist/api.html +1503 -0
  4. package/dist/auth.html +8455 -0
  5. package/dist/cache.html +1135 -0
  6. package/dist/content.html +10067 -0
  7. package/dist/files.html +3415 -0
  8. package/dist/filter.html +4973 -0
  9. package/dist/geo.html +3851 -0
  10. package/dist/global.html +328 -0
  11. package/dist/index.html +96 -0
  12. package/dist/main.js +1100 -1126
  13. package/dist/module-QikStorage-CookieStorageAdapter.html +1177 -0
  14. package/dist/module-QikStorage-LocalStorageAdapter.html +329 -0
  15. package/dist/module-QikStorage-StorageAdapter.html +3457 -0
  16. package/dist/module-QikStorage.html +1445 -0
  17. package/dist/qik.access.js.html +904 -0
  18. package/dist/qik.api.js.html +409 -0
  19. package/dist/{docs/qik.auth.js.html → qik.auth.js.html} +142 -104
  20. package/dist/qik.cache.js.html +125 -0
  21. package/dist/qik.content.js.html +967 -0
  22. package/dist/qik.core.js.html +322 -0
  23. package/dist/qik.files.js.html +249 -0
  24. package/dist/{docs/qik.filter.js.html → qik.filter.js.html} +2 -2
  25. package/dist/qik.geo.js.html +963 -0
  26. package/dist/qik.socket.js.html +451 -0
  27. package/dist/qik.storage.js.html +375 -0
  28. package/dist/qik.system.js.html +117 -0
  29. package/dist/qik.utils.js.html +1542 -0
  30. package/dist/socket.html +2975 -0
  31. package/dist/{docs/styles → styles}/jsdoc.css +2 -2
  32. package/dist/system.html +523 -0
  33. package/package.json +2 -2
  34. package/src/api/qik.access.js +2 -53
  35. package/src/api/qik.socket.js +51 -10
  36. package/src/version.js +1 -1
  37. package/dist/docs/access.html +0 -3826
  38. package/dist/docs/api.html +0 -1356
  39. package/dist/docs/auth.html +0 -2180
  40. package/dist/docs/cache.html +0 -351
  41. package/dist/docs/content.html +0 -2560
  42. package/dist/docs/files.html +0 -779
  43. package/dist/docs/filter.html +0 -1355
  44. package/dist/docs/index.html +0 -96
  45. package/dist/docs/qik.access.js.html +0 -790
  46. package/dist/docs/qik.api.js.html +0 -511
  47. package/dist/docs/qik.cache.js.html +0 -131
  48. package/dist/docs/qik.content.js.html +0 -918
  49. package/dist/docs/qik.core.js.html +0 -301
  50. package/dist/docs/qik.files.js.html +0 -219
  51. package/dist/docs/qik.socket.js.html +0 -416
  52. package/dist/docs/qik.system.js.html +0 -117
  53. package/dist/docs/qik.utils.js.html +0 -1467
  54. package/dist/docs/socket.html +0 -810
  55. package/dist/docs/system.html +0 -197
  56. /package/dist/{docs/fonts → fonts}/Montserrat/Montserrat-Bold.eot +0 -0
  57. /package/dist/{docs/fonts → fonts}/Montserrat/Montserrat-Bold.ttf +0 -0
  58. /package/dist/{docs/fonts → fonts}/Montserrat/Montserrat-Bold.woff +0 -0
  59. /package/dist/{docs/fonts → fonts}/Montserrat/Montserrat-Bold.woff2 +0 -0
  60. /package/dist/{docs/fonts → fonts}/Montserrat/Montserrat-Regular.eot +0 -0
  61. /package/dist/{docs/fonts → fonts}/Montserrat/Montserrat-Regular.ttf +0 -0
  62. /package/dist/{docs/fonts → fonts}/Montserrat/Montserrat-Regular.woff +0 -0
  63. /package/dist/{docs/fonts → fonts}/Montserrat/Montserrat-Regular.woff2 +0 -0
  64. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
  65. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
  66. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
  67. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
  68. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
  69. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
  70. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
  71. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
  72. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
  73. /package/dist/{docs/fonts → fonts}/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
  74. /package/dist/{docs/scripts → scripts}/collapse.js +0 -0
  75. /package/dist/{docs/scripts → scripts}/linenumber.js +0 -0
  76. /package/dist/{docs/scripts → scripts}/nav.js +0 -0
  77. /package/dist/{docs/scripts → scripts}/polyfill.js +0 -0
  78. /package/dist/{docs/scripts → scripts}/prettify/Apache-License-2.0.txt +0 -0
  79. /package/dist/{docs/scripts → scripts}/prettify/lang-css.js +0 -0
  80. /package/dist/{docs/scripts → scripts}/prettify/prettify.js +0 -0
  81. /package/dist/{docs/scripts → scripts}/search.js +0 -0
  82. /package/dist/{docs/styles → styles}/prettify.css +0 -0
@@ -1,1356 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
-
5
- <meta charset="utf-8">
6
- <title>api - Documentation</title>
7
-
8
-
9
- <script src="scripts/prettify/prettify.js"></script>
10
- <script src="scripts/prettify/lang-css.js"></script>
11
- <!--[if lt IE 9]>
12
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
- <![endif]-->
14
- <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
- <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
- <script src="scripts/nav.js" defer></script>
17
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
- </head>
19
- <body>
20
-
21
- <input type="checkbox" id="nav-trigger" class="nav-trigger" />
22
- <label for="nav-trigger" class="navicon-button x">
23
- <div class="navicon"></div>
24
- </label>
25
-
26
- <label for="nav-trigger" class="overlay"></label>
27
-
28
- <nav >
29
-
30
- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="access.html">access</a><ul class='methods'><li data-type='method'><a href="access.html#.actionableScopes">actionableScopes</a></li><li data-type='method'><a href="access.html#.allPermissions">allPermissions</a></li><li data-type='method'><a href="access.html#.allPermissionTypes">allPermissionTypes</a></li><li data-type='method'><a href="access.html#.allUserScopes">allUserScopes</a></li><li data-type='method'><a href="access.html#.canCreate">canCreate</a></li><li data-type='method'><a href="access.html#.canDeleteItem">canDeleteItem</a></li><li data-type='method'><a href="access.html#.canEditItem">canEditItem</a></li><li data-type='method'><a href="access.html#.canEraseItem">canEraseItem</a></li><li data-type='method'><a href="access.html#.canKnowOf">canKnowOf</a></li><li data-type='method'><a href="access.html#.canListItem">canListItem</a></li><li data-type='method'><a href="access.html#.canRestoreItem">canRestoreItem</a></li><li data-type='method'><a href="access.html#.canViewItem">canViewItem</a></li><li data-type='method'><a href="access.html#.checkActionAccess">checkActionAccess</a></li><li data-type='method'><a href="access.html#.getAllDescendants">getAllDescendants</a></li><li data-type='method'><a href="access.html#.has">has</a></li><li data-type='method'><a href="access.html#.hashPermissions">hashPermissions</a></li><li data-type='method'><a href="access.html#.isAdministrator">isAdministrator</a></li><li data-type='method'><a href="access.html#.isOwner">isOwner</a></li></ul></li><li><a href="api.html">api</a><ul class='methods'><li data-type='method'><a href="api.html#.delete">delete</a></li><li data-type='method'><a href="api.html#.generateEndpointURL">generateEndpointURL</a></li><li data-type='method'><a href="api.html#.get">get</a></li><li data-type='method'><a href="api.html#.patch">patch</a></li><li data-type='method'><a href="api.html#.post">post</a></li><li data-type='method'><a href="api.html#.put">put</a></li></ul></li><li><a href="auth.html">auth</a><ul class='methods'><li data-type='method'><a href="auth.html#.changeOrganisation">changeOrganisation</a></li><li data-type='method'><a href="auth.html#.ensureValidToken">ensureValidToken</a></li><li data-type='method'><a href="auth.html#.getCurrentToken">getCurrentToken</a></li><li data-type='method'><a href="auth.html#.getCurrentUser">getCurrentUser</a></li><li data-type='method'><a href="auth.html#.impersonate">impersonate</a></li><li data-type='method'><a href="auth.html#.login">login</a></li><li data-type='method'><a href="auth.html#.logout">logout</a></li><li data-type='method'><a href="auth.html#.retrieveUserFromResetToken">retrieveUserFromResetToken</a></li><li data-type='method'><a href="auth.html#.sendResetPasswordRequest">sendResetPasswordRequest</a></li><li data-type='method'><a href="auth.html#.set">set</a></li><li data-type='method'><a href="auth.html#.sync">sync</a></li><li data-type='method'><a href="auth.html#.updateUserWithToken">updateUserWithToken</a></li></ul></li><li><a href="cache.html">cache</a><ul class='methods'><li data-type='method'><a href="cache.html#.get">get</a></li><li data-type='method'><a href="cache.html#.reset">reset</a></li></ul></li><li><a href="content.html">content</a><ul class='methods'><li data-type='method'><a href="content.html#.create">create</a></li><li data-type='method'><a href="content.html#.delete">delete</a></li><li data-type='method'><a href="content.html#.get">get</a></li><li data-type='method'><a href="content.html#.getFromSlug">getFromSlug</a></li><li data-type='method'><a href="content.html#.glossary">glossary</a></li><li data-type='method'><a href="content.html#.list">list</a></li><li data-type='method'><a href="content.html#.patch">patch</a></li><li data-type='method'><a href="content.html#.restore">restore</a></li><li data-type='method'><a href="content.html#.scopeGlossary">scopeGlossary</a></li><li data-type='method'><a href="content.html#.update">update</a></li><li data-type='method'><a href="content.html#.validateField">validateField</a></li><li data-type='method'><a href="content.html#.variables">variables</a></li></ul></li><li><a href="files.html">files</a><ul class='methods'><li data-type='method'><a href="files.html#.downloadUrl">downloadUrl</a></li><li data-type='method'><a href="files.html#.filesize">filesize</a></li><li data-type='method'><a href="files.html#.getBinaryTypeFromMime">getBinaryTypeFromMime</a></li><li data-type='method'><a href="files.html#.mediaUrl">mediaUrl</a></li></ul></li><li><a href="filter.html">filter</a><ul class='methods'><li data-type='method'><a href="filter.html#.activeFilterKeys">activeFilterKeys</a></li><li data-type='method'><a href="filter.html#.activeFilterKeys">activeFilterKeys</a></li><li data-type='method'><a href="filter.html#.activeFilterOperators">activeFilterOperators</a></li><li data-type='method'><a href="filter.html#.activeFilters">activeFilters</a></li><li data-type='method'><a href="filter.html#.activeFilterValues">activeFilterValues</a></li><li data-type='method'><a href="filter.html#.filterChangeString">filterChangeString</a></li><li data-type='method'><a href="filter.html#.isValidFilter">isValidFilter</a></li></ul></li><li><a href="socket.html">socket</a><ul class='methods'><li data-type='method'><a href="socket.html#.channel">channel</a></li><li data-type='method'><a href="socket.html#.close">close</a></li><li data-type='method'><a href="socket.html#.connect">connect</a></li><li data-type='method'><a href="socket.html#.reconnect">reconnect</a></li><li data-type='method'><a href="socket.html#.subscribe">subscribe</a></li><li data-type='method'><a href="socket.html#.unsubscribe">unsubscribe</a></li></ul></li><li><a href="system.html">system</a><ul class='methods'><li data-type='method'><a href="system.html#.countries">countries</a></li></ul></li></ul>
31
- </nav>
32
-
33
- <div id="main">
34
-
35
- <h1 class="page-title">api</h1>
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
- <section>
44
-
45
- <header>
46
-
47
- <h2>
48
- api
49
- </h2>
50
-
51
-
52
- </header>
53
-
54
- <article>
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
- <h3 class="subsection-title">Members</h3>
71
-
72
-
73
-
74
- <h4 class="name" id=".axios"><span class="type-signature">(static) </span>axios<span class="type-signature"></span></h4>
75
-
76
-
77
-
78
-
79
-
80
- <dl class="details">
81
-
82
-
83
- <dt class="tag-source">Source:</dt>
84
- <dd class="tag-source"><ul class="dummy"><li>
85
- <a href="qik.api.js.html">qik.api.js</a>, <a href="qik.api.js.html#line417">line 417</a>
86
- </li></ul></dd>
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
- </dl>
119
-
120
-
121
-
122
-
123
-
124
- <div class="description usertext">
125
- Reference to the underlying axios package (https://www.npmjs.com/package/axios)
126
- Useful for creating new instances of axios if you want to create http requests to
127
- external APIs and not send tokens etc..
128
- </div>
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
- <h5>Example</h5>
137
-
138
- <pre class="prettyprint"><code>const newRequest = await sdk.api.axios.get('https://otherapi.com/content/61eca4746971e75c1fc670cf');</code></pre>
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
- <h3 class="subsection-title">Methods</h3>
147
-
148
-
149
-
150
-
151
-
152
-
153
- <h4 class="name" id=".delete"><span class="type-signature">(static) </span>delete<span class="signature">(endpoint, body, options)</span><span class="type-signature"></span></h4>
154
-
155
-
156
-
157
-
158
-
159
-
160
- <dl class="details">
161
-
162
-
163
- <dt class="tag-source">Source:</dt>
164
- <dd class="tag-source"><ul class="dummy"><li>
165
- <a href="qik.api.js.html">qik.api.js</a>, <a href="qik.api.js.html#line265">line 265</a>
166
- </li></ul></dd>
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
-
188
-
189
-
190
-
191
-
192
-
193
-
194
-
195
-
196
-
197
-
198
- </dl>
199
-
200
-
201
-
202
-
203
-
204
- <div class="description usertext">
205
- Make a DELETE request to the API
206
- </div>
207
-
208
-
209
-
210
-
211
-
212
-
213
-
214
-
215
-
216
- <h5>Example</h5>
217
-
218
- <pre class="prettyprint"><code>const result = await sdk.api.delete('/content/61eca4746971e75c1fc670cf');</code></pre>
219
-
220
-
221
-
222
-
223
- <h5>Parameters:</h5>
224
-
225
-
226
- <table class="params">
227
- <thead>
228
- <tr>
229
-
230
- <th>Name</th>
231
-
232
-
233
- <th>Type</th>
234
-
235
-
236
-
237
-
238
-
239
- <th class="last">Description</th>
240
- </tr>
241
- </thead>
242
-
243
- <tbody>
244
-
245
-
246
- <tr>
247
-
248
- <td class="name"><code>endpoint</code></td>
249
-
250
-
251
- <td class="type">
252
-
253
-
254
- <span class="param-type">Object</span>
255
-
256
-
257
-
258
- </td>
259
-
260
-
261
-
262
-
263
-
264
- <td class="description last">The endpoint to request</td>
265
- </tr>
266
-
267
-
268
-
269
- <tr>
270
-
271
- <td class="name"><code>body</code></td>
272
-
273
-
274
- <td class="type">
275
-
276
-
277
- <span class="param-type">Object</span>
278
-
279
-
280
-
281
- </td>
282
-
283
-
284
-
285
-
286
-
287
- <td class="description last">The post body to send with the request</td>
288
- </tr>
289
-
290
-
291
-
292
- <tr>
293
-
294
- <td class="name"><code>options</code></td>
295
-
296
-
297
- <td class="type">
298
-
299
-
300
- <span class="param-type">Object</span>
301
-
302
-
303
-
304
- </td>
305
-
306
-
307
-
308
-
309
-
310
- <td class="description last">The options to pass to axios for making the request</td>
311
- </tr>
312
-
313
-
314
- </tbody>
315
- </table>
316
-
317
-
318
-
319
-
320
-
321
-
322
-
323
-
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
-
338
-
339
-
340
- <h4 class="name" id=".generateEndpointURL"><span class="type-signature">(static) </span>generateEndpointURL<span class="signature">(endpoint, params, options)</span><span class="type-signature"></span></h4>
341
-
342
-
343
-
344
-
345
-
346
-
347
- <dl class="details">
348
-
349
-
350
- <dt class="tag-source">Source:</dt>
351
- <dd class="tag-source"><ul class="dummy"><li>
352
- <a href="qik.api.js.html">qik.api.js</a>, <a href="qik.api.js.html#line165">line 165</a>
353
- </li></ul></dd>
354
-
355
-
356
-
357
-
358
-
359
-
360
-
361
-
362
-
363
-
364
-
365
-
366
-
367
-
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
-
378
-
379
-
380
-
381
-
382
-
383
-
384
-
385
- </dl>
386
-
387
-
388
-
389
-
390
-
391
- <div class="description usertext">
392
- Generate an Endpoint URL, complete with authentication.
393
- this function is helpful for generating authenticated links for the user to open in another window
394
- </div>
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
- <h5>Example</h5>
405
-
406
- <pre class="prettyprint"><code>const result = sdk.api.generateEndpointURL('/image/61eca4746971e75c1fc670cf', {
407
- w:100,
408
- h:50,
409
- }, {file:true})
410
-
411
- // Would return something similar to:
412
- // https://api.qik.dev/image/61eca4746971e75c1fc670cf?w=100&amp;h=50&amp;access_token=XXXX...</code></pre>
413
-
414
-
415
-
416
-
417
- <h5>Parameters:</h5>
418
-
419
-
420
- <table class="params">
421
- <thead>
422
- <tr>
423
-
424
- <th>Name</th>
425
-
426
-
427
- <th>Type</th>
428
-
429
-
430
-
431
-
432
-
433
- <th class="last">Description</th>
434
- </tr>
435
- </thead>
436
-
437
- <tbody>
438
-
439
-
440
- <tr>
441
-
442
- <td class="name"><code>endpoint</code></td>
443
-
444
-
445
- <td class="type">
446
-
447
-
448
- <span class="param-type">String</span>
449
-
450
-
451
-
452
- </td>
453
-
454
-
455
-
456
-
457
-
458
- <td class="description last">The endpoint to generate a url for</td>
459
- </tr>
460
-
461
-
462
-
463
- <tr>
464
-
465
- <td class="name"><code>params</code></td>
466
-
467
-
468
- <td class="type">
469
-
470
-
471
- <span class="param-type">Object</span>
472
-
473
-
474
-
475
- </td>
476
-
477
-
478
-
479
-
480
-
481
- <td class="description last">Extra parameters for the url</td>
482
- </tr>
483
-
484
-
485
-
486
- <tr>
487
-
488
- <td class="name"><code>options</code></td>
489
-
490
-
491
- <td class="type">
492
-
493
-
494
- <span class="param-type">Object</span>
495
-
496
-
497
-
498
- </td>
499
-
500
-
501
-
502
-
503
-
504
- <td class="description last">Additional request configuration
505
- <h6>Properties</h6>
506
-
507
-
508
- <table class="params">
509
- <thead>
510
- <tr>
511
-
512
- <th>Name</th>
513
-
514
-
515
- <th>Type</th>
516
-
517
-
518
-
519
-
520
-
521
- <th class="last">Description</th>
522
- </tr>
523
- </thead>
524
-
525
- <tbody>
526
-
527
-
528
- <tr>
529
-
530
- <td class="name"><code>withoutToken</code></td>
531
-
532
-
533
- <td class="type">
534
-
535
-
536
- <span class="param-type">Object</span>
537
-
538
-
539
-
540
- </td>
541
-
542
-
543
-
544
-
545
-
546
- <td class="description last">Don't append the current user's access token to the url</td>
547
- </tr>
548
-
549
-
550
-
551
- <tr>
552
-
553
- <td class="name"><code>file</code></td>
554
-
555
-
556
- <td class="type">
557
-
558
-
559
- <span class="param-type">Object</span>
560
-
561
-
562
-
563
- </td>
564
-
565
-
566
-
567
-
568
-
569
- <td class="description last">Whether the response for this request is expected to be a binary file type</td>
570
- </tr>
571
-
572
-
573
- </tbody>
574
- </table>
575
-
576
- </td>
577
- </tr>
578
-
579
-
580
- </tbody>
581
- </table>
582
-
583
-
584
-
585
-
586
-
587
-
588
-
589
-
590
-
591
-
592
-
593
-
594
-
595
-
596
-
597
-
598
-
599
-
600
-
601
-
602
-
603
-
604
-
605
-
606
- <h4 class="name" id=".get"><span class="type-signature">(static) </span>get<span class="signature">(endpoint, options)</span><span class="type-signature"></span></h4>
607
-
608
-
609
-
610
-
611
-
612
-
613
- <dl class="details">
614
-
615
-
616
- <dt class="tag-source">Source:</dt>
617
- <dd class="tag-source"><ul class="dummy"><li>
618
- <a href="qik.api.js.html">qik.api.js</a>, <a href="qik.api.js.html#line212">line 212</a>
619
- </li></ul></dd>
620
-
621
-
622
-
623
-
624
-
625
-
626
-
627
-
628
-
629
-
630
-
631
-
632
-
633
-
634
-
635
-
636
-
637
-
638
-
639
-
640
-
641
-
642
-
643
-
644
-
645
-
646
-
647
-
648
-
649
-
650
-
651
- </dl>
652
-
653
-
654
-
655
-
656
-
657
- <div class="description usertext">
658
- Make a GET request to the API
659
- </div>
660
-
661
-
662
-
663
-
664
-
665
-
666
-
667
-
668
-
669
- <h5>Example</h5>
670
-
671
- <pre class="prettyprint"><code>const result = await sdk.api.get('/user');</code></pre>
672
-
673
-
674
-
675
-
676
- <h5>Parameters:</h5>
677
-
678
-
679
- <table class="params">
680
- <thead>
681
- <tr>
682
-
683
- <th>Name</th>
684
-
685
-
686
- <th>Type</th>
687
-
688
-
689
-
690
-
691
-
692
- <th class="last">Description</th>
693
- </tr>
694
- </thead>
695
-
696
- <tbody>
697
-
698
-
699
- <tr>
700
-
701
- <td class="name"><code>endpoint</code></td>
702
-
703
-
704
- <td class="type">
705
-
706
-
707
- <span class="param-type">Object</span>
708
-
709
-
710
-
711
- </td>
712
-
713
-
714
-
715
-
716
-
717
- <td class="description last">The endpoint to request</td>
718
- </tr>
719
-
720
-
721
-
722
- <tr>
723
-
724
- <td class="name"><code>options</code></td>
725
-
726
-
727
- <td class="type">
728
-
729
-
730
- <span class="param-type">Object</span>
731
-
732
-
733
-
734
- </td>
735
-
736
-
737
-
738
-
739
-
740
- <td class="description last">The options to pass to axios for making the request</td>
741
- </tr>
742
-
743
-
744
- </tbody>
745
- </table>
746
-
747
-
748
-
749
-
750
-
751
-
752
-
753
-
754
-
755
-
756
-
757
-
758
-
759
-
760
-
761
-
762
-
763
-
764
-
765
-
766
-
767
-
768
-
769
-
770
- <h4 class="name" id=".patch"><span class="type-signature">(static) </span>patch<span class="signature">(endpoint, body, options)</span><span class="type-signature"></span></h4>
771
-
772
-
773
-
774
-
775
-
776
-
777
- <dl class="details">
778
-
779
-
780
- <dt class="tag-source">Source:</dt>
781
- <dd class="tag-source"><ul class="dummy"><li>
782
- <a href="qik.api.js.html">qik.api.js</a>, <a href="qik.api.js.html#line252">line 252</a>
783
- </li></ul></dd>
784
-
785
-
786
-
787
-
788
-
789
-
790
-
791
-
792
-
793
-
794
-
795
-
796
-
797
-
798
-
799
-
800
-
801
-
802
-
803
-
804
-
805
-
806
-
807
-
808
-
809
-
810
-
811
-
812
-
813
-
814
-
815
- </dl>
816
-
817
-
818
-
819
-
820
-
821
- <div class="description usertext">
822
- Make a PATCH request to the API
823
- </div>
824
-
825
-
826
-
827
-
828
-
829
-
830
-
831
-
832
-
833
- <h5>Example</h5>
834
-
835
- <pre class="prettyprint"><code>const result = await sdk.api.patch('/content/61eca4746971e75c1fc670cf', {title:'A new title'});</code></pre>
836
-
837
-
838
-
839
-
840
- <h5>Parameters:</h5>
841
-
842
-
843
- <table class="params">
844
- <thead>
845
- <tr>
846
-
847
- <th>Name</th>
848
-
849
-
850
- <th>Type</th>
851
-
852
-
853
-
854
-
855
-
856
- <th class="last">Description</th>
857
- </tr>
858
- </thead>
859
-
860
- <tbody>
861
-
862
-
863
- <tr>
864
-
865
- <td class="name"><code>endpoint</code></td>
866
-
867
-
868
- <td class="type">
869
-
870
-
871
- <span class="param-type">Object</span>
872
-
873
-
874
-
875
- </td>
876
-
877
-
878
-
879
-
880
-
881
- <td class="description last">The endpoint to request</td>
882
- </tr>
883
-
884
-
885
-
886
- <tr>
887
-
888
- <td class="name"><code>body</code></td>
889
-
890
-
891
- <td class="type">
892
-
893
-
894
- <span class="param-type">Object</span>
895
-
896
-
897
-
898
- </td>
899
-
900
-
901
-
902
-
903
-
904
- <td class="description last">The post body to send with the request</td>
905
- </tr>
906
-
907
-
908
-
909
- <tr>
910
-
911
- <td class="name"><code>options</code></td>
912
-
913
-
914
- <td class="type">
915
-
916
-
917
- <span class="param-type">Object</span>
918
-
919
-
920
-
921
- </td>
922
-
923
-
924
-
925
-
926
-
927
- <td class="description last">The options to pass to axios for making the request</td>
928
- </tr>
929
-
930
-
931
- </tbody>
932
- </table>
933
-
934
-
935
-
936
-
937
-
938
-
939
-
940
-
941
-
942
-
943
-
944
-
945
-
946
-
947
-
948
-
949
-
950
-
951
-
952
-
953
-
954
-
955
-
956
-
957
- <h4 class="name" id=".post"><span class="type-signature">(static) </span>post<span class="signature">(endpoint, body, options)</span><span class="type-signature"></span></h4>
958
-
959
-
960
-
961
-
962
-
963
-
964
- <dl class="details">
965
-
966
-
967
- <dt class="tag-source">Source:</dt>
968
- <dd class="tag-source"><ul class="dummy"><li>
969
- <a href="qik.api.js.html">qik.api.js</a>, <a href="qik.api.js.html#line226">line 226</a>
970
- </li></ul></dd>
971
-
972
-
973
-
974
-
975
-
976
-
977
-
978
-
979
-
980
-
981
-
982
-
983
-
984
-
985
-
986
-
987
-
988
-
989
-
990
-
991
-
992
-
993
-
994
-
995
-
996
-
997
-
998
-
999
-
1000
-
1001
-
1002
- </dl>
1003
-
1004
-
1005
-
1006
-
1007
-
1008
- <div class="description usertext">
1009
- Make a POST request to the API
1010
- </div>
1011
-
1012
-
1013
-
1014
-
1015
-
1016
-
1017
-
1018
-
1019
-
1020
- <h5>Example</h5>
1021
-
1022
- <pre class="prettyprint"><code>const result = await sdk.api.post('/login', {username:'', password:''});</code></pre>
1023
-
1024
-
1025
-
1026
-
1027
- <h5>Parameters:</h5>
1028
-
1029
-
1030
- <table class="params">
1031
- <thead>
1032
- <tr>
1033
-
1034
- <th>Name</th>
1035
-
1036
-
1037
- <th>Type</th>
1038
-
1039
-
1040
-
1041
-
1042
-
1043
- <th class="last">Description</th>
1044
- </tr>
1045
- </thead>
1046
-
1047
- <tbody>
1048
-
1049
-
1050
- <tr>
1051
-
1052
- <td class="name"><code>endpoint</code></td>
1053
-
1054
-
1055
- <td class="type">
1056
-
1057
-
1058
- <span class="param-type">Object</span>
1059
-
1060
-
1061
-
1062
- </td>
1063
-
1064
-
1065
-
1066
-
1067
-
1068
- <td class="description last">The endpoint to request</td>
1069
- </tr>
1070
-
1071
-
1072
-
1073
- <tr>
1074
-
1075
- <td class="name"><code>body</code></td>
1076
-
1077
-
1078
- <td class="type">
1079
-
1080
-
1081
- <span class="param-type">Object</span>
1082
-
1083
-
1084
-
1085
- </td>
1086
-
1087
-
1088
-
1089
-
1090
-
1091
- <td class="description last">The post body to send with the request</td>
1092
- </tr>
1093
-
1094
-
1095
-
1096
- <tr>
1097
-
1098
- <td class="name"><code>options</code></td>
1099
-
1100
-
1101
- <td class="type">
1102
-
1103
-
1104
- <span class="param-type">Object</span>
1105
-
1106
-
1107
-
1108
- </td>
1109
-
1110
-
1111
-
1112
-
1113
-
1114
- <td class="description last">The options to pass to axios for making the request</td>
1115
- </tr>
1116
-
1117
-
1118
- </tbody>
1119
- </table>
1120
-
1121
-
1122
-
1123
-
1124
-
1125
-
1126
-
1127
-
1128
-
1129
-
1130
-
1131
-
1132
-
1133
-
1134
-
1135
-
1136
-
1137
-
1138
-
1139
-
1140
-
1141
-
1142
-
1143
-
1144
- <h4 class="name" id=".put"><span class="type-signature">(static) </span>put<span class="signature">(endpoint, body, options)</span><span class="type-signature"></span></h4>
1145
-
1146
-
1147
-
1148
-
1149
-
1150
-
1151
- <dl class="details">
1152
-
1153
-
1154
- <dt class="tag-source">Source:</dt>
1155
- <dd class="tag-source"><ul class="dummy"><li>
1156
- <a href="qik.api.js.html">qik.api.js</a>, <a href="qik.api.js.html#line239">line 239</a>
1157
- </li></ul></dd>
1158
-
1159
-
1160
-
1161
-
1162
-
1163
-
1164
-
1165
-
1166
-
1167
-
1168
-
1169
-
1170
-
1171
-
1172
-
1173
-
1174
-
1175
-
1176
-
1177
-
1178
-
1179
-
1180
-
1181
-
1182
-
1183
-
1184
-
1185
-
1186
-
1187
-
1188
-
1189
- </dl>
1190
-
1191
-
1192
-
1193
-
1194
-
1195
- <div class="description usertext">
1196
- Make a PUT request to the API
1197
- </div>
1198
-
1199
-
1200
-
1201
-
1202
-
1203
-
1204
-
1205
-
1206
-
1207
- <h5>Example</h5>
1208
-
1209
- <pre class="prettyprint"><code>const result = await sdk.api.put('/content/61eca4746971e75c1fc670cf', {title:'A new title'});</code></pre>
1210
-
1211
-
1212
-
1213
-
1214
- <h5>Parameters:</h5>
1215
-
1216
-
1217
- <table class="params">
1218
- <thead>
1219
- <tr>
1220
-
1221
- <th>Name</th>
1222
-
1223
-
1224
- <th>Type</th>
1225
-
1226
-
1227
-
1228
-
1229
-
1230
- <th class="last">Description</th>
1231
- </tr>
1232
- </thead>
1233
-
1234
- <tbody>
1235
-
1236
-
1237
- <tr>
1238
-
1239
- <td class="name"><code>endpoint</code></td>
1240
-
1241
-
1242
- <td class="type">
1243
-
1244
-
1245
- <span class="param-type">Object</span>
1246
-
1247
-
1248
-
1249
- </td>
1250
-
1251
-
1252
-
1253
-
1254
-
1255
- <td class="description last">The endpoint to request</td>
1256
- </tr>
1257
-
1258
-
1259
-
1260
- <tr>
1261
-
1262
- <td class="name"><code>body</code></td>
1263
-
1264
-
1265
- <td class="type">
1266
-
1267
-
1268
- <span class="param-type">Object</span>
1269
-
1270
-
1271
-
1272
- </td>
1273
-
1274
-
1275
-
1276
-
1277
-
1278
- <td class="description last">The post body to send with the request</td>
1279
- </tr>
1280
-
1281
-
1282
-
1283
- <tr>
1284
-
1285
- <td class="name"><code>options</code></td>
1286
-
1287
-
1288
- <td class="type">
1289
-
1290
-
1291
- <span class="param-type">Object</span>
1292
-
1293
-
1294
-
1295
- </td>
1296
-
1297
-
1298
-
1299
-
1300
-
1301
- <td class="description last">The options to pass to axios for making the request</td>
1302
- </tr>
1303
-
1304
-
1305
- </tbody>
1306
- </table>
1307
-
1308
-
1309
-
1310
-
1311
-
1312
-
1313
-
1314
-
1315
-
1316
-
1317
-
1318
-
1319
-
1320
-
1321
-
1322
-
1323
-
1324
-
1325
-
1326
-
1327
-
1328
-
1329
-
1330
-
1331
-
1332
- </article>
1333
-
1334
- </section>
1335
-
1336
-
1337
-
1338
-
1339
-
1340
-
1341
- </div>
1342
-
1343
- <br class="clear">
1344
-
1345
- <footer>
1346
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Sep 28 2023 07:24:39 GMT+1000 (Australian Eastern Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1347
- </footer>
1348
-
1349
- <script>prettyPrint();</script>
1350
- <script src="scripts/polyfill.js"></script>
1351
- <script src="scripts/linenumber.js"></script>
1352
-
1353
-
1354
-
1355
- </body>
1356
- </html>