groupdocs_platform_cloud 1.0.0

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 (52) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +22 -0
  3. data/README.md +160 -0
  4. data/Ruby Mustache Templates/ReadMe.txt +1 -0
  5. data/Ruby Mustache Templates/api_client.mustache +441 -0
  6. data/Swagger Specs File/platform.json +1683 -0
  7. data/groupdocs_platform_cloud.gemspec +26 -0
  8. data/lib/groupdocs_platform_cloud.rb +72 -0
  9. data/lib/groupdocs_platform_cloud/api/app_api.rb +359 -0
  10. data/lib/groupdocs_platform_cloud/api/app_statistics_api.rb +572 -0
  11. data/lib/groupdocs_platform_cloud/api/auth_api.rb +176 -0
  12. data/lib/groupdocs_platform_cloud/api/file_api.rb +282 -0
  13. data/lib/groupdocs_platform_cloud/api/folder_api.rb +267 -0
  14. data/lib/groupdocs_platform_cloud/api/heroku_api.rb +241 -0
  15. data/lib/groupdocs_platform_cloud/api/storage_api.rb +249 -0
  16. data/lib/groupdocs_platform_cloud/api/usage_api.rb +233 -0
  17. data/lib/groupdocs_platform_cloud/api_client.rb +446 -0
  18. data/lib/groupdocs_platform_cloud/api_error.rb +38 -0
  19. data/lib/groupdocs_platform_cloud/configuration.rb +216 -0
  20. data/lib/groupdocs_platform_cloud/groupdocs_app.rb +20 -0
  21. data/lib/groupdocs_platform_cloud/models/access_token_list_response.rb +213 -0
  22. data/lib/groupdocs_platform_cloud/models/access_token_response.rb +211 -0
  23. data/lib/groupdocs_platform_cloud/models/app.rb +243 -0
  24. data/lib/groupdocs_platform_cloud/models/app_usage.rb +235 -0
  25. data/lib/groupdocs_platform_cloud/models/application_usage_response.rb +202 -0
  26. data/lib/groupdocs_platform_cloud/models/disc_usage.rb +207 -0
  27. data/lib/groupdocs_platform_cloud/models/disc_usage_response.rb +211 -0
  28. data/lib/groupdocs_platform_cloud/models/file.rb +253 -0
  29. data/lib/groupdocs_platform_cloud/models/file_exist.rb +207 -0
  30. data/lib/groupdocs_platform_cloud/models/file_exist_response.rb +211 -0
  31. data/lib/groupdocs_platform_cloud/models/file_response.rb +224 -0
  32. data/lib/groupdocs_platform_cloud/models/file_version.rb +276 -0
  33. data/lib/groupdocs_platform_cloud/models/file_versions_response.rb +213 -0
  34. data/lib/groupdocs_platform_cloud/models/folder_response.rb +208 -0
  35. data/lib/groupdocs_platform_cloud/models/heroku_request.rb +233 -0
  36. data/lib/groupdocs_platform_cloud/models/heroku_request_options.rb +188 -0
  37. data/lib/groupdocs_platform_cloud/models/move_file_response.rb +202 -0
  38. data/lib/groupdocs_platform_cloud/models/move_folder_response.rb +202 -0
  39. data/lib/groupdocs_platform_cloud/models/remove_file_response.rb +202 -0
  40. data/lib/groupdocs_platform_cloud/models/remove_folder_response.rb +202 -0
  41. data/lib/groupdocs_platform_cloud/models/saa_spose_response.rb +202 -0
  42. data/lib/groupdocs_platform_cloud/models/storage_exist_response.rb +216 -0
  43. data/lib/groupdocs_platform_cloud/models/user_usage_summary_response.rb +211 -0
  44. data/lib/groupdocs_platform_cloud/models/user_usage_summary_statistics.rb +291 -0
  45. data/lib/groupdocs_platform_cloud/version.rb +15 -0
  46. data/test/data/SampleExecuteTemplate.doc +0 -0
  47. data/test/data/SampleExecuteTemplateData.txt +49 -0
  48. data/test/data/SampleWordDocument.docx +0 -0
  49. data/test/data/buzz.png +0 -0
  50. data/test/data/testfile.txt +1 -0
  51. data/test/platform_tests.rb +144 -0
  52. metadata +156 -0
@@ -0,0 +1,1683 @@
1
+ {
2
+ "swagger": "2.0",
3
+ "host": "api-qa.groupdocs.cloud",
4
+ "basePath": "/v1/",
5
+ "info": {
6
+ "title": "Web API Swagger specification",
7
+ "version": "1.0"
8
+ },
9
+ "schemes": ["http", "https"],
10
+ "consumes": [
11
+ "application/json"
12
+ ],
13
+ "produces": [
14
+ "application/json"
15
+ ],
16
+ "paths": {
17
+ "/app": {
18
+ "get": {
19
+ "tags": [
20
+ "App"
21
+ ],
22
+ "summary": "Get List of Applications",
23
+ "operationId": "App_Get",
24
+ "parameters": [],
25
+ "responses": {
26
+ "200": {
27
+ "description": "",
28
+ "schema": {
29
+ "type": "array",
30
+ "items": {
31
+ "$ref": "#/definitions/App"
32
+ }
33
+ },
34
+ "x-nullable": true
35
+ }
36
+ }
37
+ },
38
+ "post": {
39
+ "tags": [
40
+ "App"
41
+ ],
42
+ "summary": "Create new Application",
43
+ "operationId": "App_Post",
44
+ "consumes": [
45
+ "multipart/form-data"
46
+ ],
47
+ "parameters": [
48
+ {
49
+ "name": "app",
50
+ "in": "body",
51
+ "schema": {
52
+ "$ref": "#/definitions/App"
53
+ },
54
+ "x-nullable": true,
55
+ "description": "Application"
56
+ }
57
+ ],
58
+ "responses": {
59
+ "200": {
60
+ "description": "",
61
+ "schema": {
62
+ "type": "file"
63
+ },
64
+ "x-nullable": true
65
+ }
66
+ }
67
+ }
68
+ },
69
+ "/app/{name}": {
70
+ "get": {
71
+ "tags": [
72
+ "App"
73
+ ],
74
+ "summary": "Get Application by Name",
75
+ "operationId": "App_GetByName",
76
+ "parameters": [
77
+ {
78
+ "type": "string",
79
+ "name": "name",
80
+ "in": "path",
81
+ "required": true,
82
+ "x-nullable": false,
83
+ "description": "Application Name"
84
+ }
85
+ ],
86
+ "responses": {
87
+ "200": {
88
+ "description": "",
89
+ "schema": {
90
+ "$ref": "#/definitions/App"
91
+ },
92
+ "x-nullable": true
93
+ }
94
+ }
95
+ },
96
+ "put": {
97
+ "tags": [
98
+ "App"
99
+ ],
100
+ "summary": "Update Application Name",
101
+ "operationId": "App_Put",
102
+ "consumes": [
103
+ "multipart/form-data"
104
+ ],
105
+ "parameters": [
106
+ {
107
+ "type": "string",
108
+ "name": "name",
109
+ "in": "path",
110
+ "required": true,
111
+ "x-nullable": false,
112
+ "description": "Application Name"
113
+ },
114
+ {
115
+ "name": "app",
116
+ "in": "body",
117
+ "schema": {
118
+ "$ref": "#/definitions/App"
119
+ },
120
+ "x-nullable": true,
121
+ "description": "Application"
122
+ }
123
+ ],
124
+ "responses": {
125
+ "200": {
126
+ "description": "",
127
+ "schema": {
128
+ "type": "file"
129
+ },
130
+ "x-nullable": true
131
+ }
132
+ }
133
+ },
134
+ "delete": {
135
+ "tags": [
136
+ "App"
137
+ ],
138
+ "summary": "Delete Application",
139
+ "operationId": "App_Delete",
140
+ "parameters": [
141
+ {
142
+ "type": "string",
143
+ "name": "name",
144
+ "in": "path",
145
+ "required": true,
146
+ "x-nullable": false,
147
+ "description": "Application Name"
148
+ }
149
+ ],
150
+ "responses": {
151
+ "200": {
152
+ "description": "",
153
+ "schema": {
154
+ "type": "file"
155
+ },
156
+ "x-nullable": true
157
+ }
158
+ }
159
+ }
160
+ },
161
+ "/app/{name}/usage": {
162
+ "get": {
163
+ "tags": [
164
+ "App"
165
+ ],
166
+ "summary": "Get Application Usage By Period",
167
+ "operationId": "App_GetUsage",
168
+ "parameters": [
169
+ {
170
+ "type": "string",
171
+ "name": "name",
172
+ "in": "path",
173
+ "required": true,
174
+ "x-nullable": false,
175
+ "description": "Application Name"
176
+ },
177
+ {
178
+ "type": "string",
179
+ "name": "start",
180
+ "in": "query",
181
+ "required": true,
182
+ "x-nullable": false,
183
+ "description": "Period end date",
184
+ "format": "date-time"
185
+ },
186
+ {
187
+ "type": "string",
188
+ "name": "end",
189
+ "in": "query",
190
+ "required": true,
191
+ "x-nullable": false,
192
+ "description": "Period end date",
193
+ "format": "date-time"
194
+ }
195
+ ],
196
+ "responses": {
197
+ "200": {
198
+ "description": "",
199
+ "schema": {
200
+ "$ref": "#/definitions/ApplicationUsageResponse"
201
+ },
202
+ "x-nullable": true
203
+ }
204
+ }
205
+ }
206
+ },
207
+ "/auth/token": {
208
+ "post": {
209
+ "tags": [
210
+ "Auth"
211
+ ],
212
+ "summary": "Create access token",
213
+ "operationId": "Auth_PostToken",
214
+ "consumes": [
215
+ "multipart/form-data"
216
+ ],
217
+ "parameters": [],
218
+ "responses": {
219
+ "200": {
220
+ "description": "OK",
221
+ "schema": {
222
+ "$ref": "#/definitions/AccessTokenResponse"
223
+ },
224
+ "x-nullable": true
225
+ }
226
+ }
227
+ },
228
+ "get": {
229
+ "tags": [
230
+ "Auth"
231
+ ],
232
+ "summary": "Get access tokens",
233
+ "operationId": "Auth_GetTokens",
234
+ "parameters": [],
235
+ "responses": {
236
+ "200": {
237
+ "description": "OK",
238
+ "schema": {
239
+ "$ref": "#/definitions/AccessTokenListResponse"
240
+ },
241
+ "x-nullable": true
242
+ }
243
+ }
244
+ }
245
+ },
246
+ "/auth/token/{token}": {
247
+ "delete": {
248
+ "tags": [
249
+ "Auth"
250
+ ],
251
+ "summary": "Delete access token",
252
+ "operationId": "Auth_DeleteToken",
253
+ "parameters": [
254
+ {
255
+ "type": "string",
256
+ "name": "token",
257
+ "in": "path",
258
+ "required": true,
259
+ "x-nullable": false,
260
+ "description": "Access Token"
261
+ }
262
+ ],
263
+ "responses": {
264
+ "200": {
265
+ "description": "",
266
+ "schema": {
267
+ "type": "file"
268
+ },
269
+ "x-nullable": true
270
+ }
271
+ }
272
+ }
273
+ },
274
+ "/storage/file/{path}": {
275
+ "put": {
276
+ "tags": [
277
+ "File"
278
+ ],
279
+ "summary": "Upload a specific file. Parameters: path - source file path e.g. /file.ext, versionID - source file's version, storage - user's source storage name, newdest - destination file path, destStorage - user's destination storage name.",
280
+ "operationId": "File_PutCreate",
281
+ "consumes": [
282
+ "multipart/form-data"
283
+ ],
284
+ "produces": [
285
+ "application/json"
286
+ ],
287
+ "parameters": [
288
+ {
289
+ "name": "path",
290
+ "in": "path",
291
+ "description": "",
292
+ "required": true,
293
+ "type": "string"
294
+ },
295
+ {
296
+ "name": "file",
297
+ "in": "formData",
298
+ "description": "file to upload",
299
+ "required": true,
300
+ "type": "file"
301
+ },
302
+ {
303
+ "name": "versionId",
304
+ "in": "query",
305
+ "description": "",
306
+ "required": false,
307
+ "type": "string"
308
+ },
309
+ {
310
+ "name": "storage",
311
+ "in": "query",
312
+ "description": "",
313
+ "required": false,
314
+ "type": "string"
315
+ }
316
+ ],
317
+ "responses": {
318
+ "200": {
319
+ "description": "",
320
+ "schema": {
321
+ "$ref": "#/definitions/SaaSposeResponse"
322
+ },
323
+ "x-nullable": true
324
+ }
325
+ }
326
+ },
327
+ "get": {
328
+ "tags": [
329
+ "File"
330
+ ],
331
+ "summary": "Download a specific file. Parameters: path - file path e.g. /file.ext, versionID - file's version, storage - user's storage name.",
332
+ "operationId": "File_GetDownload",
333
+ "parameters": [
334
+ {
335
+ "type": "string",
336
+ "name": "path",
337
+ "in": "path",
338
+ "required": true,
339
+ "x-nullable": true
340
+ },
341
+ {
342
+ "type": "string",
343
+ "name": "versionId",
344
+ "in": "query",
345
+ "x-nullable": true
346
+ },
347
+ {
348
+ "type": "string",
349
+ "name": "storage",
350
+ "in": "query",
351
+ "x-nullable": true
352
+ }
353
+ ],
354
+ "responses": {
355
+ "200": {
356
+ "description": "",
357
+ "schema": {
358
+ "type": "file"
359
+ },
360
+ "x-nullable": true
361
+ }
362
+ }
363
+ },
364
+ "post": {
365
+ "tags": [
366
+ "File"
367
+ ],
368
+ "summary": "Move a specific file.",
369
+ "operationId": "File_PostMoveFile",
370
+ "consumes": [
371
+
372
+ ],
373
+ "parameters": [
374
+ {
375
+ "type": "string",
376
+ "name": "path",
377
+ "in": "path",
378
+ "required": true,
379
+ "x-nullable": true,
380
+ "description": "source file path e.g. /file.ext"
381
+ },
382
+ {
383
+ "type": "string",
384
+ "name": "dest",
385
+ "in": "query",
386
+ "required": true,
387
+ "x-nullable": true
388
+ },
389
+ {
390
+ "type": "string",
391
+ "name": "versionId",
392
+ "in": "query",
393
+ "x-nullable": true,
394
+ "description": "source file's version,"
395
+ },
396
+ {
397
+ "type": "string",
398
+ "name": "storage",
399
+ "in": "query",
400
+ "x-nullable": true,
401
+ "description": "user's source storage name"
402
+ },
403
+ {
404
+ "type": "string",
405
+ "name": "destStorage",
406
+ "in": "query",
407
+ "x-nullable": true,
408
+ "description": "user's destination storage name"
409
+ }
410
+ ],
411
+ "responses": {
412
+ "200": {
413
+ "description": "",
414
+ "schema": {
415
+ "$ref": "#/definitions/MoveFileResponse"
416
+ },
417
+ "x-nullable": true
418
+ }
419
+ }
420
+ },
421
+ "delete": {
422
+ "tags": [
423
+ "File"
424
+ ],
425
+ "summary": "Remove a specific file. Parameters: path - file path e.g. /file.ext, versionID - file's version, storage - user's storage name.",
426
+ "operationId": "File_DeleteFile",
427
+ "parameters": [
428
+ {
429
+ "type": "string",
430
+ "name": "path",
431
+ "in": "path",
432
+ "required": true,
433
+ "x-nullable": true
434
+ },
435
+ {
436
+ "type": "string",
437
+ "name": "versionId",
438
+ "in": "query",
439
+ "x-nullable": true
440
+ },
441
+ {
442
+ "type": "string",
443
+ "name": "storage",
444
+ "in": "query",
445
+ "x-nullable": true
446
+ }
447
+ ],
448
+ "responses": {
449
+ "200": {
450
+ "description": "",
451
+ "schema": {
452
+ "$ref": "#/definitions/RemoveFileResponse"
453
+ },
454
+ "x-nullable": true
455
+ }
456
+ }
457
+ }
458
+ },
459
+ "/storage/folder/{path}": {
460
+ "get": {
461
+ "tags": [
462
+ "Folder"
463
+ ],
464
+ "summary": "Get the file listing of a specific folder. Parametres: path - start with name of storage e.g. root folder '/'or some folder '/folder1/..', storage - user's storage name.",
465
+ "operationId": "Folder_GetListFiles",
466
+ "parameters": [
467
+ {
468
+ "type": "string",
469
+ "name": "path",
470
+ "in": "path",
471
+ "x-nullable": true,
472
+ "default": "/"
473
+ },
474
+ {
475
+ "type": "string",
476
+ "name": "storage",
477
+ "in": "query",
478
+ "x-nullable": true
479
+ }
480
+ ],
481
+ "responses": {
482
+ "200": {
483
+ "description": "",
484
+ "schema": {
485
+ "$ref": "#/definitions/FolderResponse"
486
+ },
487
+ "x-nullable": true
488
+ }
489
+ }
490
+ },
491
+ "put": {
492
+ "tags": [
493
+ "Folder"
494
+ ],
495
+ "summary": "Create the folder. Parameters: path - source folder path e.g. /Folder1, storage - user's source storage name, newdest - destination folder path e.g. /Folder2, destStorage - user's destination storage name.",
496
+ "operationId": "Folder_PutCreateFolder",
497
+ "consumes": [
498
+
499
+ ],
500
+ "parameters": [
501
+ {
502
+ "type": "string",
503
+ "name": "path",
504
+ "in": "path",
505
+ "required": true,
506
+ "x-nullable": true
507
+ },
508
+ {
509
+ "type": "string",
510
+ "name": "storage",
511
+ "in": "query",
512
+ "x-nullable": true
513
+ },
514
+ {
515
+ "type": "string",
516
+ "name": "destStorage",
517
+ "in": "query",
518
+ "x-nullable": true
519
+ }
520
+ ],
521
+ "responses": {
522
+ "200": {
523
+ "description": "",
524
+ "schema": {
525
+ "$ref": "#/definitions/SaaSposeResponse"
526
+ },
527
+ "x-nullable": true
528
+ }
529
+ }
530
+ },
531
+ "post": {
532
+ "tags": [
533
+ "Folder"
534
+ ],
535
+ "summary": "Move a specific folder. Parameters: path - source folder path e.g. /Folder1, storage - user's source storage name, dest - destination folder path e.g. /Folder2, destStorage - user's destination storage name.",
536
+ "operationId": "Folder_PostMoveFolder",
537
+ "consumes": [
538
+
539
+ ],
540
+ "parameters": [
541
+ {
542
+ "type": "string",
543
+ "name": "path",
544
+ "in": "path",
545
+ "required": true,
546
+ "x-nullable": true
547
+ },
548
+ {
549
+ "type": "string",
550
+ "name": "dest",
551
+ "in": "query",
552
+ "required": true,
553
+ "x-nullable": true
554
+ },
555
+ {
556
+ "type": "string",
557
+ "name": "storage",
558
+ "in": "query",
559
+ "x-nullable": true
560
+ },
561
+ {
562
+ "type": "string",
563
+ "name": "destStorage",
564
+ "in": "query",
565
+ "x-nullable": true
566
+ }
567
+ ],
568
+ "responses": {
569
+ "200": {
570
+ "description": "",
571
+ "schema": {
572
+ "$ref": "#/definitions/MoveFolderResponse"
573
+ },
574
+ "x-nullable": true
575
+ }
576
+ }
577
+ },
578
+ "delete": {
579
+ "tags": [
580
+ "Folder"
581
+ ],
582
+ "summary": "Remove a specific folder. Parameters: path - folder path e.g. /Folder1, storage - user's storage name, recursive - is subfolders and files must be deleted for specified path.",
583
+ "operationId": "Folder_DeleteFolder",
584
+ "parameters": [
585
+ {
586
+ "type": "string",
587
+ "name": "path",
588
+ "in": "path",
589
+ "required": true,
590
+ "x-nullable": true
591
+ },
592
+ {
593
+ "type": "string",
594
+ "name": "storage",
595
+ "in": "query",
596
+ "x-nullable": true
597
+ },
598
+ {
599
+ "type": "boolean",
600
+ "name": "recursive",
601
+ "in": "query",
602
+ "x-nullable": false,
603
+ "default": false
604
+ }
605
+ ],
606
+ "responses": {
607
+ "200": {
608
+ "description": "",
609
+ "schema": {
610
+ "$ref": "#/definitions/RemoveFolderResponse"
611
+ },
612
+ "x-nullable": true
613
+ }
614
+ }
615
+ }
616
+ },
617
+ "/heroku/resources": {
618
+ "post": {
619
+ "tags": [
620
+ "Heroku"
621
+ ],
622
+ "summary": "Provision. Create Heroku User",
623
+ "operationId": "Heroku_PostResources",
624
+ "consumes": [
625
+ "multipart/form-data"
626
+ ],
627
+ "parameters": [
628
+ {
629
+ "name": "herokuRequest",
630
+ "in": "body",
631
+ "schema": {
632
+ "$ref": "#/definitions/HerokuRequest"
633
+ },
634
+ "x-nullable": true,
635
+ "description": "User data from Heroku Add-On"
636
+ }
637
+ ],
638
+ "responses": {
639
+ "200": {
640
+ "description": "OK",
641
+ "schema": {
642
+ "type": "file"
643
+ },
644
+ "x-nullable": true
645
+ }
646
+ }
647
+ }
648
+ },
649
+ "/heroku/resources/{id}": {
650
+ "put": {
651
+ "tags": [
652
+ "Heroku"
653
+ ],
654
+ "summary": "Update Heroku User Payment Plan",
655
+ "operationId": "Heroku_PutResources",
656
+ "consumes": [
657
+ "multipart/form-data"
658
+ ],
659
+ "parameters": [
660
+ {
661
+ "type": "integer",
662
+ "name": "id",
663
+ "in": "path",
664
+ "required": true,
665
+ "x-nullable": false,
666
+ "description": "User Id",
667
+ "format": "int64"
668
+ },
669
+ {
670
+ "name": "herokuRequest",
671
+ "in": "body",
672
+ "schema": {
673
+ "$ref": "#/definitions/HerokuRequest"
674
+ },
675
+ "x-nullable": true,
676
+ "description": "User data from Heroku Add-On"
677
+ }
678
+ ],
679
+ "responses": {
680
+ "200": {
681
+ "description": "",
682
+ "schema": {
683
+ "type": "file"
684
+ },
685
+ "x-nullable": true
686
+ }
687
+ }
688
+ },
689
+ "get": {
690
+ "tags": [
691
+ "Heroku"
692
+ ],
693
+ "summary": "Provision. Get Heroku User",
694
+ "operationId": "Heroku_GetResources",
695
+ "parameters": [
696
+ {
697
+ "type": "integer",
698
+ "name": "id",
699
+ "in": "path",
700
+ "required": true,
701
+ "x-nullable": false,
702
+ "format": "int64"
703
+ }
704
+ ],
705
+ "responses": {
706
+ "200": {
707
+ "description": "OK",
708
+ "schema": {
709
+ "type": "file"
710
+ },
711
+ "x-nullable": true
712
+ }
713
+ }
714
+ },
715
+ "delete": {
716
+ "tags": [
717
+ "Heroku"
718
+ ],
719
+ "summary": "Unsubscribe Heroku User (set payment plan to Free)",
720
+ "operationId": "Heroku_DeleteResources",
721
+ "parameters": [
722
+ {
723
+ "type": "integer",
724
+ "name": "id",
725
+ "in": "path",
726
+ "required": true,
727
+ "x-nullable": false,
728
+ "description": "User Id",
729
+ "format": "int64"
730
+ }
731
+ ],
732
+ "responses": {
733
+ "200": {
734
+ "description": "",
735
+ "schema": {
736
+ "type": "file"
737
+ },
738
+ "x-nullable": true
739
+ }
740
+ }
741
+ }
742
+ },
743
+ "/statistics": {
744
+ "get": {
745
+ "tags": [
746
+ "AppStatistics"
747
+ ],
748
+ "summary": "Get service statistics in HTML form.",
749
+ "operationId": "AppStatistics_GetStatistics",
750
+ "parameters": [],
751
+ "responses": {
752
+ "200": {
753
+ "description": "with the statistics HTML page.",
754
+ "schema": {
755
+ "type": "file"
756
+ },
757
+ "x-nullable": true
758
+ }
759
+ }
760
+ }
761
+ },
762
+ "/statistics/hours": {
763
+ "get": {
764
+ "tags": [
765
+ "AppStatistics"
766
+ ],
767
+ "summary": "Get statistics for specific dates by hours.",
768
+ "operationId": "AppStatistics_GetStatisticsByHours",
769
+ "parameters": [
770
+ {
771
+ "type": "string",
772
+ "name": "startDate",
773
+ "in": "query",
774
+ "required": true,
775
+ "x-nullable": true,
776
+ "description": "The start date."
777
+ },
778
+ {
779
+ "type": "string",
780
+ "name": "endDate",
781
+ "in": "query",
782
+ "x-nullable": true,
783
+ "description": "The end date."
784
+ }
785
+ ],
786
+ "responses": {
787
+ "200": {
788
+ "description": "Statistics for specific dates in HTML form.",
789
+ "schema": {
790
+ "type": "file"
791
+ },
792
+ "x-nullable": true
793
+ }
794
+ }
795
+ }
796
+ },
797
+ "/statistics/hours/last30Days": {
798
+ "get": {
799
+ "tags": [
800
+ "AppStatistics"
801
+ ],
802
+ "summary": "Get statistics for last 30 days by hours.",
803
+ "operationId": "AppStatistics_GetStatisticsByHoursForLast30Days",
804
+ "parameters": [],
805
+ "responses": {
806
+ "200": {
807
+ "description": "",
808
+ "schema": {
809
+ "type": "file"
810
+ },
811
+ "x-nullable": true
812
+ }
813
+ }
814
+ }
815
+ },
816
+ "/statistics/likeGD": {
817
+ "get": {
818
+ "tags": [
819
+ "AppStatistics"
820
+ ],
821
+ "summary": "Get service statistics in HTML form like GroupDocs.",
822
+ "operationId": "AppStatistics_GetStatisticsLikeGD",
823
+ "parameters": [],
824
+ "responses": {
825
+ "200": {
826
+ "description": "with the statistics HTML page.",
827
+ "schema": {
828
+ "type": "file"
829
+ },
830
+ "x-nullable": true
831
+ }
832
+ }
833
+ }
834
+ },
835
+ "/statistics/plans": {
836
+ "get": {
837
+ "tags": [
838
+ "AppStatistics"
839
+ ],
840
+ "summary": "Get users with plans statistics.",
841
+ "operationId": "AppStatistics_GetStatisticsPlans",
842
+ "parameters": [],
843
+ "responses": {
844
+ "200": {
845
+ "description": "with the statistics HTML page.",
846
+ "schema": {
847
+ "type": "file"
848
+ },
849
+ "x-nullable": true
850
+ }
851
+ }
852
+ }
853
+ },
854
+ "/statistics/errors": {
855
+ "get": {
856
+ "tags": [
857
+ "AppStatistics"
858
+ ],
859
+ "summary": "Get last errors statistics.",
860
+ "operationId": "AppStatistics_GetStatisticsErrors",
861
+ "parameters": [],
862
+ "responses": {
863
+ "200": {
864
+ "description": "with the statistics HTML page.",
865
+ "schema": {
866
+ "type": "file"
867
+ },
868
+ "x-nullable": true
869
+ }
870
+ }
871
+ }
872
+ },
873
+ "/statistics/paid": {
874
+ "get": {
875
+ "tags": [
876
+ "AppStatistics"
877
+ ],
878
+ "summary": "Get paid clients statistics.",
879
+ "operationId": "AppStatistics_GetStatisticsPaid",
880
+ "parameters": [],
881
+ "responses": {
882
+ "200": {
883
+ "description": "with the statistics HTML page.",
884
+ "schema": {
885
+ "type": "file"
886
+ },
887
+ "x-nullable": true
888
+ }
889
+ }
890
+ }
891
+ },
892
+ "/statistics/free": {
893
+ "get": {
894
+ "tags": [
895
+ "AppStatistics"
896
+ ],
897
+ "summary": "Get free users statistics.",
898
+ "operationId": "AppStatistics_GetStatisticsFree",
899
+ "parameters": [],
900
+ "responses": {
901
+ "200": {
902
+ "description": "with the statistics HTML page.",
903
+ "schema": {
904
+ "type": "file"
905
+ },
906
+ "x-nullable": true
907
+ }
908
+ }
909
+ }
910
+ },
911
+ "/statistics/calls": {
912
+ "get": {
913
+ "tags": [
914
+ "AppStatistics"
915
+ ],
916
+ "summary": "Get API calls statistics.",
917
+ "operationId": "AppStatistics_GetStatisticsAPI",
918
+ "parameters": [],
919
+ "responses": {
920
+ "200": {
921
+ "description": "with the statistics HTML page.",
922
+ "schema": {
923
+ "type": "file"
924
+ },
925
+ "x-nullable": true
926
+ }
927
+ }
928
+ }
929
+ },
930
+ "/statistics/overdrafts": {
931
+ "get": {
932
+ "tags": [
933
+ "AppStatistics"
934
+ ],
935
+ "summary": "Get clients with overdraft statistics.",
936
+ "operationId": "AppStatistics_GetStatisticsOverdraft",
937
+ "parameters": [],
938
+ "responses": {
939
+ "200": {
940
+ "description": "with the statistics HTML page.",
941
+ "schema": {
942
+ "type": "file"
943
+ },
944
+ "x-nullable": true
945
+ }
946
+ }
947
+ }
948
+ },
949
+ "/statistics/currentUsers": {
950
+ "get": {
951
+ "tags": [
952
+ "AppStatistics"
953
+ ],
954
+ "summary": "Get clients with overdraft statistics.",
955
+ "operationId": "AppStatistics_GetStatisticsCurrentUsers",
956
+ "parameters": [],
957
+ "responses": {
958
+ "200": {
959
+ "description": "with the statistics HTML page.",
960
+ "schema": {
961
+ "type": "file"
962
+ },
963
+ "x-nullable": true
964
+ }
965
+ }
966
+ }
967
+ },
968
+ "/storage/{name}/exist": {
969
+ "get": {
970
+ "tags": [
971
+ "Storage"
972
+ ],
973
+ "summary": "Check if storage exists. ",
974
+ "operationId": "Storage_GetIsStorageExist",
975
+ "parameters": [
976
+ {
977
+ "type": "string",
978
+ "name": "name",
979
+ "in": "path",
980
+ "required": true,
981
+ "x-nullable": false,
982
+ "description": "Storage name"
983
+ }
984
+ ],
985
+ "responses": {
986
+ "200": {
987
+ "description": "If storage exists in the database or not.",
988
+ "schema": {
989
+ "$ref": "#/definitions/StorageExistResponse"
990
+ },
991
+ "x-nullable": true
992
+ }
993
+ }
994
+ }
995
+ },
996
+ "/storage/exist/{path}": {
997
+ "get": {
998
+ "tags": [
999
+ "Storage"
1000
+ ],
1001
+ "summary": "Check if a specific file or folder exists.Parameters: path - file or folder path e.g. /file.ext or /Folder1, versionID - file's version, storage - user's storage name.",
1002
+ "operationId": "Storage_GetIsExist",
1003
+ "parameters": [
1004
+ {
1005
+ "type": "string",
1006
+ "name": "path",
1007
+ "in": "path",
1008
+ "required": true,
1009
+ "x-nullable": true
1010
+ },
1011
+ {
1012
+ "type": "string",
1013
+ "name": "versionId",
1014
+ "in": "query",
1015
+ "x-nullable": true
1016
+ },
1017
+ {
1018
+ "type": "string",
1019
+ "name": "storage",
1020
+ "in": "query",
1021
+ "x-nullable": true
1022
+ }
1023
+ ],
1024
+ "responses": {
1025
+ "200": {
1026
+ "description": "",
1027
+ "schema": {
1028
+ "$ref": "#/definitions/FileExistResponse"
1029
+ },
1030
+ "x-nullable": true
1031
+ }
1032
+ }
1033
+ }
1034
+ },
1035
+ "/storage/disc": {
1036
+ "get": {
1037
+ "tags": [
1038
+ "Storage"
1039
+ ],
1040
+ "summary": "Check the disk usage of the current account. Parameters: storage - user's storage name.",
1041
+ "operationId": "Storage_GetDiscUsage",
1042
+ "parameters": [
1043
+ {
1044
+ "type": "string",
1045
+ "name": "storage",
1046
+ "in": "query",
1047
+ "x-nullable": true
1048
+ }
1049
+ ],
1050
+ "responses": {
1051
+ "200": {
1052
+ "description": "",
1053
+ "schema": {
1054
+ "$ref": "#/definitions/DiscUsageResponse"
1055
+ },
1056
+ "x-nullable": true
1057
+ }
1058
+ }
1059
+ }
1060
+ },
1061
+ "/storage/version/{path}": {
1062
+ "get": {
1063
+ "tags": [
1064
+ "Storage"
1065
+ ],
1066
+ "summary": "Get the file's versions list. Parameters: path - file path e.g. /file.ext or /Folder1/file.ext, storage - user's storage name.",
1067
+ "operationId": "Storage_GetListFileVersions",
1068
+ "parameters": [
1069
+ {
1070
+ "type": "string",
1071
+ "name": "path",
1072
+ "in": "path",
1073
+ "required": true,
1074
+ "x-nullable": true
1075
+ },
1076
+ {
1077
+ "type": "string",
1078
+ "name": "storage",
1079
+ "in": "query",
1080
+ "x-nullable": true
1081
+ }
1082
+ ],
1083
+ "responses": {
1084
+ "200": {
1085
+ "description": "",
1086
+ "schema": {
1087
+ "$ref": "#/definitions/FileVersionsResponse"
1088
+ },
1089
+ "x-nullable": true
1090
+ }
1091
+ }
1092
+ }
1093
+ },
1094
+ "/usage": {
1095
+ "get": {
1096
+ "tags": [
1097
+ "Usage"
1098
+ ],
1099
+ "summary": "Get usage logs for some period.",
1100
+ "operationId": "Usage_GetUserUsage",
1101
+ "parameters": [
1102
+ {
1103
+ "type": "string",
1104
+ "name": "start",
1105
+ "in": "query",
1106
+ "required": true,
1107
+ "x-nullable": true,
1108
+ "description": "The period start.",
1109
+ "format": "date-time"
1110
+ },
1111
+ {
1112
+ "type": "string",
1113
+ "name": "end",
1114
+ "in": "query",
1115
+ "required": true,
1116
+ "x-nullable": true,
1117
+ "description": "The period end.",
1118
+ "format": "date-time"
1119
+ }
1120
+ ],
1121
+ "responses": {
1122
+ "200": {
1123
+ "description": "Xlsx file with the logs.",
1124
+ "schema": {
1125
+ "type": "file"
1126
+ },
1127
+ "x-nullable": true
1128
+ }
1129
+ }
1130
+ }
1131
+ },
1132
+ "/usage/currentPeriod": {
1133
+ "get": {
1134
+ "tags": [
1135
+ "Usage"
1136
+ ],
1137
+ "summary": "Get usage for current subscription period.",
1138
+ "operationId": "Usage_GetUserUsageCurrentMonth",
1139
+ "parameters": [],
1140
+ "responses": {
1141
+ "200": {
1142
+ "description": "Xlsx file with the logs.",
1143
+ "schema": {
1144
+ "type": "file"
1145
+ },
1146
+ "x-nullable": true
1147
+ }
1148
+ }
1149
+ }
1150
+ },
1151
+ "/usage/previousPeriod": {
1152
+ "get": {
1153
+ "tags": [
1154
+ "Usage"
1155
+ ],
1156
+ "summary": "Get usage logs for previous subscription period.",
1157
+ "operationId": "Usage_GetUserUsagePreviousMonth",
1158
+ "parameters": [],
1159
+ "responses": {
1160
+ "200": {
1161
+ "description": "Xlsx file with the logs.",
1162
+ "schema": {
1163
+ "type": "file"
1164
+ },
1165
+ "x-nullable": true
1166
+ }
1167
+ }
1168
+ }
1169
+ },
1170
+ "/usage/summary": {
1171
+ "get": {
1172
+ "tags": [
1173
+ "Usage"
1174
+ ],
1175
+ "summary": "Get summary usage for current subscription period.",
1176
+ "operationId": "Usage_GetUserUsageCurrentPeriodSummary",
1177
+ "parameters": [],
1178
+ "responses": {
1179
+ "200": {
1180
+ "description": "",
1181
+ "schema": {
1182
+ "$ref": "#/definitions/UserUsageSummaryResponse"
1183
+ },
1184
+ "x-nullable": true
1185
+ }
1186
+ }
1187
+ }
1188
+ }
1189
+ },
1190
+ "definitions": {
1191
+ "App": {
1192
+ "type": "object",
1193
+ "additionalProperties": false,
1194
+ "required": [
1195
+ "isDefault",
1196
+ "created"
1197
+ ],
1198
+ "properties": {
1199
+ "appKey": {
1200
+ "type": "string"
1201
+ },
1202
+ "appSid": {
1203
+ "type": "string"
1204
+ },
1205
+ "name": {
1206
+ "type": "string"
1207
+ },
1208
+ "description": {
1209
+ "type": "string"
1210
+ },
1211
+ "isDefault": {
1212
+ "type": "boolean"
1213
+ },
1214
+ "created": {
1215
+ "type": "string",
1216
+ "format": "date-time"
1217
+ }
1218
+ }
1219
+ },
1220
+ "FolderResponse": {
1221
+ "type": "object",
1222
+ "properties": {
1223
+ "Files": {
1224
+ "type": "array",
1225
+ "items": {
1226
+ "$ref": "#/definitions/FileResponse"
1227
+ }
1228
+ },
1229
+ "Code": {
1230
+ "type": "string"
1231
+ },
1232
+ "Status": {
1233
+ "type": "string"
1234
+ }
1235
+ }
1236
+ },
1237
+ "FileResponse": {
1238
+ "type": "object",
1239
+ "properties": {
1240
+ "Name": {
1241
+ "type": "string"
1242
+ },
1243
+ "Path": {
1244
+ "type": "string"
1245
+ },
1246
+ "ModifiedDate": {
1247
+ "type": "string"
1248
+ },
1249
+ "IsFolder": {
1250
+ "type": "boolean"
1251
+ },
1252
+ "Size": {
1253
+ "type": "integer",
1254
+ "format": "int64"
1255
+ }
1256
+ }
1257
+ },
1258
+ "ApplicationUsageResponse": {
1259
+ "type": "object",
1260
+ "additionalProperties": false,
1261
+ "properties": {
1262
+ "appUsage": {
1263
+ "$ref": "#/definitions/AppUsage"
1264
+ }
1265
+ },
1266
+ "allOf": [
1267
+ {
1268
+ "$ref": "#/definitions/SaaSposeResponse"
1269
+ }
1270
+ ]
1271
+ },
1272
+ "AppUsage": {
1273
+ "type": "object",
1274
+ "additionalProperties": false,
1275
+ "required": [
1276
+ "documents",
1277
+ "barcodes",
1278
+ "ocrs",
1279
+ "calls"
1280
+ ],
1281
+ "properties": {
1282
+ "documents": {
1283
+ "type": "integer",
1284
+ "format": "int32"
1285
+ },
1286
+ "barcodes": {
1287
+ "type": "integer",
1288
+ "format": "int32"
1289
+ },
1290
+ "ocrs": {
1291
+ "type": "integer",
1292
+ "format": "int32"
1293
+ },
1294
+ "calls": {
1295
+ "type": "integer",
1296
+ "format": "int32"
1297
+ }
1298
+ }
1299
+ },
1300
+ "AccessTokenResponse": {
1301
+ "allOf": [
1302
+ {
1303
+ "$ref": "#/definitions/SaaSposeResponse"
1304
+ },
1305
+ {
1306
+ "type": "object",
1307
+ "additionalProperties": false,
1308
+ "properties": {
1309
+ "accessToken": {
1310
+ "type": "string"
1311
+ }
1312
+ }
1313
+ }
1314
+ ]
1315
+ },
1316
+ "AccessTokenListResponse": {
1317
+ "allOf": [
1318
+ {
1319
+ "$ref": "#/definitions/SaaSposeResponse"
1320
+ },
1321
+ {
1322
+ "type": "object",
1323
+ "additionalProperties": false,
1324
+ "properties": {
1325
+ "accessTokens": {
1326
+ "type": "array",
1327
+ "items": {
1328
+ "type": "string"
1329
+ }
1330
+ }
1331
+ }
1332
+ }
1333
+ ]
1334
+ },
1335
+ "MoveFileResponse": {
1336
+ "allOf": [
1337
+ {
1338
+ "$ref": "#/definitions/SaaSposeResponse"
1339
+ },
1340
+ {
1341
+ "type": "object",
1342
+ "additionalProperties": false
1343
+ }
1344
+ ]
1345
+ },
1346
+ "RemoveFileResponse": {
1347
+ "allOf": [
1348
+ {
1349
+ "$ref": "#/definitions/SaaSposeResponse"
1350
+ },
1351
+ {
1352
+ "type": "object",
1353
+ "additionalProperties": false
1354
+ }
1355
+ ]
1356
+ },
1357
+ "MoveFolderResponse": {
1358
+ "allOf": [
1359
+ {
1360
+ "$ref": "#/definitions/SaaSposeResponse"
1361
+ },
1362
+ {
1363
+ "type": "object",
1364
+ "additionalProperties": false
1365
+ }
1366
+ ]
1367
+ },
1368
+ "SaaSposeResponse": {
1369
+ "type": "object",
1370
+ "additionalProperties": false,
1371
+ "required": [
1372
+ "code"
1373
+ ],
1374
+ "properties": {
1375
+ "code": {
1376
+ "type": "integer"
1377
+ },
1378
+ "status": {
1379
+ "type": "string"
1380
+ }
1381
+ }
1382
+ },
1383
+ "RemoveFolderResponse": {
1384
+ "allOf": [
1385
+ {
1386
+ "$ref": "#/definitions/SaaSposeResponse"
1387
+ },
1388
+ {
1389
+ "type": "object",
1390
+ "additionalProperties": false
1391
+ }
1392
+ ]
1393
+ },
1394
+ "HerokuRequest": {
1395
+ "type": "object",
1396
+ "additionalProperties": false,
1397
+ "properties": {
1398
+ "heroku_id": {
1399
+ "type": "string"
1400
+ },
1401
+ "plan": {
1402
+ "type": "string"
1403
+ },
1404
+ "callback_url": {
1405
+ "type": "string"
1406
+ },
1407
+ "logplex_token": {
1408
+ "type": "string"
1409
+ },
1410
+ "region": {
1411
+ "type": "string"
1412
+ },
1413
+ "options": {
1414
+ "$ref": "#/definitions/HerokuRequestOptions"
1415
+ }
1416
+ }
1417
+ },
1418
+ "HerokuRequestOptions": {
1419
+ "type": "object",
1420
+ "additionalProperties": false,
1421
+ "properties": {
1422
+ "plan": {
1423
+ "type": "string"
1424
+ }
1425
+ }
1426
+ },
1427
+ "StorageExistResponse": {
1428
+ "allOf": [
1429
+ {
1430
+ "$ref": "#/definitions/SaaSposeResponse"
1431
+ },
1432
+ {
1433
+ "type": "object",
1434
+ "additionalProperties": false,
1435
+ "required": [
1436
+ "isExist"
1437
+ ],
1438
+ "properties": {
1439
+ "isExist": {
1440
+ "type": "boolean"
1441
+ }
1442
+ }
1443
+ }
1444
+ ]
1445
+ },
1446
+ "FileExistResponse": {
1447
+ "allOf": [
1448
+ {
1449
+ "$ref": "#/definitions/SaaSposeResponse"
1450
+ },
1451
+ {
1452
+ "type": "object",
1453
+ "additionalProperties": false,
1454
+ "properties": {
1455
+ "fileExist": {
1456
+ "$ref": "#/definitions/FileExist"
1457
+ }
1458
+ }
1459
+ }
1460
+ ]
1461
+ },
1462
+ "FileExist": {
1463
+ "type": "object",
1464
+ "additionalProperties": false,
1465
+ "required": [
1466
+ "isExist",
1467
+ "isFolder"
1468
+ ],
1469
+ "properties": {
1470
+ "isExist": {
1471
+ "type": "boolean"
1472
+ },
1473
+ "isFolder": {
1474
+ "type": "boolean"
1475
+ }
1476
+ }
1477
+ },
1478
+ "DiscUsageResponse": {
1479
+ "allOf": [
1480
+ {
1481
+ "$ref": "#/definitions/SaaSposeResponse"
1482
+ },
1483
+ {
1484
+ "type": "object",
1485
+ "additionalProperties": false,
1486
+ "properties": {
1487
+ "discUsage": {
1488
+ "$ref": "#/definitions/DiscUsage"
1489
+ }
1490
+ }
1491
+ }
1492
+ ]
1493
+ },
1494
+ "DiscUsage": {
1495
+ "type": "object",
1496
+ "additionalProperties": false,
1497
+ "required": [
1498
+ "usedSize",
1499
+ "totalSize"
1500
+ ],
1501
+ "properties": {
1502
+ "usedSize": {
1503
+ "type": "integer",
1504
+ "format": "int64"
1505
+ },
1506
+ "totalSize": {
1507
+ "type": "integer",
1508
+ "format": "int64"
1509
+ }
1510
+ }
1511
+ },
1512
+ "FileVersionsResponse": {
1513
+ "allOf": [
1514
+ {
1515
+ "$ref": "#/definitions/SaaSposeResponse"
1516
+ },
1517
+ {
1518
+ "type": "object",
1519
+ "additionalProperties": false,
1520
+ "properties": {
1521
+ "fileVersions": {
1522
+ "type": "array",
1523
+ "items": {
1524
+ "$ref": "#/definitions/FileVersion"
1525
+ }
1526
+ }
1527
+ }
1528
+ }
1529
+ ]
1530
+ },
1531
+ "FileVersion": {
1532
+ "allOf": [
1533
+ {
1534
+ "$ref": "#/definitions/File"
1535
+ },
1536
+ {
1537
+ "type": "object",
1538
+ "additionalProperties": false,
1539
+ "required": [
1540
+ "isLatest"
1541
+ ],
1542
+ "properties": {
1543
+ "versionId": {
1544
+ "type": "string"
1545
+ },
1546
+ "isLatest": {
1547
+ "type": "boolean"
1548
+ },
1549
+ "name": {
1550
+ "type": "string"
1551
+ },
1552
+ "isFolder": {
1553
+ "type": "boolean"
1554
+ },
1555
+ "modifiedDate": {
1556
+ "type": "string"
1557
+ },
1558
+ "size": {
1559
+ "format": "int64",
1560
+ "type": "integer"
1561
+ },
1562
+ "path": {
1563
+ "type": "string"
1564
+ },
1565
+ "isDirectory": {
1566
+ "type": "boolean"
1567
+ }
1568
+ }
1569
+ }
1570
+ ]
1571
+ },
1572
+ "File": {
1573
+ "type": "object",
1574
+ "additionalProperties": false,
1575
+ "required": [
1576
+ "isFolder",
1577
+ "modifiedDate",
1578
+ "size",
1579
+ "isDirectory"
1580
+ ],
1581
+ "properties": {
1582
+ "name": {
1583
+ "type": "string"
1584
+ },
1585
+ "isFolder": {
1586
+ "type": "boolean"
1587
+ },
1588
+ "modifiedDate": {
1589
+ "type": "string",
1590
+ "format": "date-time"
1591
+ },
1592
+ "size": {
1593
+ "type": "integer",
1594
+ "format": "int64"
1595
+ },
1596
+ "path": {
1597
+ "type": "string"
1598
+ },
1599
+ "isDirectory": {
1600
+ "type": "boolean"
1601
+ }
1602
+ }
1603
+ },
1604
+ "UserUsageSummaryResponse": {
1605
+ "allOf": [
1606
+ {
1607
+ "$ref": "#/definitions/SaaSposeResponse"
1608
+ },
1609
+ {
1610
+ "type": "object",
1611
+ "additionalProperties": false,
1612
+ "properties": {
1613
+ "summary": {
1614
+ "$ref": "#/definitions/UserUsageSummaryStatistics"
1615
+ }
1616
+ }
1617
+ }
1618
+ ]
1619
+ },
1620
+ "UserUsageSummaryStatistics": {
1621
+ "type": "object",
1622
+ "additionalProperties": false,
1623
+ "required": [
1624
+ "documentsUsed",
1625
+ "documentsLimit",
1626
+ "barcodesUsed",
1627
+ "barcodesLimit",
1628
+ "ocrsUsed",
1629
+ "ocrsLimit",
1630
+ "callsUsed",
1631
+ "callsLimit"
1632
+ ],
1633
+ "properties": {
1634
+ "documentsUsed": {
1635
+ "type": "integer",
1636
+ "format": "int32"
1637
+ },
1638
+ "documentsLimit": {
1639
+ "type": "integer",
1640
+ "format": "int32"
1641
+ },
1642
+ "barcodesUsed": {
1643
+ "type": "integer",
1644
+ "format": "int32"
1645
+ },
1646
+ "barcodesLimit": {
1647
+ "type": "integer",
1648
+ "format": "int32"
1649
+ },
1650
+ "ocrsUsed": {
1651
+ "type": "integer",
1652
+ "format": "int32"
1653
+ },
1654
+ "ocrsLimit": {
1655
+ "type": "integer",
1656
+ "format": "int32"
1657
+ },
1658
+ "callsUsed": {
1659
+ "type": "integer",
1660
+ "format": "int32"
1661
+ },
1662
+ "callsLimit": {
1663
+ "type": "integer",
1664
+ "format": "int32"
1665
+ }
1666
+ }
1667
+ }
1668
+ },
1669
+ "parameters": {},
1670
+ "responses": {},
1671
+ "securityDefinitions": {
1672
+ "appsid": {
1673
+ "type": "apiKey",
1674
+ "name": "appsid",
1675
+ "in": "query"
1676
+ },
1677
+ "signature": {
1678
+ "type": "apiKey",
1679
+ "name": "signature",
1680
+ "in": "query"
1681
+ }
1682
+ }
1683
+ }