moonlogs-ruby 1.7.17 → 1.8.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 (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +114 -5
  3. data/docs/ActionRequest.md +13 -0
  4. data/docs/ActionResponse.md +14 -0
  5. data/docs/Condition.md +9 -0
  6. data/docs/DefaultApi.md +316 -0
  7. data/docs/InlineResponse20015.md +11 -0
  8. data/docs/InlineResponse20016.md +11 -0
  9. data/docs/InlineResponse20017.md +11 -0
  10. data/docs/InlineResponse20018.md +11 -0
  11. data/docs/InlineResponse20019.md +11 -0
  12. data/docs/RecordRequest.md +1 -0
  13. data/docs/RecordResponse.md +1 -0
  14. data/lib/moonlogs-ruby/api/default_api.rb +343 -1
  15. data/lib/moonlogs-ruby/api_client.rb +1 -1
  16. data/lib/moonlogs-ruby/api_error.rb +1 -1
  17. data/lib/moonlogs-ruby/configuration.rb +1 -1
  18. data/lib/moonlogs-ruby/models/action_request.rb +287 -0
  19. data/lib/moonlogs-ruby/models/action_response.rb +311 -0
  20. data/lib/moonlogs-ruby/models/api_token_request.rb +1 -1
  21. data/lib/moonlogs-ruby/models/api_token_response.rb +1 -1
  22. data/lib/moonlogs-ruby/models/condition.rb +239 -0
  23. data/lib/moonlogs-ruby/models/credentials.rb +1 -1
  24. data/lib/moonlogs-ruby/models/inline_response_200.rb +1 -1
  25. data/lib/moonlogs-ruby/models/inline_response_200_1.rb +1 -1
  26. data/lib/moonlogs-ruby/models/inline_response_200_10.rb +1 -1
  27. data/lib/moonlogs-ruby/models/inline_response_200_11.rb +1 -1
  28. data/lib/moonlogs-ruby/models/inline_response_200_12.rb +1 -1
  29. data/lib/moonlogs-ruby/models/inline_response_200_13.rb +1 -1
  30. data/lib/moonlogs-ruby/models/inline_response_200_14.rb +1 -1
  31. data/lib/moonlogs-ruby/models/inline_response_200_15.rb +267 -0
  32. data/lib/moonlogs-ruby/models/inline_response_200_16.rb +267 -0
  33. data/lib/moonlogs-ruby/models/inline_response_200_17.rb +269 -0
  34. data/lib/moonlogs-ruby/models/inline_response_200_18.rb +267 -0
  35. data/lib/moonlogs-ruby/models/inline_response_200_19.rb +268 -0
  36. data/lib/moonlogs-ruby/models/inline_response_200_2.rb +1 -1
  37. data/lib/moonlogs-ruby/models/inline_response_200_3.rb +1 -1
  38. data/lib/moonlogs-ruby/models/inline_response_200_4.rb +1 -1
  39. data/lib/moonlogs-ruby/models/inline_response_200_5.rb +1 -1
  40. data/lib/moonlogs-ruby/models/inline_response_200_6.rb +1 -1
  41. data/lib/moonlogs-ruby/models/inline_response_200_7.rb +1 -1
  42. data/lib/moonlogs-ruby/models/inline_response_200_8.rb +1 -1
  43. data/lib/moonlogs-ruby/models/inline_response_200_9.rb +1 -1
  44. data/lib/moonlogs-ruby/models/level.rb +1 -1
  45. data/lib/moonlogs-ruby/models/meta.rb +1 -1
  46. data/lib/moonlogs-ruby/models/one_of_record_request_level.rb +1 -1
  47. data/lib/moonlogs-ruby/models/one_of_record_response_level.rb +1 -1
  48. data/lib/moonlogs-ruby/models/one_of_user_request_role.rb +1 -1
  49. data/lib/moonlogs-ruby/models/one_of_user_response_role.rb +1 -1
  50. data/lib/moonlogs-ruby/models/record_request.rb +14 -5
  51. data/lib/moonlogs-ruby/models/record_response.rb +19 -5
  52. data/lib/moonlogs-ruby/models/role.rb +1 -1
  53. data/lib/moonlogs-ruby/models/schema_field.rb +1 -1
  54. data/lib/moonlogs-ruby/models/schema_kind.rb +1 -1
  55. data/lib/moonlogs-ruby/models/schema_request.rb +1 -1
  56. data/lib/moonlogs-ruby/models/schema_response.rb +1 -1
  57. data/lib/moonlogs-ruby/models/session.rb +1 -1
  58. data/lib/moonlogs-ruby/models/tag_request.rb +1 -1
  59. data/lib/moonlogs-ruby/models/tag_response.rb +1 -1
  60. data/lib/moonlogs-ruby/models/user_request.rb +1 -1
  61. data/lib/moonlogs-ruby/models/user_response.rb +1 -1
  62. data/lib/moonlogs-ruby/version.rb +2 -2
  63. data/lib/moonlogs-ruby.rb +9 -1
  64. data/moonlogs-ruby.gemspec +1 -1
  65. data/spec/models/action_request_spec.rb +76 -0
  66. data/spec/models/action_response_spec.rb +82 -0
  67. data/spec/models/condition_spec.rb +52 -0
  68. data/spec/models/inline_response_200_15_spec.rb +64 -0
  69. data/spec/models/inline_response_200_16_spec.rb +64 -0
  70. data/spec/models/inline_response_200_17_spec.rb +64 -0
  71. data/spec/models/inline_response_200_18_spec.rb +64 -0
  72. data/spec/models/inline_response_200_19_spec.rb +64 -0
  73. metadata +34 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e178b46a71d0d2abf88b33e328f1c270686ac155eaeaa26f9839a946ffac0d8a
4
- data.tar.gz: d2a5de0cd044ed8dc99b9ff218db264af57ad605896d2d2261a389abb08f41df
3
+ metadata.gz: a07dde3067ae3ec20d772d1cf4701651afca415c9e4541a2c056e9918c701a08
4
+ data.tar.gz: 8302f07e20727c80ba9dd478575d234936b04c6a545bfd490a400b4297134ea6
5
5
  SHA512:
6
- metadata.gz: 483722c0e9ee21319eedafbad604ed990d4ff9ddc4d6590a596d781186a10a9838a5a98af899e8cc7508069be2aa60772112a7413d06af5ab696f1957a30ebbc
7
- data.tar.gz: b788ad4306bad0bbcdc68138f6bd6ba8cb2c9738b3965a9e1d06ce6048ca4810a9e104333a13eccb6982996724fd7ea93f3bd72391022733b950ca206b26574c
6
+ metadata.gz: 5c19434a21cf1d1b920d23bdc221a84c24934058bba26cd454053badcc0e1fe55b62f8b539be0a52d7352ca99e3afa4b94e529c349350ce22205a5559aaa1f28
7
+ data.tar.gz: acbbf8b610d64f50ae20681b1b3b6cc4d1f5f5aced25f57b8858c16f4d625aecb3dc9bddfbb4717768c4d8ef49e09a655ec0480b9b46ee2a3ca13c7994aed2b0
data/README.md CHANGED
@@ -6,8 +6,8 @@ Moonlogs API
6
6
 
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
- - API version: 1.7.16
10
- - Package version: 1.7.17
9
+ - API version: 1.8.0
10
+ - Package version: 1.8.0
11
11
  - Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build moonlogs-ruby.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./moonlogs-ruby-1.7.17.gem
26
+ gem install ./moonlogs-ruby-1.8.0.gem
27
27
  ```
28
- (for development, run `gem install --dev ./moonlogs-ruby-1.7.17.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./moonlogs-ruby-1.8.0.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'moonlogs-ruby', '~> 1.7.17'
34
+ gem 'moonlogs-ruby', '~> 1.8.0'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -57,6 +57,35 @@ require 'moonlogs-ruby'
57
57
  MoonlogsRuby.configure do |config|
58
58
  end
59
59
 
60
+ api_instance = MoonlogsRuby::DefaultApi.new
61
+ id = 56 # Integer |
62
+
63
+
64
+ begin
65
+ result = api_instance.cover_record_by_id(id)
66
+ p result
67
+ rescue MoonlogsRuby::ApiError => e
68
+ puts "Exception when calling DefaultApi->cover_record_by_id: #{e}"
69
+ end
70
+ # Setup authorization
71
+ MoonlogsRuby.configure do |config|
72
+ end
73
+
74
+ api_instance = MoonlogsRuby::DefaultApi.new
75
+ opts = {
76
+ body: MoonlogsRuby::ActionRequest.new # ActionRequest |
77
+ }
78
+
79
+ begin
80
+ result = api_instance.create_action(opts)
81
+ p result
82
+ rescue MoonlogsRuby::ApiError => e
83
+ puts "Exception when calling DefaultApi->create_action: #{e}"
84
+ end
85
+ # Setup authorization
86
+ MoonlogsRuby.configure do |config|
87
+ end
88
+
60
89
  api_instance = MoonlogsRuby::DefaultApi.new
61
90
  opts = {
62
91
  body: MoonlogsRuby::RecordRequest.new # RecordRequest |
@@ -159,6 +188,18 @@ end
159
188
  MoonlogsRuby.configure do |config|
160
189
  end
161
190
 
191
+ api_instance = MoonlogsRuby::DefaultApi.new
192
+
193
+ begin
194
+ result = api_instance.delete_action_by_id
195
+ p result
196
+ rescue MoonlogsRuby::ApiError => e
197
+ puts "Exception when calling DefaultApi->delete_action_by_id: #{e}"
198
+ end
199
+ # Setup authorization
200
+ MoonlogsRuby.configure do |config|
201
+ end
202
+
162
203
  api_instance = MoonlogsRuby::DefaultApi.new
163
204
  id = 56 # Integer |
164
205
 
@@ -215,6 +256,44 @@ end
215
256
  MoonlogsRuby.configure do |config|
216
257
  end
217
258
 
259
+ api_instance = MoonlogsRuby::DefaultApi.new
260
+ id = 56 # Integer |
261
+
262
+
263
+ begin
264
+ result = api_instance.expose_record_by_id(id)
265
+ p result
266
+ rescue MoonlogsRuby::ApiError => e
267
+ puts "Exception when calling DefaultApi->expose_record_by_id: #{e}"
268
+ end
269
+ # Setup authorization
270
+ MoonlogsRuby.configure do |config|
271
+ end
272
+
273
+ api_instance = MoonlogsRuby::DefaultApi.new
274
+
275
+ begin
276
+ result = api_instance.get_action_by_id
277
+ p result
278
+ rescue MoonlogsRuby::ApiError => e
279
+ puts "Exception when calling DefaultApi->get_action_by_id: #{e}"
280
+ end
281
+ # Setup authorization
282
+ MoonlogsRuby.configure do |config|
283
+ end
284
+
285
+ api_instance = MoonlogsRuby::DefaultApi.new
286
+
287
+ begin
288
+ result = api_instance.get_actions
289
+ p result
290
+ rescue MoonlogsRuby::ApiError => e
291
+ puts "Exception when calling DefaultApi->get_actions: #{e}"
292
+ end
293
+ # Setup authorization
294
+ MoonlogsRuby.configure do |config|
295
+ end
296
+
218
297
  api_instance = MoonlogsRuby::DefaultApi.new
219
298
  opts = {
220
299
  page: 56, # Integer |
@@ -432,6 +511,21 @@ end
432
511
  MoonlogsRuby.configure do |config|
433
512
  end
434
513
 
514
+ api_instance = MoonlogsRuby::DefaultApi.new
515
+ opts = {
516
+ body: MoonlogsRuby::ActionRequest.new # ActionRequest |
517
+ }
518
+
519
+ begin
520
+ result = api_instance.update_action_by_id(opts)
521
+ p result
522
+ rescue MoonlogsRuby::ApiError => e
523
+ puts "Exception when calling DefaultApi->update_action_by_id: #{e}"
524
+ end
525
+ # Setup authorization
526
+ MoonlogsRuby.configure do |config|
527
+ end
528
+
435
529
  api_instance = MoonlogsRuby::DefaultApi.new
436
530
  id = 56 # Integer |
437
531
  opts = {
@@ -500,6 +594,8 @@ All URIs are relative to */*
500
594
 
501
595
  Class | Method | HTTP request | Description
502
596
  ------------ | ------------- | ------------- | -------------
597
+ *MoonlogsRuby::DefaultApi* | [**cover_record_by_id**](docs/DefaultApi.md#cover_record_by_id) | **PUT** /api/logs/{id}/cover |
598
+ *MoonlogsRuby::DefaultApi* | [**create_action**](docs/DefaultApi.md#create_action) | **POST** /api/actions |
503
599
  *MoonlogsRuby::DefaultApi* | [**create_log**](docs/DefaultApi.md#create_log) | **POST** /api/logs |
504
600
  *MoonlogsRuby::DefaultApi* | [**create_log_async**](docs/DefaultApi.md#create_log_async) | **POST** /api/logs/async |
505
601
  *MoonlogsRuby::DefaultApi* | [**create_schema**](docs/DefaultApi.md#create_schema) | **POST** /api/schemas |
@@ -507,10 +603,14 @@ Class | Method | HTTP request | Description
507
603
  *MoonlogsRuby::DefaultApi* | [**create_tag**](docs/DefaultApi.md#create_tag) | **POST** /api/tags |
508
604
  *MoonlogsRuby::DefaultApi* | [**create_token**](docs/DefaultApi.md#create_token) | **POST** /api/api_tokens |
509
605
  *MoonlogsRuby::DefaultApi* | [**create_user**](docs/DefaultApi.md#create_user) | **POST** /api/users |
606
+ *MoonlogsRuby::DefaultApi* | [**delete_action_by_id**](docs/DefaultApi.md#delete_action_by_id) | **DELETE** /api/actions/{id} |
510
607
  *MoonlogsRuby::DefaultApi* | [**delete_schema_by_id**](docs/DefaultApi.md#delete_schema_by_id) | **DELETE** /api/schemas/{id} |
511
608
  *MoonlogsRuby::DefaultApi* | [**delete_tag_by_id**](docs/DefaultApi.md#delete_tag_by_id) | **DELETE** /api/tags/{id} |
512
609
  *MoonlogsRuby::DefaultApi* | [**delete_token_by_id**](docs/DefaultApi.md#delete_token_by_id) | **DELETE** /api/api_tokens/{id} |
513
610
  *MoonlogsRuby::DefaultApi* | [**delete_user_by_id**](docs/DefaultApi.md#delete_user_by_id) | **DELETE** /api/users/{id} |
611
+ *MoonlogsRuby::DefaultApi* | [**expose_record_by_id**](docs/DefaultApi.md#expose_record_by_id) | **PUT** /api/logs/{id}/expose |
612
+ *MoonlogsRuby::DefaultApi* | [**get_action_by_id**](docs/DefaultApi.md#get_action_by_id) | **GET** /api/actions/{id} |
613
+ *MoonlogsRuby::DefaultApi* | [**get_actions**](docs/DefaultApi.md#get_actions) | **GET** /api/actions |
514
614
  *MoonlogsRuby::DefaultApi* | [**get_log**](docs/DefaultApi.md#get_log) | **GET** /api/logs |
515
615
  *MoonlogsRuby::DefaultApi* | [**get_log_by_id**](docs/DefaultApi.md#get_log_by_id) | **GET** /api/logs/{id} |
516
616
  *MoonlogsRuby::DefaultApi* | [**get_log_request_by_id**](docs/DefaultApi.md#get_log_request_by_id) | **GET** /api/logs/{id}/request |
@@ -527,6 +627,7 @@ Class | Method | HTTP request | Description
527
627
  *MoonlogsRuby::DefaultApi* | [**get_users**](docs/DefaultApi.md#get_users) | **GET** /api/users |
528
628
  *MoonlogsRuby::DefaultApi* | [**register_admin**](docs/DefaultApi.md#register_admin) | **POST** /api/setup/register_admin |
529
629
  *MoonlogsRuby::DefaultApi* | [**search_logs**](docs/DefaultApi.md#search_logs) | **POST** /api/logs/search |
630
+ *MoonlogsRuby::DefaultApi* | [**update_action_by_id**](docs/DefaultApi.md#update_action_by_id) | **PUT** /api/actions/{id} |
530
631
  *MoonlogsRuby::DefaultApi* | [**update_schema_by_id**](docs/DefaultApi.md#update_schema_by_id) | **PUT** /api/schemas/{id} |
531
632
  *MoonlogsRuby::DefaultApi* | [**update_tag_by_id**](docs/DefaultApi.md#update_tag_by_id) | **PUT** /api/tags/{id} |
532
633
  *MoonlogsRuby::DefaultApi* | [**update_token_by_id**](docs/DefaultApi.md#update_token_by_id) | **PUT** /api/api_tokens/{id} |
@@ -534,8 +635,11 @@ Class | Method | HTTP request | Description
534
635
 
535
636
  ## Documentation for Models
536
637
 
638
+ - [MoonlogsRuby::ActionRequest](docs/ActionRequest.md)
639
+ - [MoonlogsRuby::ActionResponse](docs/ActionResponse.md)
537
640
  - [MoonlogsRuby::ApiTokenRequest](docs/ApiTokenRequest.md)
538
641
  - [MoonlogsRuby::ApiTokenResponse](docs/ApiTokenResponse.md)
642
+ - [MoonlogsRuby::Condition](docs/Condition.md)
539
643
  - [MoonlogsRuby::Credentials](docs/Credentials.md)
540
644
  - [MoonlogsRuby::InlineResponse200](docs/InlineResponse200.md)
541
645
  - [MoonlogsRuby::InlineResponse2001](docs/InlineResponse2001.md)
@@ -544,6 +648,11 @@ Class | Method | HTTP request | Description
544
648
  - [MoonlogsRuby::InlineResponse20012](docs/InlineResponse20012.md)
545
649
  - [MoonlogsRuby::InlineResponse20013](docs/InlineResponse20013.md)
546
650
  - [MoonlogsRuby::InlineResponse20014](docs/InlineResponse20014.md)
651
+ - [MoonlogsRuby::InlineResponse20015](docs/InlineResponse20015.md)
652
+ - [MoonlogsRuby::InlineResponse20016](docs/InlineResponse20016.md)
653
+ - [MoonlogsRuby::InlineResponse20017](docs/InlineResponse20017.md)
654
+ - [MoonlogsRuby::InlineResponse20018](docs/InlineResponse20018.md)
655
+ - [MoonlogsRuby::InlineResponse20019](docs/InlineResponse20019.md)
547
656
  - [MoonlogsRuby::InlineResponse2002](docs/InlineResponse2002.md)
548
657
  - [MoonlogsRuby::InlineResponse2003](docs/InlineResponse2003.md)
549
658
  - [MoonlogsRuby::InlineResponse2004](docs/InlineResponse2004.md)
@@ -0,0 +1,13 @@
1
+ # MoonlogsRuby::ActionRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **name** | **String** | |
7
+ **pattern** | **String** | |
8
+ **method** | **String** | |
9
+ **conditions** | [**Array<Condition>**](Condition.md) | |
10
+ **schema_name** | **String** | |
11
+ **schema_id** | **Integer** | | [optional]
12
+ **disabled** | **BOOLEAN** | | [optional]
13
+
@@ -0,0 +1,14 @@
1
+ # MoonlogsRuby::ActionResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | |
7
+ **name** | **String** | |
8
+ **pattern** | **String** | |
9
+ **method** | **String** | |
10
+ **conditions** | [**Array<Condition>**](Condition.md) | |
11
+ **schema_name** | **String** | |
12
+ **schema_id** | **Integer** | |
13
+ **disabled** | **BOOLEAN** | |
14
+
data/docs/Condition.md ADDED
@@ -0,0 +1,9 @@
1
+ # MoonlogsRuby::Condition
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **attribute** | **String** | |
7
+ **operation** | **String** | |
8
+ **value** | **String** | |
9
+
data/docs/DefaultApi.md CHANGED
@@ -4,6 +4,8 @@ All URIs are relative to */*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**cover_record_by_id**](DefaultApi.md#cover_record_by_id) | **PUT** /api/logs/{id}/cover |
8
+ [**create_action**](DefaultApi.md#create_action) | **POST** /api/actions |
7
9
  [**create_log**](DefaultApi.md#create_log) | **POST** /api/logs |
8
10
  [**create_log_async**](DefaultApi.md#create_log_async) | **POST** /api/logs/async |
9
11
  [**create_schema**](DefaultApi.md#create_schema) | **POST** /api/schemas |
@@ -11,10 +13,14 @@ Method | HTTP request | Description
11
13
  [**create_tag**](DefaultApi.md#create_tag) | **POST** /api/tags |
12
14
  [**create_token**](DefaultApi.md#create_token) | **POST** /api/api_tokens |
13
15
  [**create_user**](DefaultApi.md#create_user) | **POST** /api/users |
16
+ [**delete_action_by_id**](DefaultApi.md#delete_action_by_id) | **DELETE** /api/actions/{id} |
14
17
  [**delete_schema_by_id**](DefaultApi.md#delete_schema_by_id) | **DELETE** /api/schemas/{id} |
15
18
  [**delete_tag_by_id**](DefaultApi.md#delete_tag_by_id) | **DELETE** /api/tags/{id} |
16
19
  [**delete_token_by_id**](DefaultApi.md#delete_token_by_id) | **DELETE** /api/api_tokens/{id} |
17
20
  [**delete_user_by_id**](DefaultApi.md#delete_user_by_id) | **DELETE** /api/users/{id} |
21
+ [**expose_record_by_id**](DefaultApi.md#expose_record_by_id) | **PUT** /api/logs/{id}/expose |
22
+ [**get_action_by_id**](DefaultApi.md#get_action_by_id) | **GET** /api/actions/{id} |
23
+ [**get_actions**](DefaultApi.md#get_actions) | **GET** /api/actions |
18
24
  [**get_log**](DefaultApi.md#get_log) | **GET** /api/logs |
19
25
  [**get_log_by_id**](DefaultApi.md#get_log_by_id) | **GET** /api/logs/{id} |
20
26
  [**get_log_request_by_id**](DefaultApi.md#get_log_request_by_id) | **GET** /api/logs/{id}/request |
@@ -31,11 +37,105 @@ Method | HTTP request | Description
31
37
  [**get_users**](DefaultApi.md#get_users) | **GET** /api/users |
32
38
  [**register_admin**](DefaultApi.md#register_admin) | **POST** /api/setup/register_admin |
33
39
  [**search_logs**](DefaultApi.md#search_logs) | **POST** /api/logs/search |
40
+ [**update_action_by_id**](DefaultApi.md#update_action_by_id) | **PUT** /api/actions/{id} |
34
41
  [**update_schema_by_id**](DefaultApi.md#update_schema_by_id) | **PUT** /api/schemas/{id} |
35
42
  [**update_tag_by_id**](DefaultApi.md#update_tag_by_id) | **PUT** /api/tags/{id} |
36
43
  [**update_token_by_id**](DefaultApi.md#update_token_by_id) | **PUT** /api/api_tokens/{id} |
37
44
  [**update_user_by_id**](DefaultApi.md#update_user_by_id) | **PUT** /api/users/{id} |
38
45
 
46
+ # **cover_record_by_id**
47
+ > InlineResponse20016 cover_record_by_id(id)
48
+
49
+
50
+
51
+ ### Example
52
+ ```ruby
53
+ # load the gem
54
+ require 'moonlogs-ruby'
55
+ # setup authorization
56
+ MoonlogsRuby.configure do |config|
57
+ end
58
+
59
+ api_instance = MoonlogsRuby::DefaultApi.new
60
+ id = 56 # Integer |
61
+
62
+
63
+ begin
64
+ result = api_instance.cover_record_by_id(id)
65
+ p result
66
+ rescue MoonlogsRuby::ApiError => e
67
+ puts "Exception when calling DefaultApi->cover_record_by_id: #{e}"
68
+ end
69
+ ```
70
+
71
+ ### Parameters
72
+
73
+ Name | Type | Description | Notes
74
+ ------------- | ------------- | ------------- | -------------
75
+ **id** | **Integer**| |
76
+
77
+ ### Return type
78
+
79
+ [**InlineResponse20016**](InlineResponse20016.md)
80
+
81
+ ### Authorization
82
+
83
+ [http1](../README.md#http1)
84
+
85
+ ### HTTP request headers
86
+
87
+ - **Content-Type**: Not defined
88
+ - **Accept**: application/json
89
+
90
+
91
+
92
+ # **create_action**
93
+ > InlineResponse20018 create_action(opts)
94
+
95
+
96
+
97
+ ### Example
98
+ ```ruby
99
+ # load the gem
100
+ require 'moonlogs-ruby'
101
+ # setup authorization
102
+ MoonlogsRuby.configure do |config|
103
+ end
104
+
105
+ api_instance = MoonlogsRuby::DefaultApi.new
106
+ opts = {
107
+ body: MoonlogsRuby::ActionRequest.new # ActionRequest |
108
+ }
109
+
110
+ begin
111
+ result = api_instance.create_action(opts)
112
+ p result
113
+ rescue MoonlogsRuby::ApiError => e
114
+ puts "Exception when calling DefaultApi->create_action: #{e}"
115
+ end
116
+ ```
117
+
118
+ ### Parameters
119
+
120
+ Name | Type | Description | Notes
121
+ ------------- | ------------- | ------------- | -------------
122
+ **body** | [**ActionRequest**](ActionRequest.md)| | [optional]
123
+
124
+ ### Return type
125
+
126
+ [**InlineResponse20018**](InlineResponse20018.md)
127
+
128
+ ### Authorization
129
+
130
+ [http1](../README.md#http1)
131
+
132
+ ### HTTP request headers
133
+
134
+ - **Content-Type**: application/json
135
+ - **Accept**: application/json
136
+
137
+
138
+
39
139
  # **create_log**
40
140
  > InlineResponse2004 create_log(opts)
41
141
 
@@ -362,6 +462,47 @@ Name | Type | Description | Notes
362
462
 
363
463
 
364
464
 
465
+ # **delete_action_by_id**
466
+ > InlineResponse20019 delete_action_by_id
467
+
468
+
469
+
470
+ ### Example
471
+ ```ruby
472
+ # load the gem
473
+ require 'moonlogs-ruby'
474
+ # setup authorization
475
+ MoonlogsRuby.configure do |config|
476
+ end
477
+
478
+ api_instance = MoonlogsRuby::DefaultApi.new
479
+
480
+ begin
481
+ result = api_instance.delete_action_by_id
482
+ p result
483
+ rescue MoonlogsRuby::ApiError => e
484
+ puts "Exception when calling DefaultApi->delete_action_by_id: #{e}"
485
+ end
486
+ ```
487
+
488
+ ### Parameters
489
+ This endpoint does not need any parameter.
490
+
491
+ ### Return type
492
+
493
+ [**InlineResponse20019**](InlineResponse20019.md)
494
+
495
+ ### Authorization
496
+
497
+ [http1](../README.md#http1)
498
+
499
+ ### HTTP request headers
500
+
501
+ - **Content-Type**: Not defined
502
+ - **Accept**: application/json
503
+
504
+
505
+
365
506
  # **delete_schema_by_id**
366
507
  > InlineResponse2002 delete_schema_by_id(id)
367
508
 
@@ -546,6 +687,134 @@ Name | Type | Description | Notes
546
687
 
547
688
 
548
689
 
690
+ # **expose_record_by_id**
691
+ > InlineResponse20015 expose_record_by_id(id)
692
+
693
+
694
+
695
+ ### Example
696
+ ```ruby
697
+ # load the gem
698
+ require 'moonlogs-ruby'
699
+ # setup authorization
700
+ MoonlogsRuby.configure do |config|
701
+ end
702
+
703
+ api_instance = MoonlogsRuby::DefaultApi.new
704
+ id = 56 # Integer |
705
+
706
+
707
+ begin
708
+ result = api_instance.expose_record_by_id(id)
709
+ p result
710
+ rescue MoonlogsRuby::ApiError => e
711
+ puts "Exception when calling DefaultApi->expose_record_by_id: #{e}"
712
+ end
713
+ ```
714
+
715
+ ### Parameters
716
+
717
+ Name | Type | Description | Notes
718
+ ------------- | ------------- | ------------- | -------------
719
+ **id** | **Integer**| |
720
+
721
+ ### Return type
722
+
723
+ [**InlineResponse20015**](InlineResponse20015.md)
724
+
725
+ ### Authorization
726
+
727
+ [http1](../README.md#http1)
728
+
729
+ ### HTTP request headers
730
+
731
+ - **Content-Type**: Not defined
732
+ - **Accept**: application/json
733
+
734
+
735
+
736
+ # **get_action_by_id**
737
+ > InlineResponse20018 get_action_by_id
738
+
739
+
740
+
741
+ ### Example
742
+ ```ruby
743
+ # load the gem
744
+ require 'moonlogs-ruby'
745
+ # setup authorization
746
+ MoonlogsRuby.configure do |config|
747
+ end
748
+
749
+ api_instance = MoonlogsRuby::DefaultApi.new
750
+
751
+ begin
752
+ result = api_instance.get_action_by_id
753
+ p result
754
+ rescue MoonlogsRuby::ApiError => e
755
+ puts "Exception when calling DefaultApi->get_action_by_id: #{e}"
756
+ end
757
+ ```
758
+
759
+ ### Parameters
760
+ This endpoint does not need any parameter.
761
+
762
+ ### Return type
763
+
764
+ [**InlineResponse20018**](InlineResponse20018.md)
765
+
766
+ ### Authorization
767
+
768
+ [http1](../README.md#http1)
769
+
770
+ ### HTTP request headers
771
+
772
+ - **Content-Type**: Not defined
773
+ - **Accept**: application/json
774
+
775
+
776
+
777
+ # **get_actions**
778
+ > InlineResponse20017 get_actions
779
+
780
+
781
+
782
+ ### Example
783
+ ```ruby
784
+ # load the gem
785
+ require 'moonlogs-ruby'
786
+ # setup authorization
787
+ MoonlogsRuby.configure do |config|
788
+ end
789
+
790
+ api_instance = MoonlogsRuby::DefaultApi.new
791
+
792
+ begin
793
+ result = api_instance.get_actions
794
+ p result
795
+ rescue MoonlogsRuby::ApiError => e
796
+ puts "Exception when calling DefaultApi->get_actions: #{e}"
797
+ end
798
+ ```
799
+
800
+ ### Parameters
801
+ This endpoint does not need any parameter.
802
+
803
+ ### Return type
804
+
805
+ [**InlineResponse20017**](InlineResponse20017.md)
806
+
807
+ ### Authorization
808
+
809
+ [http1](../README.md#http1)
810
+
811
+ ### HTTP request headers
812
+
813
+ - **Content-Type**: Not defined
814
+ - **Accept**: application/json
815
+
816
+
817
+
549
818
  # **get_log**
550
819
  > InlineResponse2003 get_log(opts)
551
820
 
@@ -1266,6 +1535,53 @@ Name | Type | Description | Notes
1266
1535
 
1267
1536
 
1268
1537
 
1538
+ # **update_action_by_id**
1539
+ > InlineResponse20018 update_action_by_id(opts)
1540
+
1541
+
1542
+
1543
+ ### Example
1544
+ ```ruby
1545
+ # load the gem
1546
+ require 'moonlogs-ruby'
1547
+ # setup authorization
1548
+ MoonlogsRuby.configure do |config|
1549
+ end
1550
+
1551
+ api_instance = MoonlogsRuby::DefaultApi.new
1552
+ opts = {
1553
+ body: MoonlogsRuby::ActionRequest.new # ActionRequest |
1554
+ }
1555
+
1556
+ begin
1557
+ result = api_instance.update_action_by_id(opts)
1558
+ p result
1559
+ rescue MoonlogsRuby::ApiError => e
1560
+ puts "Exception when calling DefaultApi->update_action_by_id: #{e}"
1561
+ end
1562
+ ```
1563
+
1564
+ ### Parameters
1565
+
1566
+ Name | Type | Description | Notes
1567
+ ------------- | ------------- | ------------- | -------------
1568
+ **body** | [**ActionRequest**](ActionRequest.md)| | [optional]
1569
+
1570
+ ### Return type
1571
+
1572
+ [**InlineResponse20018**](InlineResponse20018.md)
1573
+
1574
+ ### Authorization
1575
+
1576
+ [http1](../README.md#http1)
1577
+
1578
+ ### HTTP request headers
1579
+
1580
+ - **Content-Type**: application/json
1581
+ - **Accept**: application/json
1582
+
1583
+
1584
+
1269
1585
  # **update_schema_by_id**
1270
1586
  > InlineResponse2001 update_schema_by_id(id, opts)
1271
1587
 
@@ -0,0 +1,11 @@
1
+ # MoonlogsRuby::InlineResponse20015
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **success** | **String** | |
7
+ **code** | **Integer** | |
8
+ **error** | **String** | |
9
+ **data** | [**RecordResponse**](RecordResponse.md) | |
10
+ **meta** | [**Meta**](Meta.md) | |
11
+
@@ -0,0 +1,11 @@
1
+ # MoonlogsRuby::InlineResponse20016
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **success** | **String** | |
7
+ **code** | **Integer** | |
8
+ **error** | **String** | |
9
+ **data** | [**RecordResponse**](RecordResponse.md) | |
10
+ **meta** | [**RecordResponse**](RecordResponse.md) | |
11
+
@@ -0,0 +1,11 @@
1
+ # MoonlogsRuby::InlineResponse20017
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **success** | **BOOLEAN** | |
7
+ **code** | **Integer** | |
8
+ **error** | **String** | |
9
+ **data** | [**Array<ActionResponse>**](ActionResponse.md) | |
10
+ **meta** | [**Meta**](Meta.md) | |
11
+
@@ -0,0 +1,11 @@
1
+ # MoonlogsRuby::InlineResponse20018
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **success** | **BOOLEAN** | |
7
+ **code** | **Integer** | |
8
+ **error** | **String** | |
9
+ **data** | [**ActionResponse**](ActionResponse.md) | |
10
+ **meta** | [**Meta**](Meta.md) | |
11
+
@@ -0,0 +1,11 @@
1
+ # MoonlogsRuby::InlineResponse20019
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **success** | **BOOLEAN** | |
7
+ **code** | **Integer** | |
8
+ **error** | **String** | |
9
+ **data** | **Integer** | Deleted Actions's ID |
10
+ **meta** | [**Meta**](Meta.md) | |
11
+
@@ -12,4 +12,5 @@ Name | Type | Description | Notes
12
12
  **response** | **Object** | | [optional]
13
13
  **kind** | **String** | | [optional]
14
14
  **level** | [**OneOfRecordRequestLevel**](OneOfRecordRequestLevel.md) | | [optional]
15
+ **is_exposed** | **BOOLEAN** | | [optional]
15
16
 
@@ -14,4 +14,5 @@ Name | Type | Description | Notes
14
14
  **created_at** | **String** | ISO8601 date-time |
15
15
  **group_hash** | **String** | |
16
16
  **level** | [**OneOfRecordResponseLevel**](OneOfRecordResponseLevel.md) | |
17
+ **is_exposed** | **BOOLEAN** | |
17
18