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