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/ConsoleApi.md
CHANGED
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://localhost*
|
|
4
4
|
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
|
|
7
|
-
[**get_aem_product_info**](ConsoleApi.md#get_aem_product_info) | **GET** /system/console/status-productinfo.json |
|
|
8
|
-
[**get_bundle_info**](ConsoleApi.md#get_bundle_info) | **GET** /system/console/bundles/{name}.json |
|
|
9
|
-
[**get_config_mgr**](ConsoleApi.md#get_config_mgr) | **GET** /system/console/configMgr |
|
|
10
|
-
[**post_bundle**](ConsoleApi.md#post_bundle) | **POST** /system/console/bundles/{name} |
|
|
11
|
-
[**post_jmx_repository**](ConsoleApi.md#post_jmx_repository) | **POST** /system/console/jmx/com.adobe.granite:type=Repository/op/{action} |
|
|
12
|
-
[**post_saml_configuration**](ConsoleApi.md#post_saml_configuration) | **POST** /system/console/configMgr/com.adobe.granite.auth.saml.SamlAuthenticationHandler |
|
|
13
|
-
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**get_aem_product_info**](ConsoleApi.md#get_aem_product_info) | **GET** /system/console/status-productinfo.json | |
|
|
8
|
+
| [**get_bundle_info**](ConsoleApi.md#get_bundle_info) | **GET** /system/console/bundles/{name}.json | |
|
|
9
|
+
| [**get_config_mgr**](ConsoleApi.md#get_config_mgr) | **GET** /system/console/configMgr | |
|
|
10
|
+
| [**post_bundle**](ConsoleApi.md#post_bundle) | **POST** /system/console/bundles/{name} | |
|
|
11
|
+
| [**post_jmx_repository**](ConsoleApi.md#post_jmx_repository) | **POST** /system/console/jmx/com.adobe.granite:type=Repository/op/{action} | |
|
|
12
|
+
| [**post_saml_configuration**](ConsoleApi.md#post_saml_configuration) | **POST** /system/console/configMgr/com.adobe.granite.auth.saml.SamlAuthenticationHandler | |
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
## get_aem_product_info
|
|
@@ -19,10 +18,10 @@ Method | HTTP request | Description
|
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
|
|
22
|
-
###
|
|
21
|
+
### Examples
|
|
23
22
|
|
|
24
23
|
```ruby
|
|
25
|
-
|
|
24
|
+
require 'time'
|
|
26
25
|
require 'swagger_aem'
|
|
27
26
|
# setup authorization
|
|
28
27
|
SwaggerAemClient.configure do |config|
|
|
@@ -34,10 +33,29 @@ end
|
|
|
34
33
|
api_instance = SwaggerAemClient::ConsoleApi.new
|
|
35
34
|
|
|
36
35
|
begin
|
|
36
|
+
|
|
37
37
|
result = api_instance.get_aem_product_info
|
|
38
38
|
p result
|
|
39
39
|
rescue SwaggerAemClient::ApiError => e
|
|
40
|
-
puts "
|
|
40
|
+
puts "Error when calling ConsoleApi->get_aem_product_info: #{e}"
|
|
41
|
+
end
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
#### Using the get_aem_product_info_with_http_info variant
|
|
45
|
+
|
|
46
|
+
This returns an Array which contains the response data, status code and headers.
|
|
47
|
+
|
|
48
|
+
> <Array(Array<String>, Integer, Hash)> get_aem_product_info_with_http_info
|
|
49
|
+
|
|
50
|
+
```ruby
|
|
51
|
+
begin
|
|
52
|
+
|
|
53
|
+
data, status_code, headers = api_instance.get_aem_product_info_with_http_info
|
|
54
|
+
p status_code # => 2xx
|
|
55
|
+
p headers # => { ... }
|
|
56
|
+
p data # => Array<String>
|
|
57
|
+
rescue SwaggerAemClient::ApiError => e
|
|
58
|
+
puts "Error when calling ConsoleApi->get_aem_product_info_with_http_info: #{e}"
|
|
41
59
|
end
|
|
42
60
|
```
|
|
43
61
|
|
|
@@ -61,14 +79,14 @@ This endpoint does not need any parameter.
|
|
|
61
79
|
|
|
62
80
|
## get_bundle_info
|
|
63
81
|
|
|
64
|
-
> BundleInfo get_bundle_info(name)
|
|
82
|
+
> <BundleInfo> get_bundle_info(name)
|
|
65
83
|
|
|
66
84
|
|
|
67
85
|
|
|
68
|
-
###
|
|
86
|
+
### Examples
|
|
69
87
|
|
|
70
88
|
```ruby
|
|
71
|
-
|
|
89
|
+
require 'time'
|
|
72
90
|
require 'swagger_aem'
|
|
73
91
|
# setup authorization
|
|
74
92
|
SwaggerAemClient.configure do |config|
|
|
@@ -81,19 +99,37 @@ api_instance = SwaggerAemClient::ConsoleApi.new
|
|
|
81
99
|
name = 'name_example' # String |
|
|
82
100
|
|
|
83
101
|
begin
|
|
102
|
+
|
|
84
103
|
result = api_instance.get_bundle_info(name)
|
|
85
104
|
p result
|
|
86
105
|
rescue SwaggerAemClient::ApiError => e
|
|
87
|
-
puts "
|
|
106
|
+
puts "Error when calling ConsoleApi->get_bundle_info: #{e}"
|
|
88
107
|
end
|
|
89
108
|
```
|
|
90
109
|
|
|
91
|
-
|
|
110
|
+
#### Using the get_bundle_info_with_http_info variant
|
|
111
|
+
|
|
112
|
+
This returns an Array which contains the response data, status code and headers.
|
|
113
|
+
|
|
114
|
+
> <Array(<BundleInfo>, Integer, Hash)> get_bundle_info_with_http_info(name)
|
|
115
|
+
|
|
116
|
+
```ruby
|
|
117
|
+
begin
|
|
118
|
+
|
|
119
|
+
data, status_code, headers = api_instance.get_bundle_info_with_http_info(name)
|
|
120
|
+
p status_code # => 2xx
|
|
121
|
+
p headers # => { ... }
|
|
122
|
+
p data # => <BundleInfo>
|
|
123
|
+
rescue SwaggerAemClient::ApiError => e
|
|
124
|
+
puts "Error when calling ConsoleApi->get_bundle_info_with_http_info: #{e}"
|
|
125
|
+
end
|
|
126
|
+
```
|
|
92
127
|
|
|
128
|
+
### Parameters
|
|
93
129
|
|
|
94
|
-
Name | Type | Description
|
|
95
|
-
|
|
96
|
-
**name** | **String
|
|
130
|
+
| Name | Type | Description | Notes |
|
|
131
|
+
| ---- | ---- | ----------- | ----- |
|
|
132
|
+
| **name** | **String** | | |
|
|
97
133
|
|
|
98
134
|
### Return type
|
|
99
135
|
|
|
@@ -115,10 +151,10 @@ Name | Type | Description | Notes
|
|
|
115
151
|
|
|
116
152
|
|
|
117
153
|
|
|
118
|
-
###
|
|
154
|
+
### Examples
|
|
119
155
|
|
|
120
156
|
```ruby
|
|
121
|
-
|
|
157
|
+
require 'time'
|
|
122
158
|
require 'swagger_aem'
|
|
123
159
|
# setup authorization
|
|
124
160
|
SwaggerAemClient.configure do |config|
|
|
@@ -130,10 +166,29 @@ end
|
|
|
130
166
|
api_instance = SwaggerAemClient::ConsoleApi.new
|
|
131
167
|
|
|
132
168
|
begin
|
|
169
|
+
|
|
133
170
|
result = api_instance.get_config_mgr
|
|
134
171
|
p result
|
|
135
172
|
rescue SwaggerAemClient::ApiError => e
|
|
136
|
-
puts "
|
|
173
|
+
puts "Error when calling ConsoleApi->get_config_mgr: #{e}"
|
|
174
|
+
end
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
#### Using the get_config_mgr_with_http_info variant
|
|
178
|
+
|
|
179
|
+
This returns an Array which contains the response data, status code and headers.
|
|
180
|
+
|
|
181
|
+
> <Array(String, Integer, Hash)> get_config_mgr_with_http_info
|
|
182
|
+
|
|
183
|
+
```ruby
|
|
184
|
+
begin
|
|
185
|
+
|
|
186
|
+
data, status_code, headers = api_instance.get_config_mgr_with_http_info
|
|
187
|
+
p status_code # => 2xx
|
|
188
|
+
p headers # => { ... }
|
|
189
|
+
p data # => String
|
|
190
|
+
rescue SwaggerAemClient::ApiError => e
|
|
191
|
+
puts "Error when calling ConsoleApi->get_config_mgr_with_http_info: #{e}"
|
|
137
192
|
end
|
|
138
193
|
```
|
|
139
194
|
|
|
@@ -161,10 +216,10 @@ This endpoint does not need any parameter.
|
|
|
161
216
|
|
|
162
217
|
|
|
163
218
|
|
|
164
|
-
###
|
|
219
|
+
### Examples
|
|
165
220
|
|
|
166
221
|
```ruby
|
|
167
|
-
|
|
222
|
+
require 'time'
|
|
168
223
|
require 'swagger_aem'
|
|
169
224
|
# setup authorization
|
|
170
225
|
SwaggerAemClient.configure do |config|
|
|
@@ -178,19 +233,37 @@ name = 'name_example' # String |
|
|
|
178
233
|
action = 'action_example' # String |
|
|
179
234
|
|
|
180
235
|
begin
|
|
236
|
+
|
|
181
237
|
api_instance.post_bundle(name, action)
|
|
182
238
|
rescue SwaggerAemClient::ApiError => e
|
|
183
|
-
puts "
|
|
239
|
+
puts "Error when calling ConsoleApi->post_bundle: #{e}"
|
|
184
240
|
end
|
|
185
241
|
```
|
|
186
242
|
|
|
187
|
-
|
|
243
|
+
#### Using the post_bundle_with_http_info variant
|
|
188
244
|
|
|
245
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
189
246
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
247
|
+
> <Array(nil, Integer, Hash)> post_bundle_with_http_info(name, action)
|
|
248
|
+
|
|
249
|
+
```ruby
|
|
250
|
+
begin
|
|
251
|
+
|
|
252
|
+
data, status_code, headers = api_instance.post_bundle_with_http_info(name, action)
|
|
253
|
+
p status_code # => 2xx
|
|
254
|
+
p headers # => { ... }
|
|
255
|
+
p data # => nil
|
|
256
|
+
rescue SwaggerAemClient::ApiError => e
|
|
257
|
+
puts "Error when calling ConsoleApi->post_bundle_with_http_info: #{e}"
|
|
258
|
+
end
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
### Parameters
|
|
262
|
+
|
|
263
|
+
| Name | Type | Description | Notes |
|
|
264
|
+
| ---- | ---- | ----------- | ----- |
|
|
265
|
+
| **name** | **String** | | |
|
|
266
|
+
| **action** | **String** | | |
|
|
194
267
|
|
|
195
268
|
### Return type
|
|
196
269
|
|
|
@@ -212,10 +285,10 @@ nil (empty response body)
|
|
|
212
285
|
|
|
213
286
|
|
|
214
287
|
|
|
215
|
-
###
|
|
288
|
+
### Examples
|
|
216
289
|
|
|
217
290
|
```ruby
|
|
218
|
-
|
|
291
|
+
require 'time'
|
|
219
292
|
require 'swagger_aem'
|
|
220
293
|
# setup authorization
|
|
221
294
|
SwaggerAemClient.configure do |config|
|
|
@@ -228,18 +301,36 @@ api_instance = SwaggerAemClient::ConsoleApi.new
|
|
|
228
301
|
action = 'action_example' # String |
|
|
229
302
|
|
|
230
303
|
begin
|
|
304
|
+
|
|
231
305
|
api_instance.post_jmx_repository(action)
|
|
232
306
|
rescue SwaggerAemClient::ApiError => e
|
|
233
|
-
puts "
|
|
307
|
+
puts "Error when calling ConsoleApi->post_jmx_repository: #{e}"
|
|
234
308
|
end
|
|
235
309
|
```
|
|
236
310
|
|
|
237
|
-
|
|
311
|
+
#### Using the post_jmx_repository_with_http_info variant
|
|
238
312
|
|
|
313
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
239
314
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
315
|
+
> <Array(nil, Integer, Hash)> post_jmx_repository_with_http_info(action)
|
|
316
|
+
|
|
317
|
+
```ruby
|
|
318
|
+
begin
|
|
319
|
+
|
|
320
|
+
data, status_code, headers = api_instance.post_jmx_repository_with_http_info(action)
|
|
321
|
+
p status_code # => 2xx
|
|
322
|
+
p headers # => { ... }
|
|
323
|
+
p data # => nil
|
|
324
|
+
rescue SwaggerAemClient::ApiError => e
|
|
325
|
+
puts "Error when calling ConsoleApi->post_jmx_repository_with_http_info: #{e}"
|
|
326
|
+
end
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### Parameters
|
|
330
|
+
|
|
331
|
+
| Name | Type | Description | Notes |
|
|
332
|
+
| ---- | ---- | ----------- | ----- |
|
|
333
|
+
| **action** | **String** | | |
|
|
243
334
|
|
|
244
335
|
### Return type
|
|
245
336
|
|
|
@@ -257,14 +348,14 @@ nil (empty response body)
|
|
|
257
348
|
|
|
258
349
|
## post_saml_configuration
|
|
259
350
|
|
|
260
|
-
> SamlConfigurationInfo post_saml_configuration(opts)
|
|
351
|
+
> <SamlConfigurationInfo> post_saml_configuration(opts)
|
|
261
352
|
|
|
262
353
|
|
|
263
354
|
|
|
264
|
-
###
|
|
355
|
+
### Examples
|
|
265
356
|
|
|
266
357
|
```ruby
|
|
267
|
-
|
|
358
|
+
require 'time'
|
|
268
359
|
require 'swagger_aem'
|
|
269
360
|
# setup authorization
|
|
270
361
|
SwaggerAemClient.configure do |config|
|
|
@@ -280,7 +371,7 @@ opts = {
|
|
|
280
371
|
delete: true, # Boolean |
|
|
281
372
|
action: 'action_example', # String |
|
|
282
373
|
location: 'location_example', # String |
|
|
283
|
-
path: ['
|
|
374
|
+
path: ['inner_example'], # Array<String> |
|
|
284
375
|
service_ranking: 56, # Integer |
|
|
285
376
|
idp_url: 'idp_url_example', # String |
|
|
286
377
|
idp_cert_alias: 'idp_cert_alias_example', # String |
|
|
@@ -295,61 +386,79 @@ opts = {
|
|
|
295
386
|
create_user: true, # Boolean |
|
|
296
387
|
add_group_memberships: true, # Boolean |
|
|
297
388
|
group_membership_attribute: 'group_membership_attribute_example', # String |
|
|
298
|
-
default_groups: ['
|
|
389
|
+
default_groups: ['inner_example'], # Array<String> |
|
|
299
390
|
name_id_format: 'name_id_format_example', # String |
|
|
300
|
-
synchronize_attributes: ['
|
|
391
|
+
synchronize_attributes: ['inner_example'], # Array<String> |
|
|
301
392
|
handle_logout: true, # Boolean |
|
|
302
393
|
logout_url: 'logout_url_example', # String |
|
|
303
394
|
clock_tolerance: 56, # Integer |
|
|
304
395
|
digest_method: 'digest_method_example', # String |
|
|
305
396
|
signature_method: 'signature_method_example', # String |
|
|
306
397
|
user_intermediate_path: 'user_intermediate_path_example', # String |
|
|
307
|
-
propertylist: ['
|
|
398
|
+
propertylist: ['inner_example'] # Array<String> |
|
|
308
399
|
}
|
|
309
400
|
|
|
310
401
|
begin
|
|
402
|
+
|
|
311
403
|
result = api_instance.post_saml_configuration(opts)
|
|
312
404
|
p result
|
|
313
405
|
rescue SwaggerAemClient::ApiError => e
|
|
314
|
-
puts "
|
|
406
|
+
puts "Error when calling ConsoleApi->post_saml_configuration: #{e}"
|
|
315
407
|
end
|
|
316
408
|
```
|
|
317
409
|
|
|
318
|
-
|
|
410
|
+
#### Using the post_saml_configuration_with_http_info variant
|
|
411
|
+
|
|
412
|
+
This returns an Array which contains the response data, status code and headers.
|
|
413
|
+
|
|
414
|
+
> <Array(<SamlConfigurationInfo>, Integer, Hash)> post_saml_configuration_with_http_info(opts)
|
|
319
415
|
|
|
416
|
+
```ruby
|
|
417
|
+
begin
|
|
418
|
+
|
|
419
|
+
data, status_code, headers = api_instance.post_saml_configuration_with_http_info(opts)
|
|
420
|
+
p status_code # => 2xx
|
|
421
|
+
p headers # => { ... }
|
|
422
|
+
p data # => <SamlConfigurationInfo>
|
|
423
|
+
rescue SwaggerAemClient::ApiError => e
|
|
424
|
+
puts "Error when calling ConsoleApi->post_saml_configuration_with_http_info: #{e}"
|
|
425
|
+
end
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
### Parameters
|
|
320
429
|
|
|
321
|
-
Name | Type | Description
|
|
322
|
-
|
|
323
|
-
**post** | **Boolean
|
|
324
|
-
**apply** | **Boolean
|
|
325
|
-
**delete** | **Boolean
|
|
326
|
-
**action** | **String
|
|
327
|
-
**location** | **String
|
|
328
|
-
**path** | [**Array<String>**](String.md)| | [optional]
|
|
329
|
-
**service_ranking** | **Integer
|
|
330
|
-
**idp_url** | **String
|
|
331
|
-
**idp_cert_alias** | **String
|
|
332
|
-
**idp_http_redirect** | **Boolean
|
|
333
|
-
**service_provider_entity_id** | **String
|
|
334
|
-
**assertion_consumer_service_url** | **String
|
|
335
|
-
**sp_private_key_alias** | **String
|
|
336
|
-
**key_store_password** | **String
|
|
337
|
-
**default_redirect_url** | **String
|
|
338
|
-
**user_id_attribute** | **String
|
|
339
|
-
**use_encryption** | **Boolean
|
|
340
|
-
**create_user** | **Boolean
|
|
341
|
-
**add_group_memberships** | **Boolean
|
|
342
|
-
**group_membership_attribute** | **String
|
|
343
|
-
**default_groups** | [**Array<String>**](String.md)| | [optional]
|
|
344
|
-
**name_id_format** | **String
|
|
345
|
-
**synchronize_attributes** | [**Array<String>**](String.md)| | [optional]
|
|
346
|
-
**handle_logout** | **Boolean
|
|
347
|
-
**logout_url** | **String
|
|
348
|
-
**clock_tolerance** | **Integer
|
|
349
|
-
**digest_method** | **String
|
|
350
|
-
**signature_method** | **String
|
|
351
|
-
**user_intermediate_path** | **String
|
|
352
|
-
**propertylist** | [**Array<String>**](String.md)| | [optional]
|
|
430
|
+
| Name | Type | Description | Notes |
|
|
431
|
+
| ---- | ---- | ----------- | ----- |
|
|
432
|
+
| **post** | **Boolean** | | [optional] |
|
|
433
|
+
| **apply** | **Boolean** | | [optional] |
|
|
434
|
+
| **delete** | **Boolean** | | [optional] |
|
|
435
|
+
| **action** | **String** | | [optional] |
|
|
436
|
+
| **location** | **String** | | [optional] |
|
|
437
|
+
| **path** | [**Array<String>**](String.md) | | [optional] |
|
|
438
|
+
| **service_ranking** | **Integer** | | [optional] |
|
|
439
|
+
| **idp_url** | **String** | | [optional] |
|
|
440
|
+
| **idp_cert_alias** | **String** | | [optional] |
|
|
441
|
+
| **idp_http_redirect** | **Boolean** | | [optional] |
|
|
442
|
+
| **service_provider_entity_id** | **String** | | [optional] |
|
|
443
|
+
| **assertion_consumer_service_url** | **String** | | [optional] |
|
|
444
|
+
| **sp_private_key_alias** | **String** | | [optional] |
|
|
445
|
+
| **key_store_password** | **String** | | [optional] |
|
|
446
|
+
| **default_redirect_url** | **String** | | [optional] |
|
|
447
|
+
| **user_id_attribute** | **String** | | [optional] |
|
|
448
|
+
| **use_encryption** | **Boolean** | | [optional] |
|
|
449
|
+
| **create_user** | **Boolean** | | [optional] |
|
|
450
|
+
| **add_group_memberships** | **Boolean** | | [optional] |
|
|
451
|
+
| **group_membership_attribute** | **String** | | [optional] |
|
|
452
|
+
| **default_groups** | [**Array<String>**](String.md) | | [optional] |
|
|
453
|
+
| **name_id_format** | **String** | | [optional] |
|
|
454
|
+
| **synchronize_attributes** | [**Array<String>**](String.md) | | [optional] |
|
|
455
|
+
| **handle_logout** | **Boolean** | | [optional] |
|
|
456
|
+
| **logout_url** | **String** | | [optional] |
|
|
457
|
+
| **clock_tolerance** | **Integer** | | [optional] |
|
|
458
|
+
| **digest_method** | **String** | | [optional] |
|
|
459
|
+
| **signature_method** | **String** | | [optional] |
|
|
460
|
+
| **user_intermediate_path** | **String** | | [optional] |
|
|
461
|
+
| **propertylist** | [**Array<String>**](String.md) | | [optional] |
|
|
353
462
|
|
|
354
463
|
### Return type
|
|
355
464
|
|
data/docs/CqApi.md
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://localhost*
|
|
4
4
|
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
|
|
7
|
-
[**get_login_page**](CqApi.md#get_login_page) | **GET** /libs/granite/core/content/login.html |
|
|
8
|
-
[**post_cq_actions**](CqApi.md#post_cq_actions) | **POST** /.cqactions.html |
|
|
9
|
-
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**get_login_page**](CqApi.md#get_login_page) | **GET** /libs/granite/core/content/login.html | |
|
|
8
|
+
| [**post_cq_actions**](CqApi.md#post_cq_actions) | **POST** /.cqactions.html | |
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
## get_login_page
|
|
@@ -15,19 +14,38 @@ Method | HTTP request | Description
|
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
###
|
|
17
|
+
### Examples
|
|
19
18
|
|
|
20
19
|
```ruby
|
|
21
|
-
|
|
20
|
+
require 'time'
|
|
22
21
|
require 'swagger_aem'
|
|
23
22
|
|
|
24
23
|
api_instance = SwaggerAemClient::CqApi.new
|
|
25
24
|
|
|
26
25
|
begin
|
|
26
|
+
|
|
27
27
|
result = api_instance.get_login_page
|
|
28
28
|
p result
|
|
29
29
|
rescue SwaggerAemClient::ApiError => e
|
|
30
|
-
puts "
|
|
30
|
+
puts "Error when calling CqApi->get_login_page: #{e}"
|
|
31
|
+
end
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
#### Using the get_login_page_with_http_info variant
|
|
35
|
+
|
|
36
|
+
This returns an Array which contains the response data, status code and headers.
|
|
37
|
+
|
|
38
|
+
> <Array(String, Integer, Hash)> get_login_page_with_http_info
|
|
39
|
+
|
|
40
|
+
```ruby
|
|
41
|
+
begin
|
|
42
|
+
|
|
43
|
+
data, status_code, headers = api_instance.get_login_page_with_http_info
|
|
44
|
+
p status_code # => 2xx
|
|
45
|
+
p headers # => { ... }
|
|
46
|
+
p data # => String
|
|
47
|
+
rescue SwaggerAemClient::ApiError => e
|
|
48
|
+
puts "Error when calling CqApi->get_login_page_with_http_info: #{e}"
|
|
31
49
|
end
|
|
32
50
|
```
|
|
33
51
|
|
|
@@ -55,10 +73,10 @@ No authorization required
|
|
|
55
73
|
|
|
56
74
|
|
|
57
75
|
|
|
58
|
-
###
|
|
76
|
+
### Examples
|
|
59
77
|
|
|
60
78
|
```ruby
|
|
61
|
-
|
|
79
|
+
require 'time'
|
|
62
80
|
require 'swagger_aem'
|
|
63
81
|
# setup authorization
|
|
64
82
|
SwaggerAemClient.configure do |config|
|
|
@@ -72,19 +90,37 @@ authorizable_id = 'authorizable_id_example' # String |
|
|
|
72
90
|
changelog = 'changelog_example' # String |
|
|
73
91
|
|
|
74
92
|
begin
|
|
93
|
+
|
|
75
94
|
api_instance.post_cq_actions(authorizable_id, changelog)
|
|
76
95
|
rescue SwaggerAemClient::ApiError => e
|
|
77
|
-
puts "
|
|
96
|
+
puts "Error when calling CqApi->post_cq_actions: #{e}"
|
|
78
97
|
end
|
|
79
98
|
```
|
|
80
99
|
|
|
81
|
-
|
|
100
|
+
#### Using the post_cq_actions_with_http_info variant
|
|
101
|
+
|
|
102
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
103
|
+
|
|
104
|
+
> <Array(nil, Integer, Hash)> post_cq_actions_with_http_info(authorizable_id, changelog)
|
|
105
|
+
|
|
106
|
+
```ruby
|
|
107
|
+
begin
|
|
108
|
+
|
|
109
|
+
data, status_code, headers = api_instance.post_cq_actions_with_http_info(authorizable_id, changelog)
|
|
110
|
+
p status_code # => 2xx
|
|
111
|
+
p headers # => { ... }
|
|
112
|
+
p data # => nil
|
|
113
|
+
rescue SwaggerAemClient::ApiError => e
|
|
114
|
+
puts "Error when calling CqApi->post_cq_actions_with_http_info: #{e}"
|
|
115
|
+
end
|
|
116
|
+
```
|
|
82
117
|
|
|
118
|
+
### Parameters
|
|
83
119
|
|
|
84
|
-
Name | Type | Description
|
|
85
|
-
|
|
86
|
-
**authorizable_id** | **String
|
|
87
|
-
**changelog** | **String
|
|
120
|
+
| Name | Type | Description | Notes |
|
|
121
|
+
| ---- | ---- | ----------- | ----- |
|
|
122
|
+
| **authorizable_id** | **String** | | |
|
|
123
|
+
| **changelog** | **String** | | |
|
|
88
124
|
|
|
89
125
|
### Return type
|
|
90
126
|
|