moonlogs-ruby 0.0.1.pre.rc

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 (108) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +524 -0
  4. data/Rakefile +8 -0
  5. data/docs/ApiToken.md +10 -0
  6. data/docs/Credentials.md +8 -0
  7. data/docs/DefaultApi.md +1318 -0
  8. data/docs/InlineResponse200.md +11 -0
  9. data/docs/InlineResponse2001.md +11 -0
  10. data/docs/InlineResponse20010.md +11 -0
  11. data/docs/InlineResponse20011.md +11 -0
  12. data/docs/InlineResponse20012.md +11 -0
  13. data/docs/InlineResponse20013.md +11 -0
  14. data/docs/InlineResponse2002.md +11 -0
  15. data/docs/InlineResponse2003.md +11 -0
  16. data/docs/InlineResponse2004.md +11 -0
  17. data/docs/InlineResponse2005.md +11 -0
  18. data/docs/InlineResponse2006.md +11 -0
  19. data/docs/InlineResponse2007.md +11 -0
  20. data/docs/InlineResponse2008.md +11 -0
  21. data/docs/InlineResponse2009.md +11 -0
  22. data/docs/Level.md +6 -0
  23. data/docs/Meta.md +9 -0
  24. data/docs/OneOfRecordLevel.md +6 -0
  25. data/docs/OneOfUserRole.md +6 -0
  26. data/docs/Record.md +15 -0
  27. data/docs/Role.md +6 -0
  28. data/docs/Schema.md +14 -0
  29. data/docs/SchemaField.md +8 -0
  30. data/docs/SchemaKind.md +8 -0
  31. data/docs/SchemaSearch.md +8 -0
  32. data/docs/Session.md +7 -0
  33. data/docs/Tag.md +8 -0
  34. data/docs/User.md +14 -0
  35. data/git_push.sh +55 -0
  36. data/lib/moonlogs-ruby/api/default_api.rb +1458 -0
  37. data/lib/moonlogs-ruby/api_client.rb +388 -0
  38. data/lib/moonlogs-ruby/api_error.rb +57 -0
  39. data/lib/moonlogs-ruby/configuration.rb +205 -0
  40. data/lib/moonlogs-ruby/models/api_token.rb +253 -0
  41. data/lib/moonlogs-ruby/models/credentials.rb +225 -0
  42. data/lib/moonlogs-ruby/models/inline_response_200.rb +269 -0
  43. data/lib/moonlogs-ruby/models/inline_response_200_1.rb +267 -0
  44. data/lib/moonlogs-ruby/models/inline_response_200_10.rb +267 -0
  45. data/lib/moonlogs-ruby/models/inline_response_200_11.rb +267 -0
  46. data/lib/moonlogs-ruby/models/inline_response_200_12.rb +269 -0
  47. data/lib/moonlogs-ruby/models/inline_response_200_13.rb +267 -0
  48. data/lib/moonlogs-ruby/models/inline_response_200_2.rb +267 -0
  49. data/lib/moonlogs-ruby/models/inline_response_200_3.rb +269 -0
  50. data/lib/moonlogs-ruby/models/inline_response_200_4.rb +267 -0
  51. data/lib/moonlogs-ruby/models/inline_response_200_5.rb +269 -0
  52. data/lib/moonlogs-ruby/models/inline_response_200_6.rb +267 -0
  53. data/lib/moonlogs-ruby/models/inline_response_200_7.rb +268 -0
  54. data/lib/moonlogs-ruby/models/inline_response_200_8.rb +267 -0
  55. data/lib/moonlogs-ruby/models/inline_response_200_9.rb +269 -0
  56. data/lib/moonlogs-ruby/models/level.rb +32 -0
  57. data/lib/moonlogs-ruby/models/meta.rb +239 -0
  58. data/lib/moonlogs-ruby/models/one_of_record_level.rb +197 -0
  59. data/lib/moonlogs-ruby/models/one_of_user_role.rb +197 -0
  60. data/lib/moonlogs-ruby/models/record.rb +303 -0
  61. data/lib/moonlogs-ruby/models/role.rb +28 -0
  62. data/lib/moonlogs-ruby/models/schema.rb +298 -0
  63. data/lib/moonlogs-ruby/models/schema_field.rb +225 -0
  64. data/lib/moonlogs-ruby/models/schema_kind.rb +225 -0
  65. data/lib/moonlogs-ruby/models/schema_search.rb +215 -0
  66. data/lib/moonlogs-ruby/models/session.rb +211 -0
  67. data/lib/moonlogs-ruby/models/tag.rb +225 -0
  68. data/lib/moonlogs-ruby/models/user.rb +301 -0
  69. data/lib/moonlogs-ruby/version.rb +14 -0
  70. data/lib/moonlogs-ruby.rb +68 -0
  71. data/moonlogs-ruby-0.0.1.0.gem +0 -0
  72. data/moonlogs-ruby-0.0.1.gem +0 -0
  73. data/moonlogs-ruby.gemspec +38 -0
  74. data/spec/api/default_api_spec.rb +317 -0
  75. data/spec/api_client_spec.rb +225 -0
  76. data/spec/base_object_spec.rb +109 -0
  77. data/spec/configuration_spec.rb +41 -0
  78. data/spec/models/api_token_spec.rb +58 -0
  79. data/spec/models/credentials_spec.rb +46 -0
  80. data/spec/models/inline_response_200_10_spec.rb +64 -0
  81. data/spec/models/inline_response_200_11_spec.rb +64 -0
  82. data/spec/models/inline_response_200_12_spec.rb +64 -0
  83. data/spec/models/inline_response_200_13_spec.rb +64 -0
  84. data/spec/models/inline_response_200_1_spec.rb +64 -0
  85. data/spec/models/inline_response_200_2_spec.rb +64 -0
  86. data/spec/models/inline_response_200_3_spec.rb +64 -0
  87. data/spec/models/inline_response_200_4_spec.rb +64 -0
  88. data/spec/models/inline_response_200_5_spec.rb +64 -0
  89. data/spec/models/inline_response_200_6_spec.rb +64 -0
  90. data/spec/models/inline_response_200_7_spec.rb +64 -0
  91. data/spec/models/inline_response_200_8_spec.rb +64 -0
  92. data/spec/models/inline_response_200_9_spec.rb +64 -0
  93. data/spec/models/inline_response_200_spec.rb +64 -0
  94. data/spec/models/level_spec.rb +34 -0
  95. data/spec/models/meta_spec.rb +52 -0
  96. data/spec/models/one_of_record_level_spec.rb +34 -0
  97. data/spec/models/one_of_user_role_spec.rb +34 -0
  98. data/spec/models/record_spec.rb +88 -0
  99. data/spec/models/role_spec.rb +34 -0
  100. data/spec/models/schema_field_spec.rb +46 -0
  101. data/spec/models/schema_kind_spec.rb +46 -0
  102. data/spec/models/schema_search_spec.rb +46 -0
  103. data/spec/models/schema_spec.rb +82 -0
  104. data/spec/models/session_spec.rb +40 -0
  105. data/spec/models/tag_spec.rb +46 -0
  106. data/spec/models/user_spec.rb +82 -0
  107. data/spec/spec_helper.rb +110 -0
  108. metadata +243 -0
@@ -0,0 +1,1318 @@
1
+ # MoonlogsRuby::DefaultApi
2
+
3
+ All URIs are relative to */*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**api_api_tokens_get**](DefaultApi.md#api_api_tokens_get) | **GET** /api/api_tokens |
8
+ [**api_api_tokens_id_delete**](DefaultApi.md#api_api_tokens_id_delete) | **DELETE** /api/api_tokens/{id} |
9
+ [**api_api_tokens_id_get**](DefaultApi.md#api_api_tokens_id_get) | **GET** /api/api_tokens/{id} |
10
+ [**api_api_tokens_id_put**](DefaultApi.md#api_api_tokens_id_put) | **PUT** /api/api_tokens/{id} |
11
+ [**api_api_tokens_post**](DefaultApi.md#api_api_tokens_post) | **POST** /api/api_tokens |
12
+ [**api_logs_get**](DefaultApi.md#api_logs_get) | **GET** /api/logs |
13
+ [**api_logs_group_schema_name_hash_get**](DefaultApi.md#api_logs_group_schema_name_hash_get) | **GET** /api/logs/group/{schema_name}/{hash} |
14
+ [**api_logs_id_get**](DefaultApi.md#api_logs_id_get) | **GET** /api/logs/{id} |
15
+ [**api_logs_post**](DefaultApi.md#api_logs_post) | **POST** /api/logs |
16
+ [**api_logs_search_post**](DefaultApi.md#api_logs_search_post) | **POST** /api/logs/search |
17
+ [**api_schemas_get**](DefaultApi.md#api_schemas_get) | **GET** /api/schemas |
18
+ [**api_schemas_id_delete**](DefaultApi.md#api_schemas_id_delete) | **DELETE** /api/schemas/{id} |
19
+ [**api_schemas_id_get**](DefaultApi.md#api_schemas_id_get) | **GET** /api/schemas/{id} |
20
+ [**api_schemas_id_put**](DefaultApi.md#api_schemas_id_put) | **PUT** /api/schemas/{id} |
21
+ [**api_schemas_post**](DefaultApi.md#api_schemas_post) | **POST** /api/schemas |
22
+ [**api_session_get**](DefaultApi.md#api_session_get) | **GET** /api/session |
23
+ [**api_session_post**](DefaultApi.md#api_session_post) | **POST** /api/session |
24
+ [**api_setup_register_admin_post**](DefaultApi.md#api_setup_register_admin_post) | **POST** /api/setup/register_admin |
25
+ [**api_tags_get**](DefaultApi.md#api_tags_get) | **GET** /api/tags |
26
+ [**api_tags_id_delete**](DefaultApi.md#api_tags_id_delete) | **DELETE** /api/tags/{id} |
27
+ [**api_tags_id_get**](DefaultApi.md#api_tags_id_get) | **GET** /api/tags/{id} |
28
+ [**api_tags_id_put**](DefaultApi.md#api_tags_id_put) | **PUT** /api/tags/{id} |
29
+ [**api_tags_post**](DefaultApi.md#api_tags_post) | **POST** /api/tags |
30
+ [**api_users_get**](DefaultApi.md#api_users_get) | **GET** /api/users |
31
+ [**api_users_id_delete**](DefaultApi.md#api_users_id_delete) | **DELETE** /api/users/{id} |
32
+ [**api_users_id_get**](DefaultApi.md#api_users_id_get) | **GET** /api/users/{id} |
33
+ [**api_users_id_put**](DefaultApi.md#api_users_id_put) | **PUT** /api/users/{id} |
34
+ [**api_users_post**](DefaultApi.md#api_users_post) | **POST** /api/users |
35
+
36
+ # **api_api_tokens_get**
37
+ > InlineResponse2009 api_api_tokens_get
38
+
39
+
40
+
41
+ ### Example
42
+ ```ruby
43
+ # load the gem
44
+ require 'moonlogs-ruby'
45
+ # setup authorization
46
+ MoonlogsRuby.configure do |config|
47
+ end
48
+
49
+ api_instance = MoonlogsRuby::DefaultApi.new
50
+
51
+ begin
52
+ result = api_instance.api_api_tokens_get
53
+ p result
54
+ rescue MoonlogsRuby::ApiError => e
55
+ puts "Exception when calling DefaultApi->api_api_tokens_get: #{e}"
56
+ end
57
+ ```
58
+
59
+ ### Parameters
60
+ This endpoint does not need any parameter.
61
+
62
+ ### Return type
63
+
64
+ [**InlineResponse2009**](InlineResponse2009.md)
65
+
66
+ ### Authorization
67
+
68
+ [http1](../README.md#http1)
69
+
70
+ ### HTTP request headers
71
+
72
+ - **Content-Type**: Not defined
73
+ - **Accept**: application/json
74
+
75
+
76
+
77
+ # **api_api_tokens_id_delete**
78
+ > InlineResponse20011 api_api_tokens_id_delete(id)
79
+
80
+
81
+
82
+ ### Example
83
+ ```ruby
84
+ # load the gem
85
+ require 'moonlogs-ruby'
86
+ # setup authorization
87
+ MoonlogsRuby.configure do |config|
88
+ end
89
+
90
+ api_instance = MoonlogsRuby::DefaultApi.new
91
+ id = 56 # Integer |
92
+
93
+
94
+ begin
95
+ result = api_instance.api_api_tokens_id_delete(id)
96
+ p result
97
+ rescue MoonlogsRuby::ApiError => e
98
+ puts "Exception when calling DefaultApi->api_api_tokens_id_delete: #{e}"
99
+ end
100
+ ```
101
+
102
+ ### Parameters
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **id** | **Integer**| |
107
+
108
+ ### Return type
109
+
110
+ [**InlineResponse20011**](InlineResponse20011.md)
111
+
112
+ ### Authorization
113
+
114
+ [http1](../README.md#http1)
115
+
116
+ ### HTTP request headers
117
+
118
+ - **Content-Type**: Not defined
119
+ - **Accept**: application/json
120
+
121
+
122
+
123
+ # **api_api_tokens_id_get**
124
+ > InlineResponse20010 api_api_tokens_id_get(id)
125
+
126
+
127
+
128
+ ### Example
129
+ ```ruby
130
+ # load the gem
131
+ require 'moonlogs-ruby'
132
+ # setup authorization
133
+ MoonlogsRuby.configure do |config|
134
+ end
135
+
136
+ api_instance = MoonlogsRuby::DefaultApi.new
137
+ id = 56 # Integer |
138
+
139
+
140
+ begin
141
+ result = api_instance.api_api_tokens_id_get(id)
142
+ p result
143
+ rescue MoonlogsRuby::ApiError => e
144
+ puts "Exception when calling DefaultApi->api_api_tokens_id_get: #{e}"
145
+ end
146
+ ```
147
+
148
+ ### Parameters
149
+
150
+ Name | Type | Description | Notes
151
+ ------------- | ------------- | ------------- | -------------
152
+ **id** | **Integer**| |
153
+
154
+ ### Return type
155
+
156
+ [**InlineResponse20010**](InlineResponse20010.md)
157
+
158
+ ### Authorization
159
+
160
+ [http1](../README.md#http1)
161
+
162
+ ### HTTP request headers
163
+
164
+ - **Content-Type**: Not defined
165
+ - **Accept**: application/json
166
+
167
+
168
+
169
+ # **api_api_tokens_id_put**
170
+ > InlineResponse20010 api_api_tokens_id_put(id, opts)
171
+
172
+
173
+
174
+ ### Example
175
+ ```ruby
176
+ # load the gem
177
+ require 'moonlogs-ruby'
178
+ # setup authorization
179
+ MoonlogsRuby.configure do |config|
180
+ end
181
+
182
+ api_instance = MoonlogsRuby::DefaultApi.new
183
+ id = 56 # Integer |
184
+ opts = {
185
+ body: MoonlogsRuby::ApiToken.new # ApiToken |
186
+ }
187
+
188
+ begin
189
+ result = api_instance.api_api_tokens_id_put(id, opts)
190
+ p result
191
+ rescue MoonlogsRuby::ApiError => e
192
+ puts "Exception when calling DefaultApi->api_api_tokens_id_put: #{e}"
193
+ end
194
+ ```
195
+
196
+ ### Parameters
197
+
198
+ Name | Type | Description | Notes
199
+ ------------- | ------------- | ------------- | -------------
200
+ **id** | **Integer**| |
201
+ **body** | [**ApiToken**](ApiToken.md)| | [optional]
202
+
203
+ ### Return type
204
+
205
+ [**InlineResponse20010**](InlineResponse20010.md)
206
+
207
+ ### Authorization
208
+
209
+ [http1](../README.md#http1)
210
+
211
+ ### HTTP request headers
212
+
213
+ - **Content-Type**: application/json
214
+ - **Accept**: application/json
215
+
216
+
217
+
218
+ # **api_api_tokens_post**
219
+ > InlineResponse20010 api_api_tokens_post(opts)
220
+
221
+
222
+
223
+ ### Example
224
+ ```ruby
225
+ # load the gem
226
+ require 'moonlogs-ruby'
227
+ # setup authorization
228
+ MoonlogsRuby.configure do |config|
229
+ end
230
+
231
+ api_instance = MoonlogsRuby::DefaultApi.new
232
+ opts = {
233
+ body: MoonlogsRuby::ApiToken.new # ApiToken |
234
+ }
235
+
236
+ begin
237
+ result = api_instance.api_api_tokens_post(opts)
238
+ p result
239
+ rescue MoonlogsRuby::ApiError => e
240
+ puts "Exception when calling DefaultApi->api_api_tokens_post: #{e}"
241
+ end
242
+ ```
243
+
244
+ ### Parameters
245
+
246
+ Name | Type | Description | Notes
247
+ ------------- | ------------- | ------------- | -------------
248
+ **body** | [**ApiToken**](ApiToken.md)| | [optional]
249
+
250
+ ### Return type
251
+
252
+ [**InlineResponse20010**](InlineResponse20010.md)
253
+
254
+ ### Authorization
255
+
256
+ [http1](../README.md#http1)
257
+
258
+ ### HTTP request headers
259
+
260
+ - **Content-Type**: application/json
261
+ - **Accept**: application/json
262
+
263
+
264
+
265
+ # **api_logs_get**
266
+ > InlineResponse2003 api_logs_get(opts)
267
+
268
+
269
+
270
+ ### Example
271
+ ```ruby
272
+ # load the gem
273
+ require 'moonlogs-ruby'
274
+ # setup authorization
275
+ MoonlogsRuby.configure do |config|
276
+ end
277
+
278
+ api_instance = MoonlogsRuby::DefaultApi.new
279
+ opts = {
280
+ page: 56, # Integer |
281
+ limit: 56 # Integer |
282
+ }
283
+
284
+ begin
285
+ result = api_instance.api_logs_get(opts)
286
+ p result
287
+ rescue MoonlogsRuby::ApiError => e
288
+ puts "Exception when calling DefaultApi->api_logs_get: #{e}"
289
+ end
290
+ ```
291
+
292
+ ### Parameters
293
+
294
+ Name | Type | Description | Notes
295
+ ------------- | ------------- | ------------- | -------------
296
+ **page** | **Integer**| | [optional]
297
+ **limit** | **Integer**| | [optional]
298
+
299
+ ### Return type
300
+
301
+ [**InlineResponse2003**](InlineResponse2003.md)
302
+
303
+ ### Authorization
304
+
305
+ [http1](../README.md#http1)
306
+
307
+ ### HTTP request headers
308
+
309
+ - **Content-Type**: Not defined
310
+ - **Accept**: application/json
311
+
312
+
313
+
314
+ # **api_logs_group_schema_name_hash_get**
315
+ > InlineResponse2003 api_logs_group_schema_name_hash_get(schema_name, hash)
316
+
317
+
318
+
319
+ ### Example
320
+ ```ruby
321
+ # load the gem
322
+ require 'moonlogs-ruby'
323
+ # setup authorization
324
+ MoonlogsRuby.configure do |config|
325
+ end
326
+
327
+ api_instance = MoonlogsRuby::DefaultApi.new
328
+ schema_name = 'schema_name_example' # String |
329
+ hash = 'hash_example' # String |
330
+
331
+
332
+ begin
333
+ result = api_instance.api_logs_group_schema_name_hash_get(schema_name, hash)
334
+ p result
335
+ rescue MoonlogsRuby::ApiError => e
336
+ puts "Exception when calling DefaultApi->api_logs_group_schema_name_hash_get: #{e}"
337
+ end
338
+ ```
339
+
340
+ ### Parameters
341
+
342
+ Name | Type | Description | Notes
343
+ ------------- | ------------- | ------------- | -------------
344
+ **schema_name** | **String**| |
345
+ **hash** | **String**| |
346
+
347
+ ### Return type
348
+
349
+ [**InlineResponse2003**](InlineResponse2003.md)
350
+
351
+ ### Authorization
352
+
353
+ [http1](../README.md#http1)
354
+
355
+ ### HTTP request headers
356
+
357
+ - **Content-Type**: Not defined
358
+ - **Accept**: application/json
359
+
360
+
361
+
362
+ # **api_logs_id_get**
363
+ > InlineResponse2004 api_logs_id_get(id)
364
+
365
+
366
+
367
+ ### Example
368
+ ```ruby
369
+ # load the gem
370
+ require 'moonlogs-ruby'
371
+ # setup authorization
372
+ MoonlogsRuby.configure do |config|
373
+ end
374
+
375
+ api_instance = MoonlogsRuby::DefaultApi.new
376
+ id = 56 # Integer |
377
+
378
+
379
+ begin
380
+ result = api_instance.api_logs_id_get(id)
381
+ p result
382
+ rescue MoonlogsRuby::ApiError => e
383
+ puts "Exception when calling DefaultApi->api_logs_id_get: #{e}"
384
+ end
385
+ ```
386
+
387
+ ### Parameters
388
+
389
+ Name | Type | Description | Notes
390
+ ------------- | ------------- | ------------- | -------------
391
+ **id** | **Integer**| |
392
+
393
+ ### Return type
394
+
395
+ [**InlineResponse2004**](InlineResponse2004.md)
396
+
397
+ ### Authorization
398
+
399
+ [http1](../README.md#http1)
400
+
401
+ ### HTTP request headers
402
+
403
+ - **Content-Type**: Not defined
404
+ - **Accept**: application/json
405
+
406
+
407
+
408
+ # **api_logs_post**
409
+ > InlineResponse2004 api_logs_post(opts)
410
+
411
+
412
+
413
+ ### Example
414
+ ```ruby
415
+ # load the gem
416
+ require 'moonlogs-ruby'
417
+ # setup authorization
418
+ MoonlogsRuby.configure do |config|
419
+ end
420
+
421
+ api_instance = MoonlogsRuby::DefaultApi.new
422
+ opts = {
423
+ body: MoonlogsRuby::Record.new # Record |
424
+ }
425
+
426
+ begin
427
+ result = api_instance.api_logs_post(opts)
428
+ p result
429
+ rescue MoonlogsRuby::ApiError => e
430
+ puts "Exception when calling DefaultApi->api_logs_post: #{e}"
431
+ end
432
+ ```
433
+
434
+ ### Parameters
435
+
436
+ Name | Type | Description | Notes
437
+ ------------- | ------------- | ------------- | -------------
438
+ **body** | [**Record**](Record.md)| | [optional]
439
+
440
+ ### Return type
441
+
442
+ [**InlineResponse2004**](InlineResponse2004.md)
443
+
444
+ ### Authorization
445
+
446
+ [http1](../README.md#http1)
447
+
448
+ ### HTTP request headers
449
+
450
+ - **Content-Type**: application/json
451
+ - **Accept**: application/json
452
+
453
+
454
+
455
+ # **api_logs_search_post**
456
+ > InlineResponse2003 api_logs_search_post(opts)
457
+
458
+
459
+
460
+ ### Example
461
+ ```ruby
462
+ # load the gem
463
+ require 'moonlogs-ruby'
464
+ # setup authorization
465
+ MoonlogsRuby.configure do |config|
466
+ end
467
+
468
+ api_instance = MoonlogsRuby::DefaultApi.new
469
+ opts = {
470
+ body: MoonlogsRuby::Record.new # Record |
471
+ page: 56 # Integer |
472
+ limit: 56 # Integer |
473
+ }
474
+
475
+ begin
476
+ result = api_instance.api_logs_search_post(opts)
477
+ p result
478
+ rescue MoonlogsRuby::ApiError => e
479
+ puts "Exception when calling DefaultApi->api_logs_search_post: #{e}"
480
+ end
481
+ ```
482
+
483
+ ### Parameters
484
+
485
+ Name | Type | Description | Notes
486
+ ------------- | ------------- | ------------- | -------------
487
+ **body** | [**Record**](Record.md)| | [optional]
488
+ **page** | **Integer**| | [optional]
489
+ **limit** | **Integer**| | [optional]
490
+
491
+ ### Return type
492
+
493
+ [**InlineResponse2003**](InlineResponse2003.md)
494
+
495
+ ### Authorization
496
+
497
+ [http1](../README.md#http1)
498
+
499
+ ### HTTP request headers
500
+
501
+ - **Content-Type**: application/json
502
+ - **Accept**: application/json
503
+
504
+
505
+
506
+ # **api_schemas_get**
507
+ > InlineResponse200 api_schemas_get
508
+
509
+
510
+
511
+ ### Example
512
+ ```ruby
513
+ # load the gem
514
+ require 'moonlogs-ruby'
515
+ # setup authorization
516
+ MoonlogsRuby.configure do |config|
517
+ end
518
+
519
+ api_instance = MoonlogsRuby::DefaultApi.new
520
+
521
+ begin
522
+ result = api_instance.api_schemas_get
523
+ p result
524
+ rescue MoonlogsRuby::ApiError => e
525
+ puts "Exception when calling DefaultApi->api_schemas_get: #{e}"
526
+ end
527
+ ```
528
+
529
+ ### Parameters
530
+ This endpoint does not need any parameter.
531
+
532
+ ### Return type
533
+
534
+ [**InlineResponse200**](InlineResponse200.md)
535
+
536
+ ### Authorization
537
+
538
+ [http1](../README.md#http1)
539
+
540
+ ### HTTP request headers
541
+
542
+ - **Content-Type**: Not defined
543
+ - **Accept**: application/json
544
+
545
+
546
+
547
+ # **api_schemas_id_delete**
548
+ > InlineResponse2002 api_schemas_id_delete(id)
549
+
550
+
551
+
552
+ ### Example
553
+ ```ruby
554
+ # load the gem
555
+ require 'moonlogs-ruby'
556
+ # setup authorization
557
+ MoonlogsRuby.configure do |config|
558
+ end
559
+
560
+ api_instance = MoonlogsRuby::DefaultApi.new
561
+ id = 56 # Integer |
562
+
563
+
564
+ begin
565
+ result = api_instance.api_schemas_id_delete(id)
566
+ p result
567
+ rescue MoonlogsRuby::ApiError => e
568
+ puts "Exception when calling DefaultApi->api_schemas_id_delete: #{e}"
569
+ end
570
+ ```
571
+
572
+ ### Parameters
573
+
574
+ Name | Type | Description | Notes
575
+ ------------- | ------------- | ------------- | -------------
576
+ **id** | **Integer**| |
577
+
578
+ ### Return type
579
+
580
+ [**InlineResponse2002**](InlineResponse2002.md)
581
+
582
+ ### Authorization
583
+
584
+ [http1](../README.md#http1)
585
+
586
+ ### HTTP request headers
587
+
588
+ - **Content-Type**: Not defined
589
+ - **Accept**: application/json
590
+
591
+
592
+
593
+ # **api_schemas_id_get**
594
+ > InlineResponse2001 api_schemas_id_get(id)
595
+
596
+
597
+
598
+ ### Example
599
+ ```ruby
600
+ # load the gem
601
+ require 'moonlogs-ruby'
602
+ # setup authorization
603
+ MoonlogsRuby.configure do |config|
604
+ end
605
+
606
+ api_instance = MoonlogsRuby::DefaultApi.new
607
+ id = 56 # Integer |
608
+
609
+
610
+ begin
611
+ result = api_instance.api_schemas_id_get(id)
612
+ p result
613
+ rescue MoonlogsRuby::ApiError => e
614
+ puts "Exception when calling DefaultApi->api_schemas_id_get: #{e}"
615
+ end
616
+ ```
617
+
618
+ ### Parameters
619
+
620
+ Name | Type | Description | Notes
621
+ ------------- | ------------- | ------------- | -------------
622
+ **id** | **Integer**| |
623
+
624
+ ### Return type
625
+
626
+ [**InlineResponse2001**](InlineResponse2001.md)
627
+
628
+ ### Authorization
629
+
630
+ [http1](../README.md#http1)
631
+
632
+ ### HTTP request headers
633
+
634
+ - **Content-Type**: Not defined
635
+ - **Accept**: application/json
636
+
637
+
638
+
639
+ # **api_schemas_id_put**
640
+ > InlineResponse2001 api_schemas_id_put(id, opts)
641
+
642
+
643
+
644
+ ### Example
645
+ ```ruby
646
+ # load the gem
647
+ require 'moonlogs-ruby'
648
+ # setup authorization
649
+ MoonlogsRuby.configure do |config|
650
+ end
651
+
652
+ api_instance = MoonlogsRuby::DefaultApi.new
653
+ id = 56 # Integer |
654
+ opts = {
655
+ body: MoonlogsRuby::Schema.new # Schema |
656
+ }
657
+
658
+ begin
659
+ result = api_instance.api_schemas_id_put(id, opts)
660
+ p result
661
+ rescue MoonlogsRuby::ApiError => e
662
+ puts "Exception when calling DefaultApi->api_schemas_id_put: #{e}"
663
+ end
664
+ ```
665
+
666
+ ### Parameters
667
+
668
+ Name | Type | Description | Notes
669
+ ------------- | ------------- | ------------- | -------------
670
+ **id** | **Integer**| |
671
+ **body** | [**Schema**](Schema.md)| | [optional]
672
+
673
+ ### Return type
674
+
675
+ [**InlineResponse2001**](InlineResponse2001.md)
676
+
677
+ ### Authorization
678
+
679
+ [http1](../README.md#http1)
680
+
681
+ ### HTTP request headers
682
+
683
+ - **Content-Type**: application/json
684
+ - **Accept**: application/json
685
+
686
+
687
+
688
+ # **api_schemas_post**
689
+ > InlineResponse2001 api_schemas_post(opts)
690
+
691
+
692
+
693
+ ### Example
694
+ ```ruby
695
+ # load the gem
696
+ require 'moonlogs-ruby'
697
+ # setup authorization
698
+ MoonlogsRuby.configure do |config|
699
+ end
700
+
701
+ api_instance = MoonlogsRuby::DefaultApi.new
702
+ opts = {
703
+ body: MoonlogsRuby::Schema.new # Schema |
704
+ }
705
+
706
+ begin
707
+ result = api_instance.api_schemas_post(opts)
708
+ p result
709
+ rescue MoonlogsRuby::ApiError => e
710
+ puts "Exception when calling DefaultApi->api_schemas_post: #{e}"
711
+ end
712
+ ```
713
+
714
+ ### Parameters
715
+
716
+ Name | Type | Description | Notes
717
+ ------------- | ------------- | ------------- | -------------
718
+ **body** | [**Schema**](Schema.md)| | [optional]
719
+
720
+ ### Return type
721
+
722
+ [**InlineResponse2001**](InlineResponse2001.md)
723
+
724
+ ### Authorization
725
+
726
+ [http1](../README.md#http1)
727
+
728
+ ### HTTP request headers
729
+
730
+ - **Content-Type**: application/json
731
+ - **Accept**: application/json
732
+
733
+
734
+
735
+ # **api_session_get**
736
+ > InlineResponse2008 api_session_get
737
+
738
+
739
+
740
+ ### Example
741
+ ```ruby
742
+ # load the gem
743
+ require 'moonlogs-ruby'
744
+
745
+ api_instance = MoonlogsRuby::DefaultApi.new
746
+
747
+ begin
748
+ result = api_instance.api_session_get
749
+ p result
750
+ rescue MoonlogsRuby::ApiError => e
751
+ puts "Exception when calling DefaultApi->api_session_get: #{e}"
752
+ end
753
+ ```
754
+
755
+ ### Parameters
756
+ This endpoint does not need any parameter.
757
+
758
+ ### Return type
759
+
760
+ [**InlineResponse2008**](InlineResponse2008.md)
761
+
762
+ ### Authorization
763
+
764
+ No authorization required
765
+
766
+ ### HTTP request headers
767
+
768
+ - **Content-Type**: Not defined
769
+ - **Accept**: application/json
770
+
771
+
772
+
773
+ # **api_session_post**
774
+ > InlineResponse2008 api_session_post(opts)
775
+
776
+
777
+
778
+ ### Example
779
+ ```ruby
780
+ # load the gem
781
+ require 'moonlogs-ruby'
782
+
783
+ api_instance = MoonlogsRuby::DefaultApi.new
784
+ opts = {
785
+ body: MoonlogsRuby::Credentials.new # Credentials |
786
+ }
787
+
788
+ begin
789
+ result = api_instance.api_session_post(opts)
790
+ p result
791
+ rescue MoonlogsRuby::ApiError => e
792
+ puts "Exception when calling DefaultApi->api_session_post: #{e}"
793
+ end
794
+ ```
795
+
796
+ ### Parameters
797
+
798
+ Name | Type | Description | Notes
799
+ ------------- | ------------- | ------------- | -------------
800
+ **body** | [**Credentials**](Credentials.md)| | [optional]
801
+
802
+ ### Return type
803
+
804
+ [**InlineResponse2008**](InlineResponse2008.md)
805
+
806
+ ### Authorization
807
+
808
+ No authorization required
809
+
810
+ ### HTTP request headers
811
+
812
+ - **Content-Type**: application/json
813
+ - **Accept**: application/json
814
+
815
+
816
+
817
+ # **api_setup_register_admin_post**
818
+ > User api_setup_register_admin_post(opts)
819
+
820
+
821
+
822
+ ### Example
823
+ ```ruby
824
+ # load the gem
825
+ require 'moonlogs-ruby'
826
+
827
+ api_instance = MoonlogsRuby::DefaultApi.new
828
+ opts = {
829
+ body: MoonlogsRuby::User.new # User |
830
+ }
831
+
832
+ begin
833
+ result = api_instance.api_setup_register_admin_post(opts)
834
+ p result
835
+ rescue MoonlogsRuby::ApiError => e
836
+ puts "Exception when calling DefaultApi->api_setup_register_admin_post: #{e}"
837
+ end
838
+ ```
839
+
840
+ ### Parameters
841
+
842
+ Name | Type | Description | Notes
843
+ ------------- | ------------- | ------------- | -------------
844
+ **body** | [**User**](User.md)| | [optional]
845
+
846
+ ### Return type
847
+
848
+ [**User**](User.md)
849
+
850
+ ### Authorization
851
+
852
+ No authorization required
853
+
854
+ ### HTTP request headers
855
+
856
+ - **Content-Type**: application/json
857
+ - **Accept**: application/json
858
+
859
+
860
+
861
+ # **api_tags_get**
862
+ > InlineResponse20012 api_tags_get
863
+
864
+
865
+
866
+ ### Example
867
+ ```ruby
868
+ # load the gem
869
+ require 'moonlogs-ruby'
870
+ # setup authorization
871
+ MoonlogsRuby.configure do |config|
872
+ end
873
+
874
+ api_instance = MoonlogsRuby::DefaultApi.new
875
+
876
+ begin
877
+ result = api_instance.api_tags_get
878
+ p result
879
+ rescue MoonlogsRuby::ApiError => e
880
+ puts "Exception when calling DefaultApi->api_tags_get: #{e}"
881
+ end
882
+ ```
883
+
884
+ ### Parameters
885
+ This endpoint does not need any parameter.
886
+
887
+ ### Return type
888
+
889
+ [**InlineResponse20012**](InlineResponse20012.md)
890
+
891
+ ### Authorization
892
+
893
+ [http1](../README.md#http1)
894
+
895
+ ### HTTP request headers
896
+
897
+ - **Content-Type**: Not defined
898
+ - **Accept**: application/json
899
+
900
+
901
+
902
+ # **api_tags_id_delete**
903
+ > InlineResponse20011 api_tags_id_delete(id)
904
+
905
+
906
+
907
+ ### Example
908
+ ```ruby
909
+ # load the gem
910
+ require 'moonlogs-ruby'
911
+ # setup authorization
912
+ MoonlogsRuby.configure do |config|
913
+ end
914
+
915
+ api_instance = MoonlogsRuby::DefaultApi.new
916
+ id = 56 # Integer |
917
+
918
+
919
+ begin
920
+ result = api_instance.api_tags_id_delete(id)
921
+ p result
922
+ rescue MoonlogsRuby::ApiError => e
923
+ puts "Exception when calling DefaultApi->api_tags_id_delete: #{e}"
924
+ end
925
+ ```
926
+
927
+ ### Parameters
928
+
929
+ Name | Type | Description | Notes
930
+ ------------- | ------------- | ------------- | -------------
931
+ **id** | **Integer**| |
932
+
933
+ ### Return type
934
+
935
+ [**InlineResponse20011**](InlineResponse20011.md)
936
+
937
+ ### Authorization
938
+
939
+ [http1](../README.md#http1)
940
+
941
+ ### HTTP request headers
942
+
943
+ - **Content-Type**: Not defined
944
+ - **Accept**: application/json
945
+
946
+
947
+
948
+ # **api_tags_id_get**
949
+ > InlineResponse20013 api_tags_id_get(id)
950
+
951
+
952
+
953
+ ### Example
954
+ ```ruby
955
+ # load the gem
956
+ require 'moonlogs-ruby'
957
+ # setup authorization
958
+ MoonlogsRuby.configure do |config|
959
+ end
960
+
961
+ api_instance = MoonlogsRuby::DefaultApi.new
962
+ id = 56 # Integer |
963
+
964
+
965
+ begin
966
+ result = api_instance.api_tags_id_get(id)
967
+ p result
968
+ rescue MoonlogsRuby::ApiError => e
969
+ puts "Exception when calling DefaultApi->api_tags_id_get: #{e}"
970
+ end
971
+ ```
972
+
973
+ ### Parameters
974
+
975
+ Name | Type | Description | Notes
976
+ ------------- | ------------- | ------------- | -------------
977
+ **id** | **Integer**| |
978
+
979
+ ### Return type
980
+
981
+ [**InlineResponse20013**](InlineResponse20013.md)
982
+
983
+ ### Authorization
984
+
985
+ [http1](../README.md#http1)
986
+
987
+ ### HTTP request headers
988
+
989
+ - **Content-Type**: Not defined
990
+ - **Accept**: application/json
991
+
992
+
993
+
994
+ # **api_tags_id_put**
995
+ > InlineResponse20013 api_tags_id_put(id, opts)
996
+
997
+
998
+
999
+ ### Example
1000
+ ```ruby
1001
+ # load the gem
1002
+ require 'moonlogs-ruby'
1003
+ # setup authorization
1004
+ MoonlogsRuby.configure do |config|
1005
+ end
1006
+
1007
+ api_instance = MoonlogsRuby::DefaultApi.new
1008
+ id = 56 # Integer |
1009
+ opts = {
1010
+ body: MoonlogsRuby::Tag.new # Tag |
1011
+ }
1012
+
1013
+ begin
1014
+ result = api_instance.api_tags_id_put(id, opts)
1015
+ p result
1016
+ rescue MoonlogsRuby::ApiError => e
1017
+ puts "Exception when calling DefaultApi->api_tags_id_put: #{e}"
1018
+ end
1019
+ ```
1020
+
1021
+ ### Parameters
1022
+
1023
+ Name | Type | Description | Notes
1024
+ ------------- | ------------- | ------------- | -------------
1025
+ **id** | **Integer**| |
1026
+ **body** | [**Tag**](Tag.md)| | [optional]
1027
+
1028
+ ### Return type
1029
+
1030
+ [**InlineResponse20013**](InlineResponse20013.md)
1031
+
1032
+ ### Authorization
1033
+
1034
+ [http1](../README.md#http1)
1035
+
1036
+ ### HTTP request headers
1037
+
1038
+ - **Content-Type**: application/json
1039
+ - **Accept**: application/json
1040
+
1041
+
1042
+
1043
+ # **api_tags_post**
1044
+ > InlineResponse20013 api_tags_post(opts)
1045
+
1046
+
1047
+
1048
+ ### Example
1049
+ ```ruby
1050
+ # load the gem
1051
+ require 'moonlogs-ruby'
1052
+ # setup authorization
1053
+ MoonlogsRuby.configure do |config|
1054
+ end
1055
+
1056
+ api_instance = MoonlogsRuby::DefaultApi.new
1057
+ opts = {
1058
+ body: MoonlogsRuby::Tag.new # Tag |
1059
+ }
1060
+
1061
+ begin
1062
+ result = api_instance.api_tags_post(opts)
1063
+ p result
1064
+ rescue MoonlogsRuby::ApiError => e
1065
+ puts "Exception when calling DefaultApi->api_tags_post: #{e}"
1066
+ end
1067
+ ```
1068
+
1069
+ ### Parameters
1070
+
1071
+ Name | Type | Description | Notes
1072
+ ------------- | ------------- | ------------- | -------------
1073
+ **body** | [**Tag**](Tag.md)| | [optional]
1074
+
1075
+ ### Return type
1076
+
1077
+ [**InlineResponse20013**](InlineResponse20013.md)
1078
+
1079
+ ### Authorization
1080
+
1081
+ [http1](../README.md#http1)
1082
+
1083
+ ### HTTP request headers
1084
+
1085
+ - **Content-Type**: application/json
1086
+ - **Accept**: application/json
1087
+
1088
+
1089
+
1090
+ # **api_users_get**
1091
+ > InlineResponse2005 api_users_get
1092
+
1093
+
1094
+
1095
+ ### Example
1096
+ ```ruby
1097
+ # load the gem
1098
+ require 'moonlogs-ruby'
1099
+ # setup authorization
1100
+ MoonlogsRuby.configure do |config|
1101
+ end
1102
+
1103
+ api_instance = MoonlogsRuby::DefaultApi.new
1104
+
1105
+ begin
1106
+ result = api_instance.api_users_get
1107
+ p result
1108
+ rescue MoonlogsRuby::ApiError => e
1109
+ puts "Exception when calling DefaultApi->api_users_get: #{e}"
1110
+ end
1111
+ ```
1112
+
1113
+ ### Parameters
1114
+ This endpoint does not need any parameter.
1115
+
1116
+ ### Return type
1117
+
1118
+ [**InlineResponse2005**](InlineResponse2005.md)
1119
+
1120
+ ### Authorization
1121
+
1122
+ [http1](../README.md#http1)
1123
+
1124
+ ### HTTP request headers
1125
+
1126
+ - **Content-Type**: Not defined
1127
+ - **Accept**: application/json
1128
+
1129
+
1130
+
1131
+ # **api_users_id_delete**
1132
+ > InlineResponse2007 api_users_id_delete(id)
1133
+
1134
+
1135
+
1136
+ ### Example
1137
+ ```ruby
1138
+ # load the gem
1139
+ require 'moonlogs-ruby'
1140
+ # setup authorization
1141
+ MoonlogsRuby.configure do |config|
1142
+ end
1143
+
1144
+ api_instance = MoonlogsRuby::DefaultApi.new
1145
+ id = 56 # Integer |
1146
+
1147
+
1148
+ begin
1149
+ result = api_instance.api_users_id_delete(id)
1150
+ p result
1151
+ rescue MoonlogsRuby::ApiError => e
1152
+ puts "Exception when calling DefaultApi->api_users_id_delete: #{e}"
1153
+ end
1154
+ ```
1155
+
1156
+ ### Parameters
1157
+
1158
+ Name | Type | Description | Notes
1159
+ ------------- | ------------- | ------------- | -------------
1160
+ **id** | **Integer**| |
1161
+
1162
+ ### Return type
1163
+
1164
+ [**InlineResponse2007**](InlineResponse2007.md)
1165
+
1166
+ ### Authorization
1167
+
1168
+ [http1](../README.md#http1)
1169
+
1170
+ ### HTTP request headers
1171
+
1172
+ - **Content-Type**: Not defined
1173
+ - **Accept**: application/json
1174
+
1175
+
1176
+
1177
+ # **api_users_id_get**
1178
+ > InlineResponse2006 api_users_id_get(id)
1179
+
1180
+
1181
+
1182
+ ### Example
1183
+ ```ruby
1184
+ # load the gem
1185
+ require 'moonlogs-ruby'
1186
+ # setup authorization
1187
+ MoonlogsRuby.configure do |config|
1188
+ end
1189
+
1190
+ api_instance = MoonlogsRuby::DefaultApi.new
1191
+ id = 56 # Integer |
1192
+
1193
+
1194
+ begin
1195
+ result = api_instance.api_users_id_get(id)
1196
+ p result
1197
+ rescue MoonlogsRuby::ApiError => e
1198
+ puts "Exception when calling DefaultApi->api_users_id_get: #{e}"
1199
+ end
1200
+ ```
1201
+
1202
+ ### Parameters
1203
+
1204
+ Name | Type | Description | Notes
1205
+ ------------- | ------------- | ------------- | -------------
1206
+ **id** | **Integer**| |
1207
+
1208
+ ### Return type
1209
+
1210
+ [**InlineResponse2006**](InlineResponse2006.md)
1211
+
1212
+ ### Authorization
1213
+
1214
+ [http1](../README.md#http1)
1215
+
1216
+ ### HTTP request headers
1217
+
1218
+ - **Content-Type**: Not defined
1219
+ - **Accept**: application/json
1220
+
1221
+
1222
+
1223
+ # **api_users_id_put**
1224
+ > InlineResponse2006 api_users_id_put(id, opts)
1225
+
1226
+
1227
+
1228
+ ### Example
1229
+ ```ruby
1230
+ # load the gem
1231
+ require 'moonlogs-ruby'
1232
+ # setup authorization
1233
+ MoonlogsRuby.configure do |config|
1234
+ end
1235
+
1236
+ api_instance = MoonlogsRuby::DefaultApi.new
1237
+ id = 56 # Integer |
1238
+ opts = {
1239
+ body: MoonlogsRuby::User.new # User |
1240
+ }
1241
+
1242
+ begin
1243
+ result = api_instance.api_users_id_put(id, opts)
1244
+ p result
1245
+ rescue MoonlogsRuby::ApiError => e
1246
+ puts "Exception when calling DefaultApi->api_users_id_put: #{e}"
1247
+ end
1248
+ ```
1249
+
1250
+ ### Parameters
1251
+
1252
+ Name | Type | Description | Notes
1253
+ ------------- | ------------- | ------------- | -------------
1254
+ **id** | **Integer**| |
1255
+ **body** | [**User**](User.md)| | [optional]
1256
+
1257
+ ### Return type
1258
+
1259
+ [**InlineResponse2006**](InlineResponse2006.md)
1260
+
1261
+ ### Authorization
1262
+
1263
+ [http1](../README.md#http1)
1264
+
1265
+ ### HTTP request headers
1266
+
1267
+ - **Content-Type**: application/json
1268
+ - **Accept**: application/json
1269
+
1270
+
1271
+
1272
+ # **api_users_post**
1273
+ > InlineResponse2006 api_users_post(opts)
1274
+
1275
+
1276
+
1277
+ ### Example
1278
+ ```ruby
1279
+ # load the gem
1280
+ require 'moonlogs-ruby'
1281
+ # setup authorization
1282
+ MoonlogsRuby.configure do |config|
1283
+ end
1284
+
1285
+ api_instance = MoonlogsRuby::DefaultApi.new
1286
+ opts = {
1287
+ body: MoonlogsRuby::User.new # User |
1288
+ }
1289
+
1290
+ begin
1291
+ result = api_instance.api_users_post(opts)
1292
+ p result
1293
+ rescue MoonlogsRuby::ApiError => e
1294
+ puts "Exception when calling DefaultApi->api_users_post: #{e}"
1295
+ end
1296
+ ```
1297
+
1298
+ ### Parameters
1299
+
1300
+ Name | Type | Description | Notes
1301
+ ------------- | ------------- | ------------- | -------------
1302
+ **body** | [**User**](User.md)| | [optional]
1303
+
1304
+ ### Return type
1305
+
1306
+ [**InlineResponse2006**](InlineResponse2006.md)
1307
+
1308
+ ### Authorization
1309
+
1310
+ [http1](../README.md#http1)
1311
+
1312
+ ### HTTP request headers
1313
+
1314
+ - **Content-Type**: application/json
1315
+ - **Accept**: application/json
1316
+
1317
+
1318
+