swagger_aem 3.8.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +107 -34
- data/README.md +8 -12
- data/bin/byebug +16 -0
- data/bin/coderay +16 -0
- data/bin/htmldiff +16 -0
- data/bin/ldiff +16 -0
- data/bin/pry +16 -0
- data/bin/racc +16 -0
- data/bin/rake +16 -0
- data/bin/rspec +16 -0
- data/bin/rubocop +16 -0
- data/bin/ruby-parse +16 -0
- data/bin/ruby-rewrite +16 -0
- data/docs/BundleData.md +24 -23
- data/docs/BundleDataProp.md +10 -9
- data/docs/BundleInfo.md +12 -11
- data/docs/ConsoleApi.md +188 -79
- data/docs/CqApi.md +52 -16
- data/docs/CrxApi.md +192 -64
- data/docs/CustomApi.md +85 -32
- data/docs/GraniteApi.md +37 -20
- data/docs/InstallStatus.md +8 -7
- data/docs/InstallStatusStatus.md +10 -9
- data/docs/KeystoreChainItems.md +16 -15
- data/docs/KeystoreInfo.md +10 -9
- data/docs/KeystoreItems.md +16 -15
- data/docs/SamlConfigurationInfo.md +18 -17
- data/docs/SamlConfigurationProperties.md +54 -53
- data/docs/SamlConfigurationPropertyItemsArray.md +18 -17
- data/docs/SamlConfigurationPropertyItemsBoolean.md +18 -17
- data/docs/SamlConfigurationPropertyItemsLong.md +18 -17
- data/docs/SamlConfigurationPropertyItemsString.md +18 -17
- data/docs/SlingApi.md +1021 -496
- data/docs/TruststoreInfo.md +10 -9
- data/docs/TruststoreItems.md +20 -19
- data/git_push.sh +3 -4
- data/lib/swagger_aem/api/console_api.rb +33 -27
- data/lib/swagger_aem/api/cq_api.rb +11 -9
- data/lib/swagger_aem/api/crx_api.rb +42 -32
- data/lib/swagger_aem/api/custom_api.rb +15 -12
- data/lib/swagger_aem/api/granite_api.rb +11 -7
- data/lib/swagger_aem/api/sling_api.rb +342 -298
- data/lib/swagger_aem/api_client.rb +73 -64
- data/lib/swagger_aem/api_error.rb +3 -2
- data/lib/swagger_aem/api_model_base.rb +88 -0
- data/lib/swagger_aem/configuration.rb +75 -15
- data/lib/swagger_aem/models/bundle_data.rb +32 -91
- data/lib/swagger_aem/models/bundle_data_prop.rb +32 -91
- data/lib/swagger_aem/models/bundle_info.rb +32 -91
- data/lib/swagger_aem/models/install_status.rb +32 -91
- data/lib/swagger_aem/models/install_status_status.rb +32 -91
- data/lib/swagger_aem/models/keystore_chain_items.rb +32 -91
- data/lib/swagger_aem/models/keystore_info.rb +32 -91
- data/lib/swagger_aem/models/keystore_items.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_info.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_properties.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +32 -91
- data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +32 -91
- data/lib/swagger_aem/models/truststore_info.rb +32 -91
- data/lib/swagger_aem/models/truststore_items.rb +32 -91
- data/lib/swagger_aem/version.rb +3 -3
- data/lib/swagger_aem.rb +3 -8
- data/spec/api/console_api_spec.rb +8 -8
- data/spec/api/cq_api_spec.rb +4 -4
- data/spec/api/crx_api_spec.rb +9 -9
- data/spec/api/custom_api_spec.rb +5 -5
- data/spec/api/granite_api_spec.rb +3 -3
- data/spec/api/sling_api_spec.rb +89 -87
- data/spec/models/bundle_data_prop_spec.rb +8 -6
- data/spec/models/bundle_data_spec.rb +15 -13
- data/spec/models/bundle_info_spec.rb +9 -7
- data/spec/models/install_status_spec.rb +7 -5
- data/spec/models/install_status_status_spec.rb +8 -6
- data/spec/models/keystore_chain_items_spec.rb +11 -9
- data/spec/models/keystore_info_spec.rb +8 -6
- data/spec/models/keystore_items_spec.rb +11 -9
- data/spec/models/saml_configuration_info_spec.rb +12 -10
- data/spec/models/saml_configuration_properties_spec.rb +30 -28
- data/spec/models/saml_configuration_property_items_array_spec.rb +12 -10
- data/spec/models/saml_configuration_property_items_boolean_spec.rb +12 -10
- data/spec/models/saml_configuration_property_items_long_spec.rb +12 -10
- data/spec/models/saml_configuration_property_items_string_spec.rb +12 -10
- data/spec/models/truststore_info_spec.rb +8 -6
- data/spec/models/truststore_items_spec.rb +13 -11
- data/spec/spec_helper.rb +2 -2
- data/swagger_aem.gemspec +4 -4
- metadata +15 -54
- data/docs/InlineObject.md +0 -17
- data/docs/InlineObject1.md +0 -17
- data/docs/InlineObject2.md +0 -17
- data/docs/InlineObject3.md +0 -17
- data/docs/InlineObject4.md +0 -21
- data/docs/InlineObject5.md +0 -19
- data/lib/swagger_aem/models/inline_object.rb +0 -206
- data/lib/swagger_aem/models/inline_object1.rb +0 -206
- data/lib/swagger_aem/models/inline_object2.rb +0 -206
- data/lib/swagger_aem/models/inline_object3.rb +0 -206
- data/lib/swagger_aem/models/inline_object4.rb +0 -224
- data/lib/swagger_aem/models/inline_object5.rb +0 -215
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/inline_object1_spec.rb +0 -41
- data/spec/models/inline_object2_spec.rb +0 -41
- data/spec/models/inline_object3_spec.rb +0 -41
- data/spec/models/inline_object4_spec.rb +0 -53
- data/spec/models/inline_object5_spec.rb +0 -47
- data/spec/models/inline_object_spec.rb +0 -41
data/docs/CrxApi.md
CHANGED
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://localhost*
|
|
4
4
|
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
|
|
7
|
-
[**get_crxde_status**](CrxApi.md#get_crxde_status) | **GET** /crx/server/crx.default/jcr:root/.1.json |
|
|
8
|
-
[**get_install_status**](CrxApi.md#get_install_status) | **GET** /crx/packmgr/installstatus.jsp |
|
|
9
|
-
[**get_package_manager_servlet**](CrxApi.md#get_package_manager_servlet) | **GET** /crx/packmgr/service/script.html |
|
|
10
|
-
[**post_package_service**](CrxApi.md#post_package_service) | **POST** /crx/packmgr/service.jsp |
|
|
11
|
-
[**post_package_service_json**](CrxApi.md#post_package_service_json) | **POST** /crx/packmgr/service/.json/{path} |
|
|
12
|
-
[**post_package_update**](CrxApi.md#post_package_update) | **POST** /crx/packmgr/update.jsp |
|
|
13
|
-
[**post_set_password**](CrxApi.md#post_set_password) | **POST** /crx/explorer/ui/setpassword.jsp |
|
|
14
|
-
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**get_crxde_status**](CrxApi.md#get_crxde_status) | **GET** /crx/server/crx.default/jcr:root/.1.json | |
|
|
8
|
+
| [**get_install_status**](CrxApi.md#get_install_status) | **GET** /crx/packmgr/installstatus.jsp | |
|
|
9
|
+
| [**get_package_manager_servlet**](CrxApi.md#get_package_manager_servlet) | **GET** /crx/packmgr/service/script.html | |
|
|
10
|
+
| [**post_package_service**](CrxApi.md#post_package_service) | **POST** /crx/packmgr/service.jsp | |
|
|
11
|
+
| [**post_package_service_json**](CrxApi.md#post_package_service_json) | **POST** /crx/packmgr/service/.json/{path} | |
|
|
12
|
+
| [**post_package_update**](CrxApi.md#post_package_update) | **POST** /crx/packmgr/update.jsp | |
|
|
13
|
+
| [**post_set_password**](CrxApi.md#post_set_password) | **POST** /crx/explorer/ui/setpassword.jsp | |
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
## get_crxde_status
|
|
@@ -20,10 +19,10 @@ Method | HTTP request | Description
|
|
|
20
19
|
|
|
21
20
|
|
|
22
21
|
|
|
23
|
-
###
|
|
22
|
+
### Examples
|
|
24
23
|
|
|
25
24
|
```ruby
|
|
26
|
-
|
|
25
|
+
require 'time'
|
|
27
26
|
require 'swagger_aem'
|
|
28
27
|
# setup authorization
|
|
29
28
|
SwaggerAemClient.configure do |config|
|
|
@@ -35,10 +34,29 @@ end
|
|
|
35
34
|
api_instance = SwaggerAemClient::CrxApi.new
|
|
36
35
|
|
|
37
36
|
begin
|
|
37
|
+
|
|
38
38
|
result = api_instance.get_crxde_status
|
|
39
39
|
p result
|
|
40
40
|
rescue SwaggerAemClient::ApiError => e
|
|
41
|
-
puts "
|
|
41
|
+
puts "Error when calling CrxApi->get_crxde_status: #{e}"
|
|
42
|
+
end
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
#### Using the get_crxde_status_with_http_info variant
|
|
46
|
+
|
|
47
|
+
This returns an Array which contains the response data, status code and headers.
|
|
48
|
+
|
|
49
|
+
> <Array(String, Integer, Hash)> get_crxde_status_with_http_info
|
|
50
|
+
|
|
51
|
+
```ruby
|
|
52
|
+
begin
|
|
53
|
+
|
|
54
|
+
data, status_code, headers = api_instance.get_crxde_status_with_http_info
|
|
55
|
+
p status_code # => 2xx
|
|
56
|
+
p headers # => { ... }
|
|
57
|
+
p data # => String
|
|
58
|
+
rescue SwaggerAemClient::ApiError => e
|
|
59
|
+
puts "Error when calling CrxApi->get_crxde_status_with_http_info: #{e}"
|
|
42
60
|
end
|
|
43
61
|
```
|
|
44
62
|
|
|
@@ -62,14 +80,14 @@ This endpoint does not need any parameter.
|
|
|
62
80
|
|
|
63
81
|
## get_install_status
|
|
64
82
|
|
|
65
|
-
> InstallStatus get_install_status
|
|
83
|
+
> <InstallStatus> get_install_status
|
|
66
84
|
|
|
67
85
|
|
|
68
86
|
|
|
69
|
-
###
|
|
87
|
+
### Examples
|
|
70
88
|
|
|
71
89
|
```ruby
|
|
72
|
-
|
|
90
|
+
require 'time'
|
|
73
91
|
require 'swagger_aem'
|
|
74
92
|
# setup authorization
|
|
75
93
|
SwaggerAemClient.configure do |config|
|
|
@@ -81,10 +99,29 @@ end
|
|
|
81
99
|
api_instance = SwaggerAemClient::CrxApi.new
|
|
82
100
|
|
|
83
101
|
begin
|
|
102
|
+
|
|
84
103
|
result = api_instance.get_install_status
|
|
85
104
|
p result
|
|
86
105
|
rescue SwaggerAemClient::ApiError => e
|
|
87
|
-
puts "
|
|
106
|
+
puts "Error when calling CrxApi->get_install_status: #{e}"
|
|
107
|
+
end
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
#### Using the get_install_status_with_http_info variant
|
|
111
|
+
|
|
112
|
+
This returns an Array which contains the response data, status code and headers.
|
|
113
|
+
|
|
114
|
+
> <Array(<InstallStatus>, Integer, Hash)> get_install_status_with_http_info
|
|
115
|
+
|
|
116
|
+
```ruby
|
|
117
|
+
begin
|
|
118
|
+
|
|
119
|
+
data, status_code, headers = api_instance.get_install_status_with_http_info
|
|
120
|
+
p status_code # => 2xx
|
|
121
|
+
p headers # => { ... }
|
|
122
|
+
p data # => <InstallStatus>
|
|
123
|
+
rescue SwaggerAemClient::ApiError => e
|
|
124
|
+
puts "Error when calling CrxApi->get_install_status_with_http_info: #{e}"
|
|
88
125
|
end
|
|
89
126
|
```
|
|
90
127
|
|
|
@@ -112,10 +149,10 @@ This endpoint does not need any parameter.
|
|
|
112
149
|
|
|
113
150
|
|
|
114
151
|
|
|
115
|
-
###
|
|
152
|
+
### Examples
|
|
116
153
|
|
|
117
154
|
```ruby
|
|
118
|
-
|
|
155
|
+
require 'time'
|
|
119
156
|
require 'swagger_aem'
|
|
120
157
|
# setup authorization
|
|
121
158
|
SwaggerAemClient.configure do |config|
|
|
@@ -127,9 +164,28 @@ end
|
|
|
127
164
|
api_instance = SwaggerAemClient::CrxApi.new
|
|
128
165
|
|
|
129
166
|
begin
|
|
167
|
+
|
|
130
168
|
api_instance.get_package_manager_servlet
|
|
131
169
|
rescue SwaggerAemClient::ApiError => e
|
|
132
|
-
puts "
|
|
170
|
+
puts "Error when calling CrxApi->get_package_manager_servlet: #{e}"
|
|
171
|
+
end
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
#### Using the get_package_manager_servlet_with_http_info variant
|
|
175
|
+
|
|
176
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
177
|
+
|
|
178
|
+
> <Array(nil, Integer, Hash)> get_package_manager_servlet_with_http_info
|
|
179
|
+
|
|
180
|
+
```ruby
|
|
181
|
+
begin
|
|
182
|
+
|
|
183
|
+
data, status_code, headers = api_instance.get_package_manager_servlet_with_http_info
|
|
184
|
+
p status_code # => 2xx
|
|
185
|
+
p headers # => { ... }
|
|
186
|
+
p data # => nil
|
|
187
|
+
rescue SwaggerAemClient::ApiError => e
|
|
188
|
+
puts "Error when calling CrxApi->get_package_manager_servlet_with_http_info: #{e}"
|
|
133
189
|
end
|
|
134
190
|
```
|
|
135
191
|
|
|
@@ -157,10 +213,10 @@ nil (empty response body)
|
|
|
157
213
|
|
|
158
214
|
|
|
159
215
|
|
|
160
|
-
###
|
|
216
|
+
### Examples
|
|
161
217
|
|
|
162
218
|
```ruby
|
|
163
|
-
|
|
219
|
+
require 'time'
|
|
164
220
|
require 'swagger_aem'
|
|
165
221
|
# setup authorization
|
|
166
222
|
SwaggerAemClient.configure do |config|
|
|
@@ -173,19 +229,37 @@ api_instance = SwaggerAemClient::CrxApi.new
|
|
|
173
229
|
cmd = 'cmd_example' # String |
|
|
174
230
|
|
|
175
231
|
begin
|
|
232
|
+
|
|
176
233
|
result = api_instance.post_package_service(cmd)
|
|
177
234
|
p result
|
|
178
235
|
rescue SwaggerAemClient::ApiError => e
|
|
179
|
-
puts "
|
|
236
|
+
puts "Error when calling CrxApi->post_package_service: #{e}"
|
|
180
237
|
end
|
|
181
238
|
```
|
|
182
239
|
|
|
183
|
-
|
|
240
|
+
#### Using the post_package_service_with_http_info variant
|
|
241
|
+
|
|
242
|
+
This returns an Array which contains the response data, status code and headers.
|
|
243
|
+
|
|
244
|
+
> <Array(String, Integer, Hash)> post_package_service_with_http_info(cmd)
|
|
245
|
+
|
|
246
|
+
```ruby
|
|
247
|
+
begin
|
|
248
|
+
|
|
249
|
+
data, status_code, headers = api_instance.post_package_service_with_http_info(cmd)
|
|
250
|
+
p status_code # => 2xx
|
|
251
|
+
p headers # => { ... }
|
|
252
|
+
p data # => String
|
|
253
|
+
rescue SwaggerAemClient::ApiError => e
|
|
254
|
+
puts "Error when calling CrxApi->post_package_service_with_http_info: #{e}"
|
|
255
|
+
end
|
|
256
|
+
```
|
|
184
257
|
|
|
258
|
+
### Parameters
|
|
185
259
|
|
|
186
|
-
Name | Type | Description
|
|
187
|
-
|
|
188
|
-
**cmd** | **String
|
|
260
|
+
| Name | Type | Description | Notes |
|
|
261
|
+
| ---- | ---- | ----------- | ----- |
|
|
262
|
+
| **cmd** | **String** | | |
|
|
189
263
|
|
|
190
264
|
### Return type
|
|
191
265
|
|
|
@@ -207,10 +281,10 @@ Name | Type | Description | Notes
|
|
|
207
281
|
|
|
208
282
|
|
|
209
283
|
|
|
210
|
-
###
|
|
284
|
+
### Examples
|
|
211
285
|
|
|
212
286
|
```ruby
|
|
213
|
-
|
|
287
|
+
require 'time'
|
|
214
288
|
require 'swagger_aem'
|
|
215
289
|
# setup authorization
|
|
216
290
|
SwaggerAemClient.configure do |config|
|
|
@@ -229,31 +303,49 @@ opts = {
|
|
|
229
303
|
_charset_: '_charset__example', # String |
|
|
230
304
|
force: true, # Boolean |
|
|
231
305
|
recursive: true, # Boolean |
|
|
232
|
-
package: File.new('/path/to/file') # File |
|
|
306
|
+
package: File.new('/path/to/some/file') # File |
|
|
233
307
|
}
|
|
234
308
|
|
|
235
309
|
begin
|
|
310
|
+
|
|
236
311
|
result = api_instance.post_package_service_json(path, cmd, opts)
|
|
237
312
|
p result
|
|
238
313
|
rescue SwaggerAemClient::ApiError => e
|
|
239
|
-
puts "
|
|
314
|
+
puts "Error when calling CrxApi->post_package_service_json: #{e}"
|
|
240
315
|
end
|
|
241
316
|
```
|
|
242
317
|
|
|
243
|
-
|
|
318
|
+
#### Using the post_package_service_json_with_http_info variant
|
|
244
319
|
|
|
320
|
+
This returns an Array which contains the response data, status code and headers.
|
|
245
321
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
322
|
+
> <Array(String, Integer, Hash)> post_package_service_json_with_http_info(path, cmd, opts)
|
|
323
|
+
|
|
324
|
+
```ruby
|
|
325
|
+
begin
|
|
326
|
+
|
|
327
|
+
data, status_code, headers = api_instance.post_package_service_json_with_http_info(path, cmd, opts)
|
|
328
|
+
p status_code # => 2xx
|
|
329
|
+
p headers # => { ... }
|
|
330
|
+
p data # => String
|
|
331
|
+
rescue SwaggerAemClient::ApiError => e
|
|
332
|
+
puts "Error when calling CrxApi->post_package_service_json_with_http_info: #{e}"
|
|
333
|
+
end
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
### Parameters
|
|
337
|
+
|
|
338
|
+
| Name | Type | Description | Notes |
|
|
339
|
+
| ---- | ---- | ----------- | ----- |
|
|
340
|
+
| **path** | **String** | | |
|
|
341
|
+
| **cmd** | **String** | | |
|
|
342
|
+
| **group_name** | **String** | | [optional] |
|
|
343
|
+
| **package_name** | **String** | | [optional] |
|
|
344
|
+
| **package_version** | **String** | | [optional] |
|
|
345
|
+
| **_charset_** | **String** | | [optional] |
|
|
346
|
+
| **force** | **Boolean** | | [optional] |
|
|
347
|
+
| **recursive** | **Boolean** | | [optional] |
|
|
348
|
+
| **package** | **File** | | [optional] |
|
|
257
349
|
|
|
258
350
|
### Return type
|
|
259
351
|
|
|
@@ -275,10 +367,10 @@ Name | Type | Description | Notes
|
|
|
275
367
|
|
|
276
368
|
|
|
277
369
|
|
|
278
|
-
###
|
|
370
|
+
### Examples
|
|
279
371
|
|
|
280
372
|
```ruby
|
|
281
|
-
|
|
373
|
+
require 'time'
|
|
282
374
|
require 'swagger_aem'
|
|
283
375
|
# setup authorization
|
|
284
376
|
SwaggerAemClient.configure do |config|
|
|
@@ -298,24 +390,42 @@ opts = {
|
|
|
298
390
|
}
|
|
299
391
|
|
|
300
392
|
begin
|
|
393
|
+
|
|
301
394
|
result = api_instance.post_package_update(group_name, package_name, version, path, opts)
|
|
302
395
|
p result
|
|
303
396
|
rescue SwaggerAemClient::ApiError => e
|
|
304
|
-
puts "
|
|
397
|
+
puts "Error when calling CrxApi->post_package_update: #{e}"
|
|
305
398
|
end
|
|
306
399
|
```
|
|
307
400
|
|
|
308
|
-
|
|
401
|
+
#### Using the post_package_update_with_http_info variant
|
|
402
|
+
|
|
403
|
+
This returns an Array which contains the response data, status code and headers.
|
|
404
|
+
|
|
405
|
+
> <Array(String, Integer, Hash)> post_package_update_with_http_info(group_name, package_name, version, path, opts)
|
|
309
406
|
|
|
407
|
+
```ruby
|
|
408
|
+
begin
|
|
409
|
+
|
|
410
|
+
data, status_code, headers = api_instance.post_package_update_with_http_info(group_name, package_name, version, path, opts)
|
|
411
|
+
p status_code # => 2xx
|
|
412
|
+
p headers # => { ... }
|
|
413
|
+
p data # => String
|
|
414
|
+
rescue SwaggerAemClient::ApiError => e
|
|
415
|
+
puts "Error when calling CrxApi->post_package_update_with_http_info: #{e}"
|
|
416
|
+
end
|
|
417
|
+
```
|
|
310
418
|
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
**
|
|
316
|
-
**
|
|
317
|
-
**
|
|
318
|
-
**
|
|
419
|
+
### Parameters
|
|
420
|
+
|
|
421
|
+
| Name | Type | Description | Notes |
|
|
422
|
+
| ---- | ---- | ----------- | ----- |
|
|
423
|
+
| **group_name** | **String** | | |
|
|
424
|
+
| **package_name** | **String** | | |
|
|
425
|
+
| **version** | **String** | | |
|
|
426
|
+
| **path** | **String** | | |
|
|
427
|
+
| **filter** | **String** | | [optional] |
|
|
428
|
+
| **_charset_** | **String** | | [optional] |
|
|
319
429
|
|
|
320
430
|
### Return type
|
|
321
431
|
|
|
@@ -337,10 +447,10 @@ Name | Type | Description | Notes
|
|
|
337
447
|
|
|
338
448
|
|
|
339
449
|
|
|
340
|
-
###
|
|
450
|
+
### Examples
|
|
341
451
|
|
|
342
452
|
```ruby
|
|
343
|
-
|
|
453
|
+
require 'time'
|
|
344
454
|
require 'swagger_aem'
|
|
345
455
|
# setup authorization
|
|
346
456
|
SwaggerAemClient.configure do |config|
|
|
@@ -355,21 +465,39 @@ plain = 'plain_example' # String |
|
|
|
355
465
|
verify = 'verify_example' # String |
|
|
356
466
|
|
|
357
467
|
begin
|
|
468
|
+
|
|
358
469
|
result = api_instance.post_set_password(old, plain, verify)
|
|
359
470
|
p result
|
|
360
471
|
rescue SwaggerAemClient::ApiError => e
|
|
361
|
-
puts "
|
|
472
|
+
puts "Error when calling CrxApi->post_set_password: #{e}"
|
|
362
473
|
end
|
|
363
474
|
```
|
|
364
475
|
|
|
365
|
-
|
|
476
|
+
#### Using the post_set_password_with_http_info variant
|
|
477
|
+
|
|
478
|
+
This returns an Array which contains the response data, status code and headers.
|
|
366
479
|
|
|
480
|
+
> <Array(String, Integer, Hash)> post_set_password_with_http_info(old, plain, verify)
|
|
481
|
+
|
|
482
|
+
```ruby
|
|
483
|
+
begin
|
|
484
|
+
|
|
485
|
+
data, status_code, headers = api_instance.post_set_password_with_http_info(old, plain, verify)
|
|
486
|
+
p status_code # => 2xx
|
|
487
|
+
p headers # => { ... }
|
|
488
|
+
p data # => String
|
|
489
|
+
rescue SwaggerAemClient::ApiError => e
|
|
490
|
+
puts "Error when calling CrxApi->post_set_password_with_http_info: #{e}"
|
|
491
|
+
end
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
### Parameters
|
|
367
495
|
|
|
368
|
-
Name | Type | Description
|
|
369
|
-
|
|
370
|
-
**old** | **String
|
|
371
|
-
**plain** | **String
|
|
372
|
-
**verify** | **String
|
|
496
|
+
| Name | Type | Description | Notes |
|
|
497
|
+
| ---- | ---- | ----------- | ----- |
|
|
498
|
+
| **old** | **String** | | |
|
|
499
|
+
| **plain** | **String** | | |
|
|
500
|
+
| **verify** | **String** | | |
|
|
373
501
|
|
|
374
502
|
### Return type
|
|
375
503
|
|
data/docs/CustomApi.md
CHANGED
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://localhost*
|
|
4
4
|
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
|
|
7
|
-
[**get_aem_health_check**](CustomApi.md#get_aem_health_check) | **GET** /system/health |
|
|
8
|
-
[**post_config_aem_health_check_servlet**](CustomApi.md#post_config_aem_health_check_servlet) | **POST** /apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck |
|
|
9
|
-
[**post_config_aem_password_reset**](CustomApi.md#post_config_aem_password_reset) | **POST** /apps/system/config/com.shinesolutions.aem.passwordreset.Activator |
|
|
10
|
-
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**get_aem_health_check**](CustomApi.md#get_aem_health_check) | **GET** /system/health | |
|
|
8
|
+
| [**post_config_aem_health_check_servlet**](CustomApi.md#post_config_aem_health_check_servlet) | **POST** /apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck | |
|
|
9
|
+
| [**post_config_aem_password_reset**](CustomApi.md#post_config_aem_password_reset) | **POST** /apps/system/config/com.shinesolutions.aem.passwordreset.Activator | |
|
|
11
10
|
|
|
12
11
|
|
|
13
12
|
## get_aem_health_check
|
|
@@ -16,10 +15,10 @@ Method | HTTP request | Description
|
|
|
16
15
|
|
|
17
16
|
|
|
18
17
|
|
|
19
|
-
###
|
|
18
|
+
### Examples
|
|
20
19
|
|
|
21
20
|
```ruby
|
|
22
|
-
|
|
21
|
+
require 'time'
|
|
23
22
|
require 'swagger_aem'
|
|
24
23
|
# setup authorization
|
|
25
24
|
SwaggerAemClient.configure do |config|
|
|
@@ -35,20 +34,38 @@ opts = {
|
|
|
35
34
|
}
|
|
36
35
|
|
|
37
36
|
begin
|
|
37
|
+
|
|
38
38
|
result = api_instance.get_aem_health_check(opts)
|
|
39
39
|
p result
|
|
40
40
|
rescue SwaggerAemClient::ApiError => e
|
|
41
|
-
puts "
|
|
41
|
+
puts "Error when calling CustomApi->get_aem_health_check: #{e}"
|
|
42
42
|
end
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
#### Using the get_aem_health_check_with_http_info variant
|
|
46
|
+
|
|
47
|
+
This returns an Array which contains the response data, status code and headers.
|
|
48
|
+
|
|
49
|
+
> <Array(String, Integer, Hash)> get_aem_health_check_with_http_info(opts)
|
|
50
|
+
|
|
51
|
+
```ruby
|
|
52
|
+
begin
|
|
53
|
+
|
|
54
|
+
data, status_code, headers = api_instance.get_aem_health_check_with_http_info(opts)
|
|
55
|
+
p status_code # => 2xx
|
|
56
|
+
p headers # => { ... }
|
|
57
|
+
p data # => String
|
|
58
|
+
rescue SwaggerAemClient::ApiError => e
|
|
59
|
+
puts "Error when calling CustomApi->get_aem_health_check_with_http_info: #{e}"
|
|
60
|
+
end
|
|
61
|
+
```
|
|
46
62
|
|
|
63
|
+
### Parameters
|
|
47
64
|
|
|
48
|
-
Name | Type | Description
|
|
49
|
-
|
|
50
|
-
**tags** | **String
|
|
51
|
-
**combine_tags_or** | **Boolean
|
|
65
|
+
| Name | Type | Description | Notes |
|
|
66
|
+
| ---- | ---- | ----------- | ----- |
|
|
67
|
+
| **tags** | **String** | | [optional] |
|
|
68
|
+
| **combine_tags_or** | **Boolean** | | [optional] |
|
|
52
69
|
|
|
53
70
|
### Return type
|
|
54
71
|
|
|
@@ -70,10 +87,10 @@ Name | Type | Description | Notes
|
|
|
70
87
|
|
|
71
88
|
|
|
72
89
|
|
|
73
|
-
###
|
|
90
|
+
### Examples
|
|
74
91
|
|
|
75
92
|
```ruby
|
|
76
|
-
|
|
93
|
+
require 'time'
|
|
77
94
|
require 'swagger_aem'
|
|
78
95
|
# setup authorization
|
|
79
96
|
SwaggerAemClient.configure do |config|
|
|
@@ -84,24 +101,42 @@ end
|
|
|
84
101
|
|
|
85
102
|
api_instance = SwaggerAemClient::CustomApi.new
|
|
86
103
|
opts = {
|
|
87
|
-
bundles_ignored: ['
|
|
104
|
+
bundles_ignored: ['inner_example'], # Array<String> |
|
|
88
105
|
bundles_ignored_type_hint: 'bundles_ignored_type_hint_example' # String |
|
|
89
106
|
}
|
|
90
107
|
|
|
91
108
|
begin
|
|
109
|
+
|
|
92
110
|
api_instance.post_config_aem_health_check_servlet(opts)
|
|
93
111
|
rescue SwaggerAemClient::ApiError => e
|
|
94
|
-
puts "
|
|
112
|
+
puts "Error when calling CustomApi->post_config_aem_health_check_servlet: #{e}"
|
|
95
113
|
end
|
|
96
114
|
```
|
|
97
115
|
|
|
98
|
-
|
|
116
|
+
#### Using the post_config_aem_health_check_servlet_with_http_info variant
|
|
99
117
|
|
|
118
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
100
119
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
120
|
+
> <Array(nil, Integer, Hash)> post_config_aem_health_check_servlet_with_http_info(opts)
|
|
121
|
+
|
|
122
|
+
```ruby
|
|
123
|
+
begin
|
|
124
|
+
|
|
125
|
+
data, status_code, headers = api_instance.post_config_aem_health_check_servlet_with_http_info(opts)
|
|
126
|
+
p status_code # => 2xx
|
|
127
|
+
p headers # => { ... }
|
|
128
|
+
p data # => nil
|
|
129
|
+
rescue SwaggerAemClient::ApiError => e
|
|
130
|
+
puts "Error when calling CustomApi->post_config_aem_health_check_servlet_with_http_info: #{e}"
|
|
131
|
+
end
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### Parameters
|
|
135
|
+
|
|
136
|
+
| Name | Type | Description | Notes |
|
|
137
|
+
| ---- | ---- | ----------- | ----- |
|
|
138
|
+
| **bundles_ignored** | [**Array<String>**](String.md) | | [optional] |
|
|
139
|
+
| **bundles_ignored_type_hint** | **String** | | [optional] |
|
|
105
140
|
|
|
106
141
|
### Return type
|
|
107
142
|
|
|
@@ -123,10 +158,10 @@ nil (empty response body)
|
|
|
123
158
|
|
|
124
159
|
|
|
125
160
|
|
|
126
|
-
###
|
|
161
|
+
### Examples
|
|
127
162
|
|
|
128
163
|
```ruby
|
|
129
|
-
|
|
164
|
+
require 'time'
|
|
130
165
|
require 'swagger_aem'
|
|
131
166
|
# setup authorization
|
|
132
167
|
SwaggerAemClient.configure do |config|
|
|
@@ -137,24 +172,42 @@ end
|
|
|
137
172
|
|
|
138
173
|
api_instance = SwaggerAemClient::CustomApi.new
|
|
139
174
|
opts = {
|
|
140
|
-
pwdreset_authorizables: ['
|
|
175
|
+
pwdreset_authorizables: ['inner_example'], # Array<String> |
|
|
141
176
|
pwdreset_authorizables_type_hint: 'pwdreset_authorizables_type_hint_example' # String |
|
|
142
177
|
}
|
|
143
178
|
|
|
144
179
|
begin
|
|
180
|
+
|
|
145
181
|
api_instance.post_config_aem_password_reset(opts)
|
|
146
182
|
rescue SwaggerAemClient::ApiError => e
|
|
147
|
-
puts "
|
|
183
|
+
puts "Error when calling CustomApi->post_config_aem_password_reset: #{e}"
|
|
148
184
|
end
|
|
149
185
|
```
|
|
150
186
|
|
|
151
|
-
|
|
187
|
+
#### Using the post_config_aem_password_reset_with_http_info variant
|
|
188
|
+
|
|
189
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
190
|
+
|
|
191
|
+
> <Array(nil, Integer, Hash)> post_config_aem_password_reset_with_http_info(opts)
|
|
152
192
|
|
|
193
|
+
```ruby
|
|
194
|
+
begin
|
|
195
|
+
|
|
196
|
+
data, status_code, headers = api_instance.post_config_aem_password_reset_with_http_info(opts)
|
|
197
|
+
p status_code # => 2xx
|
|
198
|
+
p headers # => { ... }
|
|
199
|
+
p data # => nil
|
|
200
|
+
rescue SwaggerAemClient::ApiError => e
|
|
201
|
+
puts "Error when calling CustomApi->post_config_aem_password_reset_with_http_info: #{e}"
|
|
202
|
+
end
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Parameters
|
|
153
206
|
|
|
154
|
-
Name | Type | Description
|
|
155
|
-
|
|
156
|
-
**pwdreset_authorizables** | [**Array<String>**](String.md)| | [optional]
|
|
157
|
-
**pwdreset_authorizables_type_hint** | **String
|
|
207
|
+
| Name | Type | Description | Notes |
|
|
208
|
+
| ---- | ---- | ----------- | ----- |
|
|
209
|
+
| **pwdreset_authorizables** | [**Array<String>**](String.md) | | [optional] |
|
|
210
|
+
| **pwdreset_authorizables_type_hint** | **String** | | [optional] |
|
|
158
211
|
|
|
159
212
|
### Return type
|
|
160
213
|
|