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/SlingApi.md
CHANGED
|
@@ -2,38 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://localhost*
|
|
4
4
|
|
|
5
|
-
Method | HTTP request | Description
|
|
6
|
-
|
|
7
|
-
[**delete_agent**](SlingApi.md#delete_agent) | **DELETE** /etc/replication/agents.{runmode}/{name} |
|
|
8
|
-
[**delete_node**](SlingApi.md#delete_node) | **DELETE** /{path}/{name} |
|
|
9
|
-
[**get_agent**](SlingApi.md#get_agent) | **GET** /etc/replication/agents.{runmode}/{name} |
|
|
10
|
-
[**get_agents**](SlingApi.md#get_agents) | **GET** /etc/replication/agents.{runmode}.-1.json |
|
|
11
|
-
[**get_authorizable_keystore**](SlingApi.md#get_authorizable_keystore) | **GET** /{intermediatePath}/{authorizableId}.ks.json |
|
|
12
|
-
[**get_keystore**](SlingApi.md#get_keystore) | **GET** /{intermediatePath}/{authorizableId}/keystore/store.p12 |
|
|
13
|
-
[**get_node**](SlingApi.md#get_node) | **GET** /{path}/{name} |
|
|
14
|
-
[**get_package**](SlingApi.md#get_package) | **GET** /etc/packages/{group}/{name}-{version}.zip |
|
|
15
|
-
[**get_package_filter**](SlingApi.md#get_package_filter) | **GET** /etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json |
|
|
16
|
-
[**get_query**](SlingApi.md#get_query) | **GET** /bin/querybuilder.json |
|
|
17
|
-
[**get_truststore**](SlingApi.md#get_truststore) | **GET** /etc/truststore/truststore.p12 |
|
|
18
|
-
[**get_truststore_info**](SlingApi.md#get_truststore_info) | **GET** /libs/granite/security/truststore.json |
|
|
19
|
-
[**post_agent**](SlingApi.md#post_agent) | **POST** /etc/replication/agents.{runmode}/{name} |
|
|
20
|
-
[**post_authorizable_keystore**](SlingApi.md#post_authorizable_keystore) | **POST** /{intermediatePath}/{authorizableId}.ks.html |
|
|
21
|
-
[**post_authorizables**](SlingApi.md#post_authorizables) | **POST** /libs/granite/security/post/authorizables |
|
|
22
|
-
[**post_config_adobe_granite_saml_authentication_handler**](SlingApi.md#post_config_adobe_granite_saml_authentication_handler) | **POST** /apps/system/config/com.adobe.granite.auth.saml.SamlAuthenticationHandler.config |
|
|
23
|
-
[**post_config_apache_felix_jetty_based_http_service**](SlingApi.md#post_config_apache_felix_jetty_based_http_service) | **POST** /apps/system/config/org.apache.felix.http |
|
|
24
|
-
[**post_config_apache_http_components_proxy_configuration**](SlingApi.md#post_config_apache_http_components_proxy_configuration) | **POST** /apps/system/config/org.apache.http.proxyconfigurator.config |
|
|
25
|
-
[**post_config_apache_sling_dav_ex_servlet**](SlingApi.md#post_config_apache_sling_dav_ex_servlet) | **POST** /apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet |
|
|
26
|
-
[**post_config_apache_sling_get_servlet**](SlingApi.md#post_config_apache_sling_get_servlet) | **POST** /apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet |
|
|
27
|
-
[**post_config_apache_sling_referrer_filter**](SlingApi.md#post_config_apache_sling_referrer_filter) | **POST** /apps/system/config/org.apache.sling.security.impl.ReferrerFilter |
|
|
28
|
-
[**post_config_property**](SlingApi.md#post_config_property) | **POST** /apps/system/config/{configNodeName} |
|
|
29
|
-
[**post_node**](SlingApi.md#post_node) | **POST** /{path}/{name} |
|
|
30
|
-
[**post_node_rw**](SlingApi.md#post_node_rw) | **POST** /{path}/{name}.rw.html |
|
|
31
|
-
[**post_path**](SlingApi.md#post_path) | **POST** /{path}/ |
|
|
32
|
-
[**post_query**](SlingApi.md#post_query) | **POST** /bin/querybuilder.json |
|
|
33
|
-
[**post_tree_activation**](SlingApi.md#post_tree_activation) | **POST** /libs/replication/treeactivation.html |
|
|
34
|
-
[**post_truststore**](SlingApi.md#post_truststore) | **POST** /libs/granite/security/post/truststore |
|
|
35
|
-
[**post_truststore_pkcs12**](SlingApi.md#post_truststore_pkcs12) | **POST** /etc/truststore |
|
|
36
|
-
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**delete_agent**](SlingApi.md#delete_agent) | **DELETE** /etc/replication/agents.{runmode}/{name} | |
|
|
8
|
+
| [**delete_node**](SlingApi.md#delete_node) | **DELETE** /{path}/{name} | |
|
|
9
|
+
| [**get_agent**](SlingApi.md#get_agent) | **GET** /etc/replication/agents.{runmode}/{name} | |
|
|
10
|
+
| [**get_agents**](SlingApi.md#get_agents) | **GET** /etc/replication/agents.{runmode}.-1.json | |
|
|
11
|
+
| [**get_authorizable_keystore**](SlingApi.md#get_authorizable_keystore) | **GET** /{intermediatePath}/{authorizableId}.ks.json | |
|
|
12
|
+
| [**get_keystore**](SlingApi.md#get_keystore) | **GET** /{intermediatePath}/{authorizableId}/keystore/store.p12 | |
|
|
13
|
+
| [**get_node**](SlingApi.md#get_node) | **GET** /{path}/{name} | |
|
|
14
|
+
| [**get_package**](SlingApi.md#get_package) | **GET** /etc/packages/{group}/{name}-{version}.zip | |
|
|
15
|
+
| [**get_package_filter**](SlingApi.md#get_package_filter) | **GET** /etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json | |
|
|
16
|
+
| [**get_query**](SlingApi.md#get_query) | **GET** /bin/querybuilder.json | |
|
|
17
|
+
| [**get_truststore**](SlingApi.md#get_truststore) | **GET** /etc/truststore/truststore.p12 | |
|
|
18
|
+
| [**get_truststore_info**](SlingApi.md#get_truststore_info) | **GET** /libs/granite/security/truststore.json | |
|
|
19
|
+
| [**post_agent**](SlingApi.md#post_agent) | **POST** /etc/replication/agents.{runmode}/{name} | |
|
|
20
|
+
| [**post_authorizable_keystore**](SlingApi.md#post_authorizable_keystore) | **POST** /{intermediatePath}/{authorizableId}.ks.html | |
|
|
21
|
+
| [**post_authorizables**](SlingApi.md#post_authorizables) | **POST** /libs/granite/security/post/authorizables | |
|
|
22
|
+
| [**post_config_adobe_granite_saml_authentication_handler**](SlingApi.md#post_config_adobe_granite_saml_authentication_handler) | **POST** /apps/system/config/com.adobe.granite.auth.saml.SamlAuthenticationHandler.config | |
|
|
23
|
+
| [**post_config_apache_felix_jetty_based_http_service**](SlingApi.md#post_config_apache_felix_jetty_based_http_service) | **POST** /apps/system/config/org.apache.felix.http | |
|
|
24
|
+
| [**post_config_apache_http_components_proxy_configuration**](SlingApi.md#post_config_apache_http_components_proxy_configuration) | **POST** /apps/system/config/org.apache.http.proxyconfigurator.config | |
|
|
25
|
+
| [**post_config_apache_sling_dav_ex_servlet**](SlingApi.md#post_config_apache_sling_dav_ex_servlet) | **POST** /apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet | |
|
|
26
|
+
| [**post_config_apache_sling_get_servlet**](SlingApi.md#post_config_apache_sling_get_servlet) | **POST** /apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet | |
|
|
27
|
+
| [**post_config_apache_sling_referrer_filter**](SlingApi.md#post_config_apache_sling_referrer_filter) | **POST** /apps/system/config/org.apache.sling.security.impl.ReferrerFilter | |
|
|
28
|
+
| [**post_config_property**](SlingApi.md#post_config_property) | **POST** /apps/system/config/{configNodeName} | |
|
|
29
|
+
| [**post_node**](SlingApi.md#post_node) | **POST** /{path}/{name} | |
|
|
30
|
+
| [**post_node_rw**](SlingApi.md#post_node_rw) | **POST** /{path}/{name}.rw.html | |
|
|
31
|
+
| [**post_path**](SlingApi.md#post_path) | **POST** /{path}/ | |
|
|
32
|
+
| [**post_query**](SlingApi.md#post_query) | **POST** /bin/querybuilder.json | |
|
|
33
|
+
| [**post_tree_activation**](SlingApi.md#post_tree_activation) | **POST** /libs/replication/treeactivation.html | |
|
|
34
|
+
| [**post_truststore**](SlingApi.md#post_truststore) | **POST** /libs/granite/security/post/truststore | |
|
|
35
|
+
| [**post_truststore_pkcs12**](SlingApi.md#post_truststore_pkcs12) | **POST** /etc/truststore | |
|
|
37
36
|
|
|
38
37
|
|
|
39
38
|
## delete_agent
|
|
@@ -42,10 +41,10 @@ Method | HTTP request | Description
|
|
|
42
41
|
|
|
43
42
|
|
|
44
43
|
|
|
45
|
-
###
|
|
44
|
+
### Examples
|
|
46
45
|
|
|
47
46
|
```ruby
|
|
48
|
-
|
|
47
|
+
require 'time'
|
|
49
48
|
require 'swagger_aem'
|
|
50
49
|
# setup authorization
|
|
51
50
|
SwaggerAemClient.configure do |config|
|
|
@@ -59,19 +58,37 @@ runmode = 'runmode_example' # String |
|
|
|
59
58
|
name = 'name_example' # String |
|
|
60
59
|
|
|
61
60
|
begin
|
|
61
|
+
|
|
62
62
|
api_instance.delete_agent(runmode, name)
|
|
63
63
|
rescue SwaggerAemClient::ApiError => e
|
|
64
|
-
puts "
|
|
64
|
+
puts "Error when calling SlingApi->delete_agent: #{e}"
|
|
65
65
|
end
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
#### Using the delete_agent_with_http_info variant
|
|
69
|
+
|
|
70
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
69
71
|
|
|
72
|
+
> <Array(nil, Integer, Hash)> delete_agent_with_http_info(runmode, name)
|
|
73
|
+
|
|
74
|
+
```ruby
|
|
75
|
+
begin
|
|
76
|
+
|
|
77
|
+
data, status_code, headers = api_instance.delete_agent_with_http_info(runmode, name)
|
|
78
|
+
p status_code # => 2xx
|
|
79
|
+
p headers # => { ... }
|
|
80
|
+
p data # => nil
|
|
81
|
+
rescue SwaggerAemClient::ApiError => e
|
|
82
|
+
puts "Error when calling SlingApi->delete_agent_with_http_info: #{e}"
|
|
83
|
+
end
|
|
84
|
+
```
|
|
70
85
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
86
|
+
### Parameters
|
|
87
|
+
|
|
88
|
+
| Name | Type | Description | Notes |
|
|
89
|
+
| ---- | ---- | ----------- | ----- |
|
|
90
|
+
| **runmode** | **String** | | |
|
|
91
|
+
| **name** | **String** | | |
|
|
75
92
|
|
|
76
93
|
### Return type
|
|
77
94
|
|
|
@@ -93,10 +110,10 @@ nil (empty response body)
|
|
|
93
110
|
|
|
94
111
|
|
|
95
112
|
|
|
96
|
-
###
|
|
113
|
+
### Examples
|
|
97
114
|
|
|
98
115
|
```ruby
|
|
99
|
-
|
|
116
|
+
require 'time'
|
|
100
117
|
require 'swagger_aem'
|
|
101
118
|
# setup authorization
|
|
102
119
|
SwaggerAemClient.configure do |config|
|
|
@@ -110,19 +127,37 @@ path = 'path_example' # String |
|
|
|
110
127
|
name = 'name_example' # String |
|
|
111
128
|
|
|
112
129
|
begin
|
|
130
|
+
|
|
113
131
|
api_instance.delete_node(path, name)
|
|
114
132
|
rescue SwaggerAemClient::ApiError => e
|
|
115
|
-
puts "
|
|
133
|
+
puts "Error when calling SlingApi->delete_node: #{e}"
|
|
116
134
|
end
|
|
117
135
|
```
|
|
118
136
|
|
|
119
|
-
|
|
137
|
+
#### Using the delete_node_with_http_info variant
|
|
120
138
|
|
|
139
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
121
140
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
141
|
+
> <Array(nil, Integer, Hash)> delete_node_with_http_info(path, name)
|
|
142
|
+
|
|
143
|
+
```ruby
|
|
144
|
+
begin
|
|
145
|
+
|
|
146
|
+
data, status_code, headers = api_instance.delete_node_with_http_info(path, name)
|
|
147
|
+
p status_code # => 2xx
|
|
148
|
+
p headers # => { ... }
|
|
149
|
+
p data # => nil
|
|
150
|
+
rescue SwaggerAemClient::ApiError => e
|
|
151
|
+
puts "Error when calling SlingApi->delete_node_with_http_info: #{e}"
|
|
152
|
+
end
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Parameters
|
|
156
|
+
|
|
157
|
+
| Name | Type | Description | Notes |
|
|
158
|
+
| ---- | ---- | ----------- | ----- |
|
|
159
|
+
| **path** | **String** | | |
|
|
160
|
+
| **name** | **String** | | |
|
|
126
161
|
|
|
127
162
|
### Return type
|
|
128
163
|
|
|
@@ -144,10 +179,10 @@ nil (empty response body)
|
|
|
144
179
|
|
|
145
180
|
|
|
146
181
|
|
|
147
|
-
###
|
|
182
|
+
### Examples
|
|
148
183
|
|
|
149
184
|
```ruby
|
|
150
|
-
|
|
185
|
+
require 'time'
|
|
151
186
|
require 'swagger_aem'
|
|
152
187
|
# setup authorization
|
|
153
188
|
SwaggerAemClient.configure do |config|
|
|
@@ -161,19 +196,37 @@ runmode = 'runmode_example' # String |
|
|
|
161
196
|
name = 'name_example' # String |
|
|
162
197
|
|
|
163
198
|
begin
|
|
199
|
+
|
|
164
200
|
api_instance.get_agent(runmode, name)
|
|
165
201
|
rescue SwaggerAemClient::ApiError => e
|
|
166
|
-
puts "
|
|
202
|
+
puts "Error when calling SlingApi->get_agent: #{e}"
|
|
167
203
|
end
|
|
168
204
|
```
|
|
169
205
|
|
|
170
|
-
|
|
206
|
+
#### Using the get_agent_with_http_info variant
|
|
207
|
+
|
|
208
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
209
|
+
|
|
210
|
+
> <Array(nil, Integer, Hash)> get_agent_with_http_info(runmode, name)
|
|
211
|
+
|
|
212
|
+
```ruby
|
|
213
|
+
begin
|
|
214
|
+
|
|
215
|
+
data, status_code, headers = api_instance.get_agent_with_http_info(runmode, name)
|
|
216
|
+
p status_code # => 2xx
|
|
217
|
+
p headers # => { ... }
|
|
218
|
+
p data # => nil
|
|
219
|
+
rescue SwaggerAemClient::ApiError => e
|
|
220
|
+
puts "Error when calling SlingApi->get_agent_with_http_info: #{e}"
|
|
221
|
+
end
|
|
222
|
+
```
|
|
171
223
|
|
|
224
|
+
### Parameters
|
|
172
225
|
|
|
173
|
-
Name | Type | Description
|
|
174
|
-
|
|
175
|
-
**runmode** | **String
|
|
176
|
-
**name** | **String
|
|
226
|
+
| Name | Type | Description | Notes |
|
|
227
|
+
| ---- | ---- | ----------- | ----- |
|
|
228
|
+
| **runmode** | **String** | | |
|
|
229
|
+
| **name** | **String** | | |
|
|
177
230
|
|
|
178
231
|
### Return type
|
|
179
232
|
|
|
@@ -195,10 +248,10 @@ nil (empty response body)
|
|
|
195
248
|
|
|
196
249
|
|
|
197
250
|
|
|
198
|
-
###
|
|
251
|
+
### Examples
|
|
199
252
|
|
|
200
253
|
```ruby
|
|
201
|
-
|
|
254
|
+
require 'time'
|
|
202
255
|
require 'swagger_aem'
|
|
203
256
|
# setup authorization
|
|
204
257
|
SwaggerAemClient.configure do |config|
|
|
@@ -211,19 +264,37 @@ api_instance = SwaggerAemClient::SlingApi.new
|
|
|
211
264
|
runmode = 'runmode_example' # String |
|
|
212
265
|
|
|
213
266
|
begin
|
|
267
|
+
|
|
214
268
|
result = api_instance.get_agents(runmode)
|
|
215
269
|
p result
|
|
216
270
|
rescue SwaggerAemClient::ApiError => e
|
|
217
|
-
puts "
|
|
271
|
+
puts "Error when calling SlingApi->get_agents: #{e}"
|
|
218
272
|
end
|
|
219
273
|
```
|
|
220
274
|
|
|
221
|
-
|
|
275
|
+
#### Using the get_agents_with_http_info variant
|
|
222
276
|
|
|
277
|
+
This returns an Array which contains the response data, status code and headers.
|
|
223
278
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
279
|
+
> <Array(String, Integer, Hash)> get_agents_with_http_info(runmode)
|
|
280
|
+
|
|
281
|
+
```ruby
|
|
282
|
+
begin
|
|
283
|
+
|
|
284
|
+
data, status_code, headers = api_instance.get_agents_with_http_info(runmode)
|
|
285
|
+
p status_code # => 2xx
|
|
286
|
+
p headers # => { ... }
|
|
287
|
+
p data # => String
|
|
288
|
+
rescue SwaggerAemClient::ApiError => e
|
|
289
|
+
puts "Error when calling SlingApi->get_agents_with_http_info: #{e}"
|
|
290
|
+
end
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
### Parameters
|
|
294
|
+
|
|
295
|
+
| Name | Type | Description | Notes |
|
|
296
|
+
| ---- | ---- | ----------- | ----- |
|
|
297
|
+
| **runmode** | **String** | | |
|
|
227
298
|
|
|
228
299
|
### Return type
|
|
229
300
|
|
|
@@ -241,14 +312,14 @@ Name | Type | Description | Notes
|
|
|
241
312
|
|
|
242
313
|
## get_authorizable_keystore
|
|
243
314
|
|
|
244
|
-
> KeystoreInfo get_authorizable_keystore(intermediate_path, authorizable_id)
|
|
315
|
+
> <KeystoreInfo> get_authorizable_keystore(intermediate_path, authorizable_id)
|
|
245
316
|
|
|
246
317
|
|
|
247
318
|
|
|
248
|
-
###
|
|
319
|
+
### Examples
|
|
249
320
|
|
|
250
321
|
```ruby
|
|
251
|
-
|
|
322
|
+
require 'time'
|
|
252
323
|
require 'swagger_aem'
|
|
253
324
|
# setup authorization
|
|
254
325
|
SwaggerAemClient.configure do |config|
|
|
@@ -262,20 +333,38 @@ intermediate_path = 'intermediate_path_example' # String |
|
|
|
262
333
|
authorizable_id = 'authorizable_id_example' # String |
|
|
263
334
|
|
|
264
335
|
begin
|
|
336
|
+
|
|
265
337
|
result = api_instance.get_authorizable_keystore(intermediate_path, authorizable_id)
|
|
266
338
|
p result
|
|
267
339
|
rescue SwaggerAemClient::ApiError => e
|
|
268
|
-
puts "
|
|
340
|
+
puts "Error when calling SlingApi->get_authorizable_keystore: #{e}"
|
|
269
341
|
end
|
|
270
342
|
```
|
|
271
343
|
|
|
272
|
-
|
|
344
|
+
#### Using the get_authorizable_keystore_with_http_info variant
|
|
345
|
+
|
|
346
|
+
This returns an Array which contains the response data, status code and headers.
|
|
347
|
+
|
|
348
|
+
> <Array(<KeystoreInfo>, Integer, Hash)> get_authorizable_keystore_with_http_info(intermediate_path, authorizable_id)
|
|
349
|
+
|
|
350
|
+
```ruby
|
|
351
|
+
begin
|
|
352
|
+
|
|
353
|
+
data, status_code, headers = api_instance.get_authorizable_keystore_with_http_info(intermediate_path, authorizable_id)
|
|
354
|
+
p status_code # => 2xx
|
|
355
|
+
p headers # => { ... }
|
|
356
|
+
p data # => <KeystoreInfo>
|
|
357
|
+
rescue SwaggerAemClient::ApiError => e
|
|
358
|
+
puts "Error when calling SlingApi->get_authorizable_keystore_with_http_info: #{e}"
|
|
359
|
+
end
|
|
360
|
+
```
|
|
273
361
|
|
|
362
|
+
### Parameters
|
|
274
363
|
|
|
275
|
-
Name | Type | Description
|
|
276
|
-
|
|
277
|
-
**intermediate_path** | **String
|
|
278
|
-
**authorizable_id** | **String
|
|
364
|
+
| Name | Type | Description | Notes |
|
|
365
|
+
| ---- | ---- | ----------- | ----- |
|
|
366
|
+
| **intermediate_path** | **String** | | |
|
|
367
|
+
| **authorizable_id** | **String** | | |
|
|
279
368
|
|
|
280
369
|
### Return type
|
|
281
370
|
|
|
@@ -297,10 +386,10 @@ Name | Type | Description | Notes
|
|
|
297
386
|
|
|
298
387
|
|
|
299
388
|
|
|
300
|
-
###
|
|
389
|
+
### Examples
|
|
301
390
|
|
|
302
391
|
```ruby
|
|
303
|
-
|
|
392
|
+
require 'time'
|
|
304
393
|
require 'swagger_aem'
|
|
305
394
|
# setup authorization
|
|
306
395
|
SwaggerAemClient.configure do |config|
|
|
@@ -314,20 +403,38 @@ intermediate_path = 'intermediate_path_example' # String |
|
|
|
314
403
|
authorizable_id = 'authorizable_id_example' # String |
|
|
315
404
|
|
|
316
405
|
begin
|
|
406
|
+
|
|
317
407
|
result = api_instance.get_keystore(intermediate_path, authorizable_id)
|
|
318
408
|
p result
|
|
319
409
|
rescue SwaggerAemClient::ApiError => e
|
|
320
|
-
puts "
|
|
410
|
+
puts "Error when calling SlingApi->get_keystore: #{e}"
|
|
321
411
|
end
|
|
322
412
|
```
|
|
323
413
|
|
|
324
|
-
|
|
414
|
+
#### Using the get_keystore_with_http_info variant
|
|
415
|
+
|
|
416
|
+
This returns an Array which contains the response data, status code and headers.
|
|
417
|
+
|
|
418
|
+
> <Array(File, Integer, Hash)> get_keystore_with_http_info(intermediate_path, authorizable_id)
|
|
419
|
+
|
|
420
|
+
```ruby
|
|
421
|
+
begin
|
|
422
|
+
|
|
423
|
+
data, status_code, headers = api_instance.get_keystore_with_http_info(intermediate_path, authorizable_id)
|
|
424
|
+
p status_code # => 2xx
|
|
425
|
+
p headers # => { ... }
|
|
426
|
+
p data # => File
|
|
427
|
+
rescue SwaggerAemClient::ApiError => e
|
|
428
|
+
puts "Error when calling SlingApi->get_keystore_with_http_info: #{e}"
|
|
429
|
+
end
|
|
430
|
+
```
|
|
325
431
|
|
|
432
|
+
### Parameters
|
|
326
433
|
|
|
327
|
-
Name | Type | Description
|
|
328
|
-
|
|
329
|
-
**intermediate_path** | **String
|
|
330
|
-
**authorizable_id** | **String
|
|
434
|
+
| Name | Type | Description | Notes |
|
|
435
|
+
| ---- | ---- | ----------- | ----- |
|
|
436
|
+
| **intermediate_path** | **String** | | |
|
|
437
|
+
| **authorizable_id** | **String** | | |
|
|
331
438
|
|
|
332
439
|
### Return type
|
|
333
440
|
|
|
@@ -349,10 +456,10 @@ Name | Type | Description | Notes
|
|
|
349
456
|
|
|
350
457
|
|
|
351
458
|
|
|
352
|
-
###
|
|
459
|
+
### Examples
|
|
353
460
|
|
|
354
461
|
```ruby
|
|
355
|
-
|
|
462
|
+
require 'time'
|
|
356
463
|
require 'swagger_aem'
|
|
357
464
|
# setup authorization
|
|
358
465
|
SwaggerAemClient.configure do |config|
|
|
@@ -366,19 +473,37 @@ path = 'path_example' # String |
|
|
|
366
473
|
name = 'name_example' # String |
|
|
367
474
|
|
|
368
475
|
begin
|
|
476
|
+
|
|
369
477
|
api_instance.get_node(path, name)
|
|
370
478
|
rescue SwaggerAemClient::ApiError => e
|
|
371
|
-
puts "
|
|
479
|
+
puts "Error when calling SlingApi->get_node: #{e}"
|
|
372
480
|
end
|
|
373
481
|
```
|
|
374
482
|
|
|
375
|
-
|
|
483
|
+
#### Using the get_node_with_http_info variant
|
|
484
|
+
|
|
485
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
486
|
+
|
|
487
|
+
> <Array(nil, Integer, Hash)> get_node_with_http_info(path, name)
|
|
376
488
|
|
|
489
|
+
```ruby
|
|
490
|
+
begin
|
|
491
|
+
|
|
492
|
+
data, status_code, headers = api_instance.get_node_with_http_info(path, name)
|
|
493
|
+
p status_code # => 2xx
|
|
494
|
+
p headers # => { ... }
|
|
495
|
+
p data # => nil
|
|
496
|
+
rescue SwaggerAemClient::ApiError => e
|
|
497
|
+
puts "Error when calling SlingApi->get_node_with_http_info: #{e}"
|
|
498
|
+
end
|
|
499
|
+
```
|
|
377
500
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
501
|
+
### Parameters
|
|
502
|
+
|
|
503
|
+
| Name | Type | Description | Notes |
|
|
504
|
+
| ---- | ---- | ----------- | ----- |
|
|
505
|
+
| **path** | **String** | | |
|
|
506
|
+
| **name** | **String** | | |
|
|
382
507
|
|
|
383
508
|
### Return type
|
|
384
509
|
|
|
@@ -400,10 +525,10 @@ nil (empty response body)
|
|
|
400
525
|
|
|
401
526
|
|
|
402
527
|
|
|
403
|
-
###
|
|
528
|
+
### Examples
|
|
404
529
|
|
|
405
530
|
```ruby
|
|
406
|
-
|
|
531
|
+
require 'time'
|
|
407
532
|
require 'swagger_aem'
|
|
408
533
|
# setup authorization
|
|
409
534
|
SwaggerAemClient.configure do |config|
|
|
@@ -418,21 +543,39 @@ name = 'name_example' # String |
|
|
|
418
543
|
version = 'version_example' # String |
|
|
419
544
|
|
|
420
545
|
begin
|
|
546
|
+
|
|
421
547
|
result = api_instance.get_package(group, name, version)
|
|
422
548
|
p result
|
|
423
549
|
rescue SwaggerAemClient::ApiError => e
|
|
424
|
-
puts "
|
|
550
|
+
puts "Error when calling SlingApi->get_package: #{e}"
|
|
425
551
|
end
|
|
426
552
|
```
|
|
427
553
|
|
|
428
|
-
|
|
554
|
+
#### Using the get_package_with_http_info variant
|
|
429
555
|
|
|
556
|
+
This returns an Array which contains the response data, status code and headers.
|
|
430
557
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
558
|
+
> <Array(File, Integer, Hash)> get_package_with_http_info(group, name, version)
|
|
559
|
+
|
|
560
|
+
```ruby
|
|
561
|
+
begin
|
|
562
|
+
|
|
563
|
+
data, status_code, headers = api_instance.get_package_with_http_info(group, name, version)
|
|
564
|
+
p status_code # => 2xx
|
|
565
|
+
p headers # => { ... }
|
|
566
|
+
p data # => File
|
|
567
|
+
rescue SwaggerAemClient::ApiError => e
|
|
568
|
+
puts "Error when calling SlingApi->get_package_with_http_info: #{e}"
|
|
569
|
+
end
|
|
570
|
+
```
|
|
571
|
+
|
|
572
|
+
### Parameters
|
|
573
|
+
|
|
574
|
+
| Name | Type | Description | Notes |
|
|
575
|
+
| ---- | ---- | ----------- | ----- |
|
|
576
|
+
| **group** | **String** | | |
|
|
577
|
+
| **name** | **String** | | |
|
|
578
|
+
| **version** | **String** | | |
|
|
436
579
|
|
|
437
580
|
### Return type
|
|
438
581
|
|
|
@@ -454,10 +597,10 @@ Name | Type | Description | Notes
|
|
|
454
597
|
|
|
455
598
|
|
|
456
599
|
|
|
457
|
-
###
|
|
600
|
+
### Examples
|
|
458
601
|
|
|
459
602
|
```ruby
|
|
460
|
-
|
|
603
|
+
require 'time'
|
|
461
604
|
require 'swagger_aem'
|
|
462
605
|
# setup authorization
|
|
463
606
|
SwaggerAemClient.configure do |config|
|
|
@@ -472,21 +615,39 @@ name = 'name_example' # String |
|
|
|
472
615
|
version = 'version_example' # String |
|
|
473
616
|
|
|
474
617
|
begin
|
|
618
|
+
|
|
475
619
|
result = api_instance.get_package_filter(group, name, version)
|
|
476
620
|
p result
|
|
477
621
|
rescue SwaggerAemClient::ApiError => e
|
|
478
|
-
puts "
|
|
622
|
+
puts "Error when calling SlingApi->get_package_filter: #{e}"
|
|
479
623
|
end
|
|
480
624
|
```
|
|
481
625
|
|
|
482
|
-
|
|
626
|
+
#### Using the get_package_filter_with_http_info variant
|
|
483
627
|
|
|
628
|
+
This returns an Array which contains the response data, status code and headers.
|
|
629
|
+
|
|
630
|
+
> <Array(String, Integer, Hash)> get_package_filter_with_http_info(group, name, version)
|
|
631
|
+
|
|
632
|
+
```ruby
|
|
633
|
+
begin
|
|
634
|
+
|
|
635
|
+
data, status_code, headers = api_instance.get_package_filter_with_http_info(group, name, version)
|
|
636
|
+
p status_code # => 2xx
|
|
637
|
+
p headers # => { ... }
|
|
638
|
+
p data # => String
|
|
639
|
+
rescue SwaggerAemClient::ApiError => e
|
|
640
|
+
puts "Error when calling SlingApi->get_package_filter_with_http_info: #{e}"
|
|
641
|
+
end
|
|
642
|
+
```
|
|
643
|
+
|
|
644
|
+
### Parameters
|
|
484
645
|
|
|
485
|
-
Name | Type | Description
|
|
486
|
-
|
|
487
|
-
**group** | **String
|
|
488
|
-
**name** | **String
|
|
489
|
-
**version** | **String
|
|
646
|
+
| Name | Type | Description | Notes |
|
|
647
|
+
| ---- | ---- | ----------- | ----- |
|
|
648
|
+
| **group** | **String** | | |
|
|
649
|
+
| **name** | **String** | | |
|
|
650
|
+
| **version** | **String** | | |
|
|
490
651
|
|
|
491
652
|
### Return type
|
|
492
653
|
|
|
@@ -508,10 +669,10 @@ Name | Type | Description | Notes
|
|
|
508
669
|
|
|
509
670
|
|
|
510
671
|
|
|
511
|
-
###
|
|
672
|
+
### Examples
|
|
512
673
|
|
|
513
674
|
```ruby
|
|
514
|
-
|
|
675
|
+
require 'time'
|
|
515
676
|
require 'swagger_aem'
|
|
516
677
|
# setup authorization
|
|
517
678
|
SwaggerAemClient.configure do |config|
|
|
@@ -522,27 +683,45 @@ end
|
|
|
522
683
|
|
|
523
684
|
api_instance = SwaggerAemClient::SlingApi.new
|
|
524
685
|
path = 'path_example' # String |
|
|
525
|
-
p_limit =
|
|
686
|
+
p_limit = 8.14 # Float |
|
|
526
687
|
_1_property = '_1_property_example' # String |
|
|
527
688
|
_1_property_value = '_1_property_value_example' # String |
|
|
528
689
|
|
|
529
690
|
begin
|
|
691
|
+
|
|
530
692
|
result = api_instance.get_query(path, p_limit, _1_property, _1_property_value)
|
|
531
693
|
p result
|
|
532
694
|
rescue SwaggerAemClient::ApiError => e
|
|
533
|
-
puts "
|
|
695
|
+
puts "Error when calling SlingApi->get_query: #{e}"
|
|
534
696
|
end
|
|
535
697
|
```
|
|
536
698
|
|
|
537
|
-
|
|
699
|
+
#### Using the get_query_with_http_info variant
|
|
700
|
+
|
|
701
|
+
This returns an Array which contains the response data, status code and headers.
|
|
702
|
+
|
|
703
|
+
> <Array(String, Integer, Hash)> get_query_with_http_info(path, p_limit, _1_property, _1_property_value)
|
|
704
|
+
|
|
705
|
+
```ruby
|
|
706
|
+
begin
|
|
707
|
+
|
|
708
|
+
data, status_code, headers = api_instance.get_query_with_http_info(path, p_limit, _1_property, _1_property_value)
|
|
709
|
+
p status_code # => 2xx
|
|
710
|
+
p headers # => { ... }
|
|
711
|
+
p data # => String
|
|
712
|
+
rescue SwaggerAemClient::ApiError => e
|
|
713
|
+
puts "Error when calling SlingApi->get_query_with_http_info: #{e}"
|
|
714
|
+
end
|
|
715
|
+
```
|
|
538
716
|
|
|
717
|
+
### Parameters
|
|
539
718
|
|
|
540
|
-
Name | Type | Description
|
|
541
|
-
|
|
542
|
-
**path** | **String
|
|
543
|
-
**p_limit** | **Float
|
|
544
|
-
**_1_property** | **String
|
|
545
|
-
**_1_property_value** | **String
|
|
719
|
+
| Name | Type | Description | Notes |
|
|
720
|
+
| ---- | ---- | ----------- | ----- |
|
|
721
|
+
| **path** | **String** | | |
|
|
722
|
+
| **p_limit** | **Float** | | |
|
|
723
|
+
| **_1_property** | **String** | | |
|
|
724
|
+
| **_1_property_value** | **String** | | |
|
|
546
725
|
|
|
547
726
|
### Return type
|
|
548
727
|
|
|
@@ -564,10 +743,10 @@ Name | Type | Description | Notes
|
|
|
564
743
|
|
|
565
744
|
|
|
566
745
|
|
|
567
|
-
###
|
|
746
|
+
### Examples
|
|
568
747
|
|
|
569
748
|
```ruby
|
|
570
|
-
|
|
749
|
+
require 'time'
|
|
571
750
|
require 'swagger_aem'
|
|
572
751
|
# setup authorization
|
|
573
752
|
SwaggerAemClient.configure do |config|
|
|
@@ -579,10 +758,29 @@ end
|
|
|
579
758
|
api_instance = SwaggerAemClient::SlingApi.new
|
|
580
759
|
|
|
581
760
|
begin
|
|
761
|
+
|
|
582
762
|
result = api_instance.get_truststore
|
|
583
763
|
p result
|
|
584
764
|
rescue SwaggerAemClient::ApiError => e
|
|
585
|
-
puts "
|
|
765
|
+
puts "Error when calling SlingApi->get_truststore: #{e}"
|
|
766
|
+
end
|
|
767
|
+
```
|
|
768
|
+
|
|
769
|
+
#### Using the get_truststore_with_http_info variant
|
|
770
|
+
|
|
771
|
+
This returns an Array which contains the response data, status code and headers.
|
|
772
|
+
|
|
773
|
+
> <Array(File, Integer, Hash)> get_truststore_with_http_info
|
|
774
|
+
|
|
775
|
+
```ruby
|
|
776
|
+
begin
|
|
777
|
+
|
|
778
|
+
data, status_code, headers = api_instance.get_truststore_with_http_info
|
|
779
|
+
p status_code # => 2xx
|
|
780
|
+
p headers # => { ... }
|
|
781
|
+
p data # => File
|
|
782
|
+
rescue SwaggerAemClient::ApiError => e
|
|
783
|
+
puts "Error when calling SlingApi->get_truststore_with_http_info: #{e}"
|
|
586
784
|
end
|
|
587
785
|
```
|
|
588
786
|
|
|
@@ -606,14 +804,14 @@ This endpoint does not need any parameter.
|
|
|
606
804
|
|
|
607
805
|
## get_truststore_info
|
|
608
806
|
|
|
609
|
-
> TruststoreInfo get_truststore_info
|
|
807
|
+
> <TruststoreInfo> get_truststore_info
|
|
610
808
|
|
|
611
809
|
|
|
612
810
|
|
|
613
|
-
###
|
|
811
|
+
### Examples
|
|
614
812
|
|
|
615
813
|
```ruby
|
|
616
|
-
|
|
814
|
+
require 'time'
|
|
617
815
|
require 'swagger_aem'
|
|
618
816
|
# setup authorization
|
|
619
817
|
SwaggerAemClient.configure do |config|
|
|
@@ -625,10 +823,29 @@ end
|
|
|
625
823
|
api_instance = SwaggerAemClient::SlingApi.new
|
|
626
824
|
|
|
627
825
|
begin
|
|
826
|
+
|
|
628
827
|
result = api_instance.get_truststore_info
|
|
629
828
|
p result
|
|
630
829
|
rescue SwaggerAemClient::ApiError => e
|
|
631
|
-
puts "
|
|
830
|
+
puts "Error when calling SlingApi->get_truststore_info: #{e}"
|
|
831
|
+
end
|
|
832
|
+
```
|
|
833
|
+
|
|
834
|
+
#### Using the get_truststore_info_with_http_info variant
|
|
835
|
+
|
|
836
|
+
This returns an Array which contains the response data, status code and headers.
|
|
837
|
+
|
|
838
|
+
> <Array(<TruststoreInfo>, Integer, Hash)> get_truststore_info_with_http_info
|
|
839
|
+
|
|
840
|
+
```ruby
|
|
841
|
+
begin
|
|
842
|
+
|
|
843
|
+
data, status_code, headers = api_instance.get_truststore_info_with_http_info
|
|
844
|
+
p status_code # => 2xx
|
|
845
|
+
p headers # => { ... }
|
|
846
|
+
p data # => <TruststoreInfo>
|
|
847
|
+
rescue SwaggerAemClient::ApiError => e
|
|
848
|
+
puts "Error when calling SlingApi->get_truststore_info_with_http_info: #{e}"
|
|
632
849
|
end
|
|
633
850
|
```
|
|
634
851
|
|
|
@@ -656,10 +873,10 @@ This endpoint does not need any parameter.
|
|
|
656
873
|
|
|
657
874
|
|
|
658
875
|
|
|
659
|
-
###
|
|
876
|
+
### Examples
|
|
660
877
|
|
|
661
878
|
```ruby
|
|
662
|
-
|
|
879
|
+
require 'time'
|
|
663
880
|
require 'swagger_aem'
|
|
664
881
|
# setup authorization
|
|
665
882
|
SwaggerAemClient.configure do |config|
|
|
@@ -672,122 +889,142 @@ api_instance = SwaggerAemClient::SlingApi.new
|
|
|
672
889
|
runmode = 'runmode_example' # String |
|
|
673
890
|
name = 'name_example' # String |
|
|
674
891
|
opts = {
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
892
|
+
jcr_content_cq_distribute: true, # Boolean |
|
|
893
|
+
jcr_content_cq_distribute_type_hint: 'jcr_content_cq_distribute_type_hint_example', # String |
|
|
894
|
+
jcr_content_cq_name: 'jcr_content_cq_name_example', # String |
|
|
895
|
+
jcr_content_cq_template: 'jcr_content_cq_template_example', # String |
|
|
896
|
+
jcr_content_alias_update: true, # Boolean |
|
|
897
|
+
jcr_content_enabled: true, # Boolean |
|
|
898
|
+
jcr_content_jcr_description: 'jcr_content_jcr_description_example', # String |
|
|
899
|
+
jcr_content_jcr_last_modified: 'jcr_content_jcr_last_modified_example', # String |
|
|
900
|
+
jcr_content_jcr_last_modified_by: 'jcr_content_jcr_last_modified_by_example', # String |
|
|
901
|
+
jcr_content_jcr_mixin_types: 'jcr_content_jcr_mixin_types_example', # String |
|
|
902
|
+
jcr_content_jcr_title: 'jcr_content_jcr_title_example', # String |
|
|
903
|
+
jcr_content_log_level: 'jcr_content_log_level_example', # String |
|
|
904
|
+
jcr_content_no_status_update: true, # Boolean |
|
|
905
|
+
jcr_content_no_versioning: true, # Boolean |
|
|
906
|
+
jcr_content_protocol_connect_timeout: 8.14, # Float |
|
|
907
|
+
jcr_content_protocol_http_connection_closed: true, # Boolean |
|
|
908
|
+
jcr_content_protocol_http_expired: 'jcr_content_protocol_http_expired_example', # String |
|
|
909
|
+
jcr_content_protocol_http_headers: ['inner_example'], # Array<String> |
|
|
910
|
+
jcr_content_protocol_http_headers_type_hint: 'jcr_content_protocol_http_headers_type_hint_example', # String |
|
|
911
|
+
jcr_content_protocol_http_method: 'jcr_content_protocol_http_method_example', # String |
|
|
912
|
+
jcr_content_protocol_https_relaxed: true, # Boolean |
|
|
913
|
+
jcr_content_protocol_interface: 'jcr_content_protocol_interface_example', # String |
|
|
914
|
+
jcr_content_protocol_socket_timeout: 8.14, # Float |
|
|
915
|
+
jcr_content_protocol_version: 'jcr_content_protocol_version_example', # String |
|
|
916
|
+
jcr_content_proxy_ntlm_domain: 'jcr_content_proxy_ntlm_domain_example', # String |
|
|
917
|
+
jcr_content_proxy_ntlm_host: 'jcr_content_proxy_ntlm_host_example', # String |
|
|
918
|
+
jcr_content_proxy_host: 'jcr_content_proxy_host_example', # String |
|
|
919
|
+
jcr_content_proxy_password: 'jcr_content_proxy_password_example', # String |
|
|
920
|
+
jcr_content_proxy_port: 8.14, # Float |
|
|
921
|
+
jcr_content_proxy_user: 'jcr_content_proxy_user_example', # String |
|
|
922
|
+
jcr_content_queue_batch_max_size: 8.14, # Float |
|
|
923
|
+
jcr_content_queue_batch_mode: 'jcr_content_queue_batch_mode_example', # String |
|
|
924
|
+
jcr_content_queue_batch_wait_time: 8.14, # Float |
|
|
925
|
+
jcr_content_retry_delay: 'jcr_content_retry_delay_example', # String |
|
|
926
|
+
jcr_content_reverse_replication: true, # Boolean |
|
|
927
|
+
jcr_content_serialization_type: 'jcr_content_serialization_type_example', # String |
|
|
928
|
+
jcr_content_sling_resource_type: 'jcr_content_sling_resource_type_example', # String |
|
|
929
|
+
jcr_content_ssl: 'jcr_content_ssl_example', # String |
|
|
930
|
+
jcr_content_transport_ntlm_domain: 'jcr_content_transport_ntlm_domain_example', # String |
|
|
931
|
+
jcr_content_transport_ntlm_host: 'jcr_content_transport_ntlm_host_example', # String |
|
|
932
|
+
jcr_content_transport_password: 'jcr_content_transport_password_example', # String |
|
|
933
|
+
jcr_content_transport_uri: 'jcr_content_transport_uri_example', # String |
|
|
934
|
+
jcr_content_transport_user: 'jcr_content_transport_user_example', # String |
|
|
935
|
+
jcr_content_trigger_distribute: true, # Boolean |
|
|
936
|
+
jcr_content_trigger_modified: true, # Boolean |
|
|
937
|
+
jcr_content_trigger_on_off_time: true, # Boolean |
|
|
938
|
+
jcr_content_trigger_receive: true, # Boolean |
|
|
939
|
+
jcr_content_trigger_specific: true, # Boolean |
|
|
940
|
+
jcr_content_user_id: 'jcr_content_user_id_example', # String |
|
|
941
|
+
jcr_primary_type: 'jcr_primary_type_example', # String |
|
|
942
|
+
_operation: '_operation_example' # String |
|
|
725
943
|
}
|
|
726
944
|
|
|
727
945
|
begin
|
|
946
|
+
|
|
728
947
|
api_instance.post_agent(runmode, name, opts)
|
|
729
948
|
rescue SwaggerAemClient::ApiError => e
|
|
730
|
-
puts "
|
|
949
|
+
puts "Error when calling SlingApi->post_agent: #{e}"
|
|
731
950
|
end
|
|
732
951
|
```
|
|
733
952
|
|
|
734
|
-
|
|
953
|
+
#### Using the post_agent_with_http_info variant
|
|
954
|
+
|
|
955
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
956
|
+
|
|
957
|
+
> <Array(nil, Integer, Hash)> post_agent_with_http_info(runmode, name, opts)
|
|
958
|
+
|
|
959
|
+
```ruby
|
|
960
|
+
begin
|
|
961
|
+
|
|
962
|
+
data, status_code, headers = api_instance.post_agent_with_http_info(runmode, name, opts)
|
|
963
|
+
p status_code # => 2xx
|
|
964
|
+
p headers # => { ... }
|
|
965
|
+
p data # => nil
|
|
966
|
+
rescue SwaggerAemClient::ApiError => e
|
|
967
|
+
puts "Error when calling SlingApi->post_agent_with_http_info: #{e}"
|
|
968
|
+
end
|
|
969
|
+
```
|
|
735
970
|
|
|
971
|
+
### Parameters
|
|
736
972
|
|
|
737
|
-
Name | Type | Description
|
|
738
|
-
|
|
739
|
-
**runmode** | **String
|
|
740
|
-
**name** | **String
|
|
741
|
-
**
|
|
742
|
-
**
|
|
743
|
-
**
|
|
744
|
-
**
|
|
745
|
-
**
|
|
746
|
-
**
|
|
747
|
-
**
|
|
748
|
-
**
|
|
749
|
-
**
|
|
750
|
-
**
|
|
751
|
-
**
|
|
752
|
-
**
|
|
753
|
-
**
|
|
754
|
-
**
|
|
755
|
-
**
|
|
756
|
-
**
|
|
757
|
-
**
|
|
758
|
-
**
|
|
759
|
-
**
|
|
760
|
-
**
|
|
761
|
-
**
|
|
762
|
-
**
|
|
763
|
-
**
|
|
764
|
-
**
|
|
765
|
-
**
|
|
766
|
-
**
|
|
767
|
-
**
|
|
768
|
-
**
|
|
769
|
-
**
|
|
770
|
-
**
|
|
771
|
-
**
|
|
772
|
-
**
|
|
773
|
-
**
|
|
774
|
-
**
|
|
775
|
-
**
|
|
776
|
-
**
|
|
777
|
-
**
|
|
778
|
-
**
|
|
779
|
-
**
|
|
780
|
-
**
|
|
781
|
-
**
|
|
782
|
-
**
|
|
783
|
-
**
|
|
784
|
-
**
|
|
785
|
-
**
|
|
786
|
-
**
|
|
787
|
-
**
|
|
788
|
-
**
|
|
789
|
-
**
|
|
790
|
-
**
|
|
973
|
+
| Name | Type | Description | Notes |
|
|
974
|
+
| ---- | ---- | ----------- | ----- |
|
|
975
|
+
| **runmode** | **String** | | |
|
|
976
|
+
| **name** | **String** | | |
|
|
977
|
+
| **jcr_content_cq_distribute** | **Boolean** | | [optional] |
|
|
978
|
+
| **jcr_content_cq_distribute_type_hint** | **String** | | [optional] |
|
|
979
|
+
| **jcr_content_cq_name** | **String** | | [optional] |
|
|
980
|
+
| **jcr_content_cq_template** | **String** | | [optional] |
|
|
981
|
+
| **jcr_content_alias_update** | **Boolean** | | [optional] |
|
|
982
|
+
| **jcr_content_enabled** | **Boolean** | | [optional] |
|
|
983
|
+
| **jcr_content_jcr_description** | **String** | | [optional] |
|
|
984
|
+
| **jcr_content_jcr_last_modified** | **String** | | [optional] |
|
|
985
|
+
| **jcr_content_jcr_last_modified_by** | **String** | | [optional] |
|
|
986
|
+
| **jcr_content_jcr_mixin_types** | **String** | | [optional] |
|
|
987
|
+
| **jcr_content_jcr_title** | **String** | | [optional] |
|
|
988
|
+
| **jcr_content_log_level** | **String** | | [optional] |
|
|
989
|
+
| **jcr_content_no_status_update** | **Boolean** | | [optional] |
|
|
990
|
+
| **jcr_content_no_versioning** | **Boolean** | | [optional] |
|
|
991
|
+
| **jcr_content_protocol_connect_timeout** | **Float** | | [optional] |
|
|
992
|
+
| **jcr_content_protocol_http_connection_closed** | **Boolean** | | [optional] |
|
|
993
|
+
| **jcr_content_protocol_http_expired** | **String** | | [optional] |
|
|
994
|
+
| **jcr_content_protocol_http_headers** | [**Array<String>**](String.md) | | [optional] |
|
|
995
|
+
| **jcr_content_protocol_http_headers_type_hint** | **String** | | [optional] |
|
|
996
|
+
| **jcr_content_protocol_http_method** | **String** | | [optional] |
|
|
997
|
+
| **jcr_content_protocol_https_relaxed** | **Boolean** | | [optional] |
|
|
998
|
+
| **jcr_content_protocol_interface** | **String** | | [optional] |
|
|
999
|
+
| **jcr_content_protocol_socket_timeout** | **Float** | | [optional] |
|
|
1000
|
+
| **jcr_content_protocol_version** | **String** | | [optional] |
|
|
1001
|
+
| **jcr_content_proxy_ntlm_domain** | **String** | | [optional] |
|
|
1002
|
+
| **jcr_content_proxy_ntlm_host** | **String** | | [optional] |
|
|
1003
|
+
| **jcr_content_proxy_host** | **String** | | [optional] |
|
|
1004
|
+
| **jcr_content_proxy_password** | **String** | | [optional] |
|
|
1005
|
+
| **jcr_content_proxy_port** | **Float** | | [optional] |
|
|
1006
|
+
| **jcr_content_proxy_user** | **String** | | [optional] |
|
|
1007
|
+
| **jcr_content_queue_batch_max_size** | **Float** | | [optional] |
|
|
1008
|
+
| **jcr_content_queue_batch_mode** | **String** | | [optional] |
|
|
1009
|
+
| **jcr_content_queue_batch_wait_time** | **Float** | | [optional] |
|
|
1010
|
+
| **jcr_content_retry_delay** | **String** | | [optional] |
|
|
1011
|
+
| **jcr_content_reverse_replication** | **Boolean** | | [optional] |
|
|
1012
|
+
| **jcr_content_serialization_type** | **String** | | [optional] |
|
|
1013
|
+
| **jcr_content_sling_resource_type** | **String** | | [optional] |
|
|
1014
|
+
| **jcr_content_ssl** | **String** | | [optional] |
|
|
1015
|
+
| **jcr_content_transport_ntlm_domain** | **String** | | [optional] |
|
|
1016
|
+
| **jcr_content_transport_ntlm_host** | **String** | | [optional] |
|
|
1017
|
+
| **jcr_content_transport_password** | **String** | | [optional] |
|
|
1018
|
+
| **jcr_content_transport_uri** | **String** | | [optional] |
|
|
1019
|
+
| **jcr_content_transport_user** | **String** | | [optional] |
|
|
1020
|
+
| **jcr_content_trigger_distribute** | **Boolean** | | [optional] |
|
|
1021
|
+
| **jcr_content_trigger_modified** | **Boolean** | | [optional] |
|
|
1022
|
+
| **jcr_content_trigger_on_off_time** | **Boolean** | | [optional] |
|
|
1023
|
+
| **jcr_content_trigger_receive** | **Boolean** | | [optional] |
|
|
1024
|
+
| **jcr_content_trigger_specific** | **Boolean** | | [optional] |
|
|
1025
|
+
| **jcr_content_user_id** | **String** | | [optional] |
|
|
1026
|
+
| **jcr_primary_type** | **String** | | [optional] |
|
|
1027
|
+
| **_operation** | **String** | | [optional] |
|
|
791
1028
|
|
|
792
1029
|
### Return type
|
|
793
1030
|
|
|
@@ -805,14 +1042,14 @@ nil (empty response body)
|
|
|
805
1042
|
|
|
806
1043
|
## post_authorizable_keystore
|
|
807
1044
|
|
|
808
|
-
> KeystoreInfo post_authorizable_keystore(intermediate_path, authorizable_id, opts)
|
|
1045
|
+
> <KeystoreInfo> post_authorizable_keystore(intermediate_path, authorizable_id, opts)
|
|
809
1046
|
|
|
810
1047
|
|
|
811
1048
|
|
|
812
|
-
###
|
|
1049
|
+
### Examples
|
|
813
1050
|
|
|
814
1051
|
```ruby
|
|
815
|
-
|
|
1052
|
+
require 'time'
|
|
816
1053
|
require 'swagger_aem'
|
|
817
1054
|
# setup authorization
|
|
818
1055
|
SwaggerAemClient.configure do |config|
|
|
@@ -825,7 +1062,7 @@ api_instance = SwaggerAemClient::SlingApi.new
|
|
|
825
1062
|
intermediate_path = 'intermediate_path_example' # String |
|
|
826
1063
|
authorizable_id = 'authorizable_id_example' # String |
|
|
827
1064
|
opts = {
|
|
828
|
-
|
|
1065
|
+
_operation: '_operation_example', # String |
|
|
829
1066
|
current_password: 'current_password_example', # String |
|
|
830
1067
|
new_password: 'new_password_example', # String |
|
|
831
1068
|
re_password: 're_password_example', # String |
|
|
@@ -834,38 +1071,56 @@ opts = {
|
|
|
834
1071
|
_alias: '_alias_example', # String |
|
|
835
1072
|
new_alias: 'new_alias_example', # String |
|
|
836
1073
|
remove_alias: 'remove_alias_example', # String |
|
|
837
|
-
cert_chain: File.new('/path/to/file'), # File |
|
|
838
|
-
pk: File.new('/path/to/file'), # File |
|
|
839
|
-
key_store: File.new('/path/to/file') # File |
|
|
1074
|
+
cert_chain: File.new('/path/to/some/file'), # File |
|
|
1075
|
+
pk: File.new('/path/to/some/file'), # File |
|
|
1076
|
+
key_store: File.new('/path/to/some/file') # File |
|
|
840
1077
|
}
|
|
841
1078
|
|
|
842
1079
|
begin
|
|
1080
|
+
|
|
843
1081
|
result = api_instance.post_authorizable_keystore(intermediate_path, authorizable_id, opts)
|
|
844
1082
|
p result
|
|
845
1083
|
rescue SwaggerAemClient::ApiError => e
|
|
846
|
-
puts "
|
|
1084
|
+
puts "Error when calling SlingApi->post_authorizable_keystore: #{e}"
|
|
847
1085
|
end
|
|
848
1086
|
```
|
|
849
1087
|
|
|
850
|
-
|
|
1088
|
+
#### Using the post_authorizable_keystore_with_http_info variant
|
|
1089
|
+
|
|
1090
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1091
|
+
|
|
1092
|
+
> <Array(<KeystoreInfo>, Integer, Hash)> post_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts)
|
|
1093
|
+
|
|
1094
|
+
```ruby
|
|
1095
|
+
begin
|
|
1096
|
+
|
|
1097
|
+
data, status_code, headers = api_instance.post_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts)
|
|
1098
|
+
p status_code # => 2xx
|
|
1099
|
+
p headers # => { ... }
|
|
1100
|
+
p data # => <KeystoreInfo>
|
|
1101
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1102
|
+
puts "Error when calling SlingApi->post_authorizable_keystore_with_http_info: #{e}"
|
|
1103
|
+
end
|
|
1104
|
+
```
|
|
851
1105
|
|
|
1106
|
+
### Parameters
|
|
852
1107
|
|
|
853
|
-
Name | Type | Description
|
|
854
|
-
|
|
855
|
-
**intermediate_path** | **String
|
|
856
|
-
**authorizable_id** | **String
|
|
857
|
-
**
|
|
858
|
-
**current_password** | **String
|
|
859
|
-
**new_password** | **String
|
|
860
|
-
**re_password** | **String
|
|
861
|
-
**key_password** | **String
|
|
862
|
-
**key_store_pass** | **String
|
|
863
|
-
**_alias** | **String
|
|
864
|
-
**new_alias** | **String
|
|
865
|
-
**remove_alias** | **String
|
|
866
|
-
**cert_chain** | **File
|
|
867
|
-
**pk** | **File
|
|
868
|
-
**key_store** | **File
|
|
1108
|
+
| Name | Type | Description | Notes |
|
|
1109
|
+
| ---- | ---- | ----------- | ----- |
|
|
1110
|
+
| **intermediate_path** | **String** | | |
|
|
1111
|
+
| **authorizable_id** | **String** | | |
|
|
1112
|
+
| **_operation** | **String** | | [optional] |
|
|
1113
|
+
| **current_password** | **String** | | [optional] |
|
|
1114
|
+
| **new_password** | **String** | | [optional] |
|
|
1115
|
+
| **re_password** | **String** | | [optional] |
|
|
1116
|
+
| **key_password** | **String** | | [optional] |
|
|
1117
|
+
| **key_store_pass** | **String** | | [optional] |
|
|
1118
|
+
| **_alias** | **String** | | [optional] |
|
|
1119
|
+
| **new_alias** | **String** | | [optional] |
|
|
1120
|
+
| **remove_alias** | **String** | | [optional] |
|
|
1121
|
+
| **cert_chain** | **File** | | [optional] |
|
|
1122
|
+
| **pk** | **File** | | [optional] |
|
|
1123
|
+
| **key_store** | **File** | | [optional] |
|
|
869
1124
|
|
|
870
1125
|
### Return type
|
|
871
1126
|
|
|
@@ -887,10 +1142,10 @@ Name | Type | Description | Notes
|
|
|
887
1142
|
|
|
888
1143
|
|
|
889
1144
|
|
|
890
|
-
###
|
|
1145
|
+
### Examples
|
|
891
1146
|
|
|
892
1147
|
```ruby
|
|
893
|
-
|
|
1148
|
+
require 'time'
|
|
894
1149
|
require 'swagger_aem'
|
|
895
1150
|
# setup authorization
|
|
896
1151
|
SwaggerAemClient.configure do |config|
|
|
@@ -905,29 +1160,47 @@ intermediate_path = 'intermediate_path_example' # String |
|
|
|
905
1160
|
opts = {
|
|
906
1161
|
create_user: 'create_user_example', # String |
|
|
907
1162
|
create_group: 'create_group_example', # String |
|
|
908
|
-
|
|
1163
|
+
rep_password: 'rep_password_example', # String |
|
|
909
1164
|
profile_given_name: 'profile_given_name_example' # String |
|
|
910
1165
|
}
|
|
911
1166
|
|
|
912
1167
|
begin
|
|
1168
|
+
|
|
913
1169
|
result = api_instance.post_authorizables(authorizable_id, intermediate_path, opts)
|
|
914
1170
|
p result
|
|
915
1171
|
rescue SwaggerAemClient::ApiError => e
|
|
916
|
-
puts "
|
|
1172
|
+
puts "Error when calling SlingApi->post_authorizables: #{e}"
|
|
917
1173
|
end
|
|
918
1174
|
```
|
|
919
1175
|
|
|
920
|
-
|
|
1176
|
+
#### Using the post_authorizables_with_http_info variant
|
|
1177
|
+
|
|
1178
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1179
|
+
|
|
1180
|
+
> <Array(String, Integer, Hash)> post_authorizables_with_http_info(authorizable_id, intermediate_path, opts)
|
|
1181
|
+
|
|
1182
|
+
```ruby
|
|
1183
|
+
begin
|
|
1184
|
+
|
|
1185
|
+
data, status_code, headers = api_instance.post_authorizables_with_http_info(authorizable_id, intermediate_path, opts)
|
|
1186
|
+
p status_code # => 2xx
|
|
1187
|
+
p headers # => { ... }
|
|
1188
|
+
p data # => String
|
|
1189
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1190
|
+
puts "Error when calling SlingApi->post_authorizables_with_http_info: #{e}"
|
|
1191
|
+
end
|
|
1192
|
+
```
|
|
921
1193
|
|
|
1194
|
+
### Parameters
|
|
922
1195
|
|
|
923
|
-
Name | Type | Description
|
|
924
|
-
|
|
925
|
-
**authorizable_id** | **String
|
|
926
|
-
**intermediate_path** | **String
|
|
927
|
-
**create_user** | **String
|
|
928
|
-
**create_group** | **String
|
|
929
|
-
**
|
|
930
|
-
**profile_given_name** | **String
|
|
1196
|
+
| Name | Type | Description | Notes |
|
|
1197
|
+
| ---- | ---- | ----------- | ----- |
|
|
1198
|
+
| **authorizable_id** | **String** | | |
|
|
1199
|
+
| **intermediate_path** | **String** | | |
|
|
1200
|
+
| **create_user** | **String** | | [optional] |
|
|
1201
|
+
| **create_group** | **String** | | [optional] |
|
|
1202
|
+
| **rep_password** | **String** | | [optional] |
|
|
1203
|
+
| **profile_given_name** | **String** | | [optional] |
|
|
931
1204
|
|
|
932
1205
|
### Return type
|
|
933
1206
|
|
|
@@ -949,10 +1222,10 @@ Name | Type | Description | Notes
|
|
|
949
1222
|
|
|
950
1223
|
|
|
951
1224
|
|
|
952
|
-
###
|
|
1225
|
+
### Examples
|
|
953
1226
|
|
|
954
1227
|
```ruby
|
|
955
|
-
|
|
1228
|
+
require 'time'
|
|
956
1229
|
require 'swagger_aem'
|
|
957
1230
|
# setup authorization
|
|
958
1231
|
SwaggerAemClient.configure do |config|
|
|
@@ -975,15 +1248,15 @@ opts = {
|
|
|
975
1248
|
default_redirect_url_type_hint: 'default_redirect_url_type_hint_example', # String |
|
|
976
1249
|
user_id_attribute: 'user_id_attribute_example', # String |
|
|
977
1250
|
user_id_attribute_type_hint: 'user_id_attribute_type_hint_example', # String |
|
|
978
|
-
default_groups: ['
|
|
1251
|
+
default_groups: ['inner_example'], # Array<String> |
|
|
979
1252
|
default_groups_type_hint: 'default_groups_type_hint_example', # String |
|
|
980
1253
|
idp_cert_alias: 'idp_cert_alias_example', # String |
|
|
981
1254
|
idp_cert_alias_type_hint: 'idp_cert_alias_type_hint_example', # String |
|
|
982
1255
|
add_group_memberships: true, # Boolean |
|
|
983
1256
|
add_group_memberships_type_hint: 'add_group_memberships_type_hint_example', # String |
|
|
984
|
-
path: ['
|
|
1257
|
+
path: ['inner_example'], # Array<String> |
|
|
985
1258
|
path_type_hint: 'path_type_hint_example', # String |
|
|
986
|
-
synchronize_attributes: ['
|
|
1259
|
+
synchronize_attributes: ['inner_example'], # Array<String> |
|
|
987
1260
|
synchronize_attributes_type_hint: 'synchronize_attributes_type_hint_example', # String |
|
|
988
1261
|
clock_tolerance: 56, # Integer |
|
|
989
1262
|
clock_tolerance_type_hint: 'clock_tolerance_type_hint_example', # String |
|
|
@@ -1014,65 +1287,83 @@ opts = {
|
|
|
1014
1287
|
}
|
|
1015
1288
|
|
|
1016
1289
|
begin
|
|
1290
|
+
|
|
1017
1291
|
api_instance.post_config_adobe_granite_saml_authentication_handler(opts)
|
|
1018
1292
|
rescue SwaggerAemClient::ApiError => e
|
|
1019
|
-
puts "
|
|
1293
|
+
puts "Error when calling SlingApi->post_config_adobe_granite_saml_authentication_handler: #{e}"
|
|
1020
1294
|
end
|
|
1021
1295
|
```
|
|
1022
1296
|
|
|
1023
|
-
|
|
1297
|
+
#### Using the post_config_adobe_granite_saml_authentication_handler_with_http_info variant
|
|
1024
1298
|
|
|
1299
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
1025
1300
|
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
**
|
|
1045
|
-
**
|
|
1046
|
-
**
|
|
1047
|
-
**
|
|
1048
|
-
**
|
|
1049
|
-
**
|
|
1050
|
-
**
|
|
1051
|
-
**
|
|
1052
|
-
**
|
|
1053
|
-
**
|
|
1054
|
-
**
|
|
1055
|
-
**
|
|
1056
|
-
**
|
|
1057
|
-
**
|
|
1058
|
-
**
|
|
1059
|
-
**
|
|
1060
|
-
**
|
|
1061
|
-
**
|
|
1062
|
-
**
|
|
1063
|
-
**
|
|
1064
|
-
**
|
|
1065
|
-
**
|
|
1066
|
-
**
|
|
1067
|
-
**
|
|
1068
|
-
**
|
|
1069
|
-
**
|
|
1070
|
-
**
|
|
1071
|
-
**
|
|
1072
|
-
**
|
|
1073
|
-
**
|
|
1074
|
-
**
|
|
1075
|
-
**
|
|
1301
|
+
> <Array(nil, Integer, Hash)> post_config_adobe_granite_saml_authentication_handler_with_http_info(opts)
|
|
1302
|
+
|
|
1303
|
+
```ruby
|
|
1304
|
+
begin
|
|
1305
|
+
|
|
1306
|
+
data, status_code, headers = api_instance.post_config_adobe_granite_saml_authentication_handler_with_http_info(opts)
|
|
1307
|
+
p status_code # => 2xx
|
|
1308
|
+
p headers # => { ... }
|
|
1309
|
+
p data # => nil
|
|
1310
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1311
|
+
puts "Error when calling SlingApi->post_config_adobe_granite_saml_authentication_handler_with_http_info: #{e}"
|
|
1312
|
+
end
|
|
1313
|
+
```
|
|
1314
|
+
|
|
1315
|
+
### Parameters
|
|
1316
|
+
|
|
1317
|
+
| Name | Type | Description | Notes |
|
|
1318
|
+
| ---- | ---- | ----------- | ----- |
|
|
1319
|
+
| **key_store_password** | **String** | | [optional] |
|
|
1320
|
+
| **key_store_password_type_hint** | **String** | | [optional] |
|
|
1321
|
+
| **service_ranking** | **Integer** | | [optional] |
|
|
1322
|
+
| **service_ranking_type_hint** | **String** | | [optional] |
|
|
1323
|
+
| **idp_http_redirect** | **Boolean** | | [optional] |
|
|
1324
|
+
| **idp_http_redirect_type_hint** | **String** | | [optional] |
|
|
1325
|
+
| **create_user** | **Boolean** | | [optional] |
|
|
1326
|
+
| **create_user_type_hint** | **String** | | [optional] |
|
|
1327
|
+
| **default_redirect_url** | **String** | | [optional] |
|
|
1328
|
+
| **default_redirect_url_type_hint** | **String** | | [optional] |
|
|
1329
|
+
| **user_id_attribute** | **String** | | [optional] |
|
|
1330
|
+
| **user_id_attribute_type_hint** | **String** | | [optional] |
|
|
1331
|
+
| **default_groups** | [**Array<String>**](String.md) | | [optional] |
|
|
1332
|
+
| **default_groups_type_hint** | **String** | | [optional] |
|
|
1333
|
+
| **idp_cert_alias** | **String** | | [optional] |
|
|
1334
|
+
| **idp_cert_alias_type_hint** | **String** | | [optional] |
|
|
1335
|
+
| **add_group_memberships** | **Boolean** | | [optional] |
|
|
1336
|
+
| **add_group_memberships_type_hint** | **String** | | [optional] |
|
|
1337
|
+
| **path** | [**Array<String>**](String.md) | | [optional] |
|
|
1338
|
+
| **path_type_hint** | **String** | | [optional] |
|
|
1339
|
+
| **synchronize_attributes** | [**Array<String>**](String.md) | | [optional] |
|
|
1340
|
+
| **synchronize_attributes_type_hint** | **String** | | [optional] |
|
|
1341
|
+
| **clock_tolerance** | **Integer** | | [optional] |
|
|
1342
|
+
| **clock_tolerance_type_hint** | **String** | | [optional] |
|
|
1343
|
+
| **group_membership_attribute** | **String** | | [optional] |
|
|
1344
|
+
| **group_membership_attribute_type_hint** | **String** | | [optional] |
|
|
1345
|
+
| **idp_url** | **String** | | [optional] |
|
|
1346
|
+
| **idp_url_type_hint** | **String** | | [optional] |
|
|
1347
|
+
| **logout_url** | **String** | | [optional] |
|
|
1348
|
+
| **logout_url_type_hint** | **String** | | [optional] |
|
|
1349
|
+
| **service_provider_entity_id** | **String** | | [optional] |
|
|
1350
|
+
| **service_provider_entity_id_type_hint** | **String** | | [optional] |
|
|
1351
|
+
| **assertion_consumer_service_url** | **String** | | [optional] |
|
|
1352
|
+
| **assertion_consumer_service_url_type_hint** | **String** | | [optional] |
|
|
1353
|
+
| **handle_logout** | **Boolean** | | [optional] |
|
|
1354
|
+
| **handle_logout_type_hint** | **String** | | [optional] |
|
|
1355
|
+
| **sp_private_key_alias** | **String** | | [optional] |
|
|
1356
|
+
| **sp_private_key_alias_type_hint** | **String** | | [optional] |
|
|
1357
|
+
| **use_encryption** | **Boolean** | | [optional] |
|
|
1358
|
+
| **use_encryption_type_hint** | **String** | | [optional] |
|
|
1359
|
+
| **name_id_format** | **String** | | [optional] |
|
|
1360
|
+
| **name_id_format_type_hint** | **String** | | [optional] |
|
|
1361
|
+
| **digest_method** | **String** | | [optional] |
|
|
1362
|
+
| **digest_method_type_hint** | **String** | | [optional] |
|
|
1363
|
+
| **signature_method** | **String** | | [optional] |
|
|
1364
|
+
| **signature_method_type_hint** | **String** | | [optional] |
|
|
1365
|
+
| **user_intermediate_path** | **String** | | [optional] |
|
|
1366
|
+
| **user_intermediate_path_type_hint** | **String** | | [optional] |
|
|
1076
1367
|
|
|
1077
1368
|
### Return type
|
|
1078
1369
|
|
|
@@ -1094,10 +1385,10 @@ nil (empty response body)
|
|
|
1094
1385
|
|
|
1095
1386
|
|
|
1096
1387
|
|
|
1097
|
-
###
|
|
1388
|
+
### Examples
|
|
1098
1389
|
|
|
1099
1390
|
```ruby
|
|
1100
|
-
|
|
1391
|
+
require 'time'
|
|
1101
1392
|
require 'swagger_aem'
|
|
1102
1393
|
# setup authorization
|
|
1103
1394
|
SwaggerAemClient.configure do |config|
|
|
@@ -1131,37 +1422,55 @@ opts = {
|
|
|
1131
1422
|
}
|
|
1132
1423
|
|
|
1133
1424
|
begin
|
|
1425
|
+
|
|
1134
1426
|
api_instance.post_config_apache_felix_jetty_based_http_service(opts)
|
|
1135
1427
|
rescue SwaggerAemClient::ApiError => e
|
|
1136
|
-
puts "
|
|
1428
|
+
puts "Error when calling SlingApi->post_config_apache_felix_jetty_based_http_service: #{e}"
|
|
1137
1429
|
end
|
|
1138
1430
|
```
|
|
1139
1431
|
|
|
1140
|
-
|
|
1432
|
+
#### Using the post_config_apache_felix_jetty_based_http_service_with_http_info variant
|
|
1141
1433
|
|
|
1434
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
1142
1435
|
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
**
|
|
1162
|
-
**
|
|
1163
|
-
**
|
|
1164
|
-
**
|
|
1436
|
+
> <Array(nil, Integer, Hash)> post_config_apache_felix_jetty_based_http_service_with_http_info(opts)
|
|
1437
|
+
|
|
1438
|
+
```ruby
|
|
1439
|
+
begin
|
|
1440
|
+
|
|
1441
|
+
data, status_code, headers = api_instance.post_config_apache_felix_jetty_based_http_service_with_http_info(opts)
|
|
1442
|
+
p status_code # => 2xx
|
|
1443
|
+
p headers # => { ... }
|
|
1444
|
+
p data # => nil
|
|
1445
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1446
|
+
puts "Error when calling SlingApi->post_config_apache_felix_jetty_based_http_service_with_http_info: #{e}"
|
|
1447
|
+
end
|
|
1448
|
+
```
|
|
1449
|
+
|
|
1450
|
+
### Parameters
|
|
1451
|
+
|
|
1452
|
+
| Name | Type | Description | Notes |
|
|
1453
|
+
| ---- | ---- | ----------- | ----- |
|
|
1454
|
+
| **org_apache_felix_https_nio** | **Boolean** | | [optional] |
|
|
1455
|
+
| **org_apache_felix_https_nio_type_hint** | **String** | | [optional] |
|
|
1456
|
+
| **org_apache_felix_https_keystore** | **String** | | [optional] |
|
|
1457
|
+
| **org_apache_felix_https_keystore_type_hint** | **String** | | [optional] |
|
|
1458
|
+
| **org_apache_felix_https_keystore_password** | **String** | | [optional] |
|
|
1459
|
+
| **org_apache_felix_https_keystore_password_type_hint** | **String** | | [optional] |
|
|
1460
|
+
| **org_apache_felix_https_keystore_key** | **String** | | [optional] |
|
|
1461
|
+
| **org_apache_felix_https_keystore_key_type_hint** | **String** | | [optional] |
|
|
1462
|
+
| **org_apache_felix_https_keystore_key_password** | **String** | | [optional] |
|
|
1463
|
+
| **org_apache_felix_https_keystore_key_password_type_hint** | **String** | | [optional] |
|
|
1464
|
+
| **org_apache_felix_https_truststore** | **String** | | [optional] |
|
|
1465
|
+
| **org_apache_felix_https_truststore_type_hint** | **String** | | [optional] |
|
|
1466
|
+
| **org_apache_felix_https_truststore_password** | **String** | | [optional] |
|
|
1467
|
+
| **org_apache_felix_https_truststore_password_type_hint** | **String** | | [optional] |
|
|
1468
|
+
| **org_apache_felix_https_clientcertificate** | **String** | | [optional] |
|
|
1469
|
+
| **org_apache_felix_https_clientcertificate_type_hint** | **String** | | [optional] |
|
|
1470
|
+
| **org_apache_felix_https_enable** | **Boolean** | | [optional] |
|
|
1471
|
+
| **org_apache_felix_https_enable_type_hint** | **String** | | [optional] |
|
|
1472
|
+
| **org_osgi_service_http_port_secure** | **String** | | [optional] |
|
|
1473
|
+
| **org_osgi_service_http_port_secure_type_hint** | **String** | | [optional] |
|
|
1165
1474
|
|
|
1166
1475
|
### Return type
|
|
1167
1476
|
|
|
@@ -1183,10 +1492,10 @@ nil (empty response body)
|
|
|
1183
1492
|
|
|
1184
1493
|
|
|
1185
1494
|
|
|
1186
|
-
###
|
|
1495
|
+
### Examples
|
|
1187
1496
|
|
|
1188
1497
|
```ruby
|
|
1189
|
-
|
|
1498
|
+
require 'time'
|
|
1190
1499
|
require 'swagger_aem'
|
|
1191
1500
|
# setup authorization
|
|
1192
1501
|
SwaggerAemClient.configure do |config|
|
|
@@ -1201,7 +1510,7 @@ opts = {
|
|
|
1201
1510
|
proxy_host_type_hint: 'proxy_host_type_hint_example', # String |
|
|
1202
1511
|
proxy_port: 56, # Integer |
|
|
1203
1512
|
proxy_port_type_hint: 'proxy_port_type_hint_example', # String |
|
|
1204
|
-
proxy_exceptions: ['
|
|
1513
|
+
proxy_exceptions: ['inner_example'], # Array<String> |
|
|
1205
1514
|
proxy_exceptions_type_hint: 'proxy_exceptions_type_hint_example', # String |
|
|
1206
1515
|
proxy_enabled: true, # Boolean |
|
|
1207
1516
|
proxy_enabled_type_hint: 'proxy_enabled_type_hint_example', # String |
|
|
@@ -1212,29 +1521,47 @@ opts = {
|
|
|
1212
1521
|
}
|
|
1213
1522
|
|
|
1214
1523
|
begin
|
|
1524
|
+
|
|
1215
1525
|
api_instance.post_config_apache_http_components_proxy_configuration(opts)
|
|
1216
1526
|
rescue SwaggerAemClient::ApiError => e
|
|
1217
|
-
puts "
|
|
1527
|
+
puts "Error when calling SlingApi->post_config_apache_http_components_proxy_configuration: #{e}"
|
|
1218
1528
|
end
|
|
1219
1529
|
```
|
|
1220
1530
|
|
|
1221
|
-
|
|
1531
|
+
#### Using the post_config_apache_http_components_proxy_configuration_with_http_info variant
|
|
1532
|
+
|
|
1533
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
1534
|
+
|
|
1535
|
+
> <Array(nil, Integer, Hash)> post_config_apache_http_components_proxy_configuration_with_http_info(opts)
|
|
1536
|
+
|
|
1537
|
+
```ruby
|
|
1538
|
+
begin
|
|
1539
|
+
|
|
1540
|
+
data, status_code, headers = api_instance.post_config_apache_http_components_proxy_configuration_with_http_info(opts)
|
|
1541
|
+
p status_code # => 2xx
|
|
1542
|
+
p headers # => { ... }
|
|
1543
|
+
p data # => nil
|
|
1544
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1545
|
+
puts "Error when calling SlingApi->post_config_apache_http_components_proxy_configuration_with_http_info: #{e}"
|
|
1546
|
+
end
|
|
1547
|
+
```
|
|
1222
1548
|
|
|
1549
|
+
### Parameters
|
|
1223
1550
|
|
|
1224
|
-
Name | Type | Description
|
|
1225
|
-
|
|
1226
|
-
**proxy_host** | **String
|
|
1227
|
-
**proxy_host_type_hint** | **String
|
|
1228
|
-
**proxy_port** | **Integer
|
|
1229
|
-
**proxy_port_type_hint** | **String
|
|
1230
|
-
**proxy_exceptions** | [**Array<String>**](String.md)| | [optional]
|
|
1231
|
-
**proxy_exceptions_type_hint** | **String
|
|
1232
|
-
**proxy_enabled** | **Boolean
|
|
1233
|
-
**proxy_enabled_type_hint** | **String
|
|
1234
|
-
**proxy_user** | **String
|
|
1235
|
-
**proxy_user_type_hint** | **String
|
|
1236
|
-
**proxy_password** | **String
|
|
1237
|
-
**proxy_password_type_hint** | **String
|
|
1551
|
+
| Name | Type | Description | Notes |
|
|
1552
|
+
| ---- | ---- | ----------- | ----- |
|
|
1553
|
+
| **proxy_host** | **String** | | [optional] |
|
|
1554
|
+
| **proxy_host_type_hint** | **String** | | [optional] |
|
|
1555
|
+
| **proxy_port** | **Integer** | | [optional] |
|
|
1556
|
+
| **proxy_port_type_hint** | **String** | | [optional] |
|
|
1557
|
+
| **proxy_exceptions** | [**Array<String>**](String.md) | | [optional] |
|
|
1558
|
+
| **proxy_exceptions_type_hint** | **String** | | [optional] |
|
|
1559
|
+
| **proxy_enabled** | **Boolean** | | [optional] |
|
|
1560
|
+
| **proxy_enabled_type_hint** | **String** | | [optional] |
|
|
1561
|
+
| **proxy_user** | **String** | | [optional] |
|
|
1562
|
+
| **proxy_user_type_hint** | **String** | | [optional] |
|
|
1563
|
+
| **proxy_password** | **String** | | [optional] |
|
|
1564
|
+
| **proxy_password_type_hint** | **String** | | [optional] |
|
|
1238
1565
|
|
|
1239
1566
|
### Return type
|
|
1240
1567
|
|
|
@@ -1256,10 +1583,10 @@ nil (empty response body)
|
|
|
1256
1583
|
|
|
1257
1584
|
|
|
1258
1585
|
|
|
1259
|
-
###
|
|
1586
|
+
### Examples
|
|
1260
1587
|
|
|
1261
1588
|
```ruby
|
|
1262
|
-
|
|
1589
|
+
require 'time'
|
|
1263
1590
|
require 'swagger_aem'
|
|
1264
1591
|
# setup authorization
|
|
1265
1592
|
SwaggerAemClient.configure do |config|
|
|
@@ -1277,21 +1604,39 @@ opts = {
|
|
|
1277
1604
|
}
|
|
1278
1605
|
|
|
1279
1606
|
begin
|
|
1607
|
+
|
|
1280
1608
|
api_instance.post_config_apache_sling_dav_ex_servlet(opts)
|
|
1281
1609
|
rescue SwaggerAemClient::ApiError => e
|
|
1282
|
-
puts "
|
|
1610
|
+
puts "Error when calling SlingApi->post_config_apache_sling_dav_ex_servlet: #{e}"
|
|
1283
1611
|
end
|
|
1284
1612
|
```
|
|
1285
1613
|
|
|
1286
|
-
|
|
1614
|
+
#### Using the post_config_apache_sling_dav_ex_servlet_with_http_info variant
|
|
1287
1615
|
|
|
1616
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
1288
1617
|
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1618
|
+
> <Array(nil, Integer, Hash)> post_config_apache_sling_dav_ex_servlet_with_http_info(opts)
|
|
1619
|
+
|
|
1620
|
+
```ruby
|
|
1621
|
+
begin
|
|
1622
|
+
|
|
1623
|
+
data, status_code, headers = api_instance.post_config_apache_sling_dav_ex_servlet_with_http_info(opts)
|
|
1624
|
+
p status_code # => 2xx
|
|
1625
|
+
p headers # => { ... }
|
|
1626
|
+
p data # => nil
|
|
1627
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1628
|
+
puts "Error when calling SlingApi->post_config_apache_sling_dav_ex_servlet_with_http_info: #{e}"
|
|
1629
|
+
end
|
|
1630
|
+
```
|
|
1631
|
+
|
|
1632
|
+
### Parameters
|
|
1633
|
+
|
|
1634
|
+
| Name | Type | Description | Notes |
|
|
1635
|
+
| ---- | ---- | ----------- | ----- |
|
|
1636
|
+
| **_alias** | **String** | | [optional] |
|
|
1637
|
+
| **alias_type_hint** | **String** | | [optional] |
|
|
1638
|
+
| **dav_create_absolute_uri** | **Boolean** | | [optional] |
|
|
1639
|
+
| **dav_create_absolute_uri_type_hint** | **String** | | [optional] |
|
|
1295
1640
|
|
|
1296
1641
|
### Return type
|
|
1297
1642
|
|
|
@@ -1313,10 +1658,10 @@ nil (empty response body)
|
|
|
1313
1658
|
|
|
1314
1659
|
|
|
1315
1660
|
|
|
1316
|
-
###
|
|
1661
|
+
### Examples
|
|
1317
1662
|
|
|
1318
1663
|
```ruby
|
|
1319
|
-
|
|
1664
|
+
require 'time'
|
|
1320
1665
|
require 'swagger_aem'
|
|
1321
1666
|
# setup authorization
|
|
1322
1667
|
SwaggerAemClient.configure do |config|
|
|
@@ -1338,25 +1683,43 @@ opts = {
|
|
|
1338
1683
|
}
|
|
1339
1684
|
|
|
1340
1685
|
begin
|
|
1686
|
+
|
|
1341
1687
|
api_instance.post_config_apache_sling_get_servlet(opts)
|
|
1342
1688
|
rescue SwaggerAemClient::ApiError => e
|
|
1343
|
-
puts "
|
|
1689
|
+
puts "Error when calling SlingApi->post_config_apache_sling_get_servlet: #{e}"
|
|
1344
1690
|
end
|
|
1345
1691
|
```
|
|
1346
1692
|
|
|
1347
|
-
|
|
1693
|
+
#### Using the post_config_apache_sling_get_servlet_with_http_info variant
|
|
1694
|
+
|
|
1695
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
1348
1696
|
|
|
1697
|
+
> <Array(nil, Integer, Hash)> post_config_apache_sling_get_servlet_with_http_info(opts)
|
|
1349
1698
|
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1699
|
+
```ruby
|
|
1700
|
+
begin
|
|
1701
|
+
|
|
1702
|
+
data, status_code, headers = api_instance.post_config_apache_sling_get_servlet_with_http_info(opts)
|
|
1703
|
+
p status_code # => 2xx
|
|
1704
|
+
p headers # => { ... }
|
|
1705
|
+
p data # => nil
|
|
1706
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1707
|
+
puts "Error when calling SlingApi->post_config_apache_sling_get_servlet_with_http_info: #{e}"
|
|
1708
|
+
end
|
|
1709
|
+
```
|
|
1710
|
+
|
|
1711
|
+
### Parameters
|
|
1712
|
+
|
|
1713
|
+
| Name | Type | Description | Notes |
|
|
1714
|
+
| ---- | ---- | ----------- | ----- |
|
|
1715
|
+
| **json_maximumresults** | **String** | | [optional] |
|
|
1716
|
+
| **json_maximumresults_type_hint** | **String** | | [optional] |
|
|
1717
|
+
| **enable_html** | **Boolean** | | [optional] |
|
|
1718
|
+
| **enable_html_type_hint** | **String** | | [optional] |
|
|
1719
|
+
| **enable_txt** | **Boolean** | | [optional] |
|
|
1720
|
+
| **enable_txt_type_hint** | **String** | | [optional] |
|
|
1721
|
+
| **enable_xml** | **Boolean** | | [optional] |
|
|
1722
|
+
| **enable_xml_type_hint** | **String** | | [optional] |
|
|
1360
1723
|
|
|
1361
1724
|
### Return type
|
|
1362
1725
|
|
|
@@ -1378,10 +1741,10 @@ nil (empty response body)
|
|
|
1378
1741
|
|
|
1379
1742
|
|
|
1380
1743
|
|
|
1381
|
-
###
|
|
1744
|
+
### Examples
|
|
1382
1745
|
|
|
1383
1746
|
```ruby
|
|
1384
|
-
|
|
1747
|
+
require 'time'
|
|
1385
1748
|
require 'swagger_aem'
|
|
1386
1749
|
# setup authorization
|
|
1387
1750
|
SwaggerAemClient.configure do |config|
|
|
@@ -1403,25 +1766,43 @@ opts = {
|
|
|
1403
1766
|
}
|
|
1404
1767
|
|
|
1405
1768
|
begin
|
|
1769
|
+
|
|
1406
1770
|
api_instance.post_config_apache_sling_referrer_filter(opts)
|
|
1407
1771
|
rescue SwaggerAemClient::ApiError => e
|
|
1408
|
-
puts "
|
|
1772
|
+
puts "Error when calling SlingApi->post_config_apache_sling_referrer_filter: #{e}"
|
|
1409
1773
|
end
|
|
1410
1774
|
```
|
|
1411
1775
|
|
|
1412
|
-
|
|
1776
|
+
#### Using the post_config_apache_sling_referrer_filter_with_http_info variant
|
|
1413
1777
|
|
|
1778
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
1414
1779
|
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1780
|
+
> <Array(nil, Integer, Hash)> post_config_apache_sling_referrer_filter_with_http_info(opts)
|
|
1781
|
+
|
|
1782
|
+
```ruby
|
|
1783
|
+
begin
|
|
1784
|
+
|
|
1785
|
+
data, status_code, headers = api_instance.post_config_apache_sling_referrer_filter_with_http_info(opts)
|
|
1786
|
+
p status_code # => 2xx
|
|
1787
|
+
p headers # => { ... }
|
|
1788
|
+
p data # => nil
|
|
1789
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1790
|
+
puts "Error when calling SlingApi->post_config_apache_sling_referrer_filter_with_http_info: #{e}"
|
|
1791
|
+
end
|
|
1792
|
+
```
|
|
1793
|
+
|
|
1794
|
+
### Parameters
|
|
1795
|
+
|
|
1796
|
+
| Name | Type | Description | Notes |
|
|
1797
|
+
| ---- | ---- | ----------- | ----- |
|
|
1798
|
+
| **allow_empty** | **Boolean** | | [optional] |
|
|
1799
|
+
| **allow_empty_type_hint** | **String** | | [optional] |
|
|
1800
|
+
| **allow_hosts** | **String** | | [optional] |
|
|
1801
|
+
| **allow_hosts_type_hint** | **String** | | [optional] |
|
|
1802
|
+
| **allow_hosts_regexp** | **String** | | [optional] |
|
|
1803
|
+
| **allow_hosts_regexp_type_hint** | **String** | | [optional] |
|
|
1804
|
+
| **filter_methods** | **String** | | [optional] |
|
|
1805
|
+
| **filter_methods_type_hint** | **String** | | [optional] |
|
|
1425
1806
|
|
|
1426
1807
|
### Return type
|
|
1427
1808
|
|
|
@@ -1443,10 +1824,10 @@ nil (empty response body)
|
|
|
1443
1824
|
|
|
1444
1825
|
|
|
1445
1826
|
|
|
1446
|
-
###
|
|
1827
|
+
### Examples
|
|
1447
1828
|
|
|
1448
1829
|
```ruby
|
|
1449
|
-
|
|
1830
|
+
require 'time'
|
|
1450
1831
|
require 'swagger_aem'
|
|
1451
1832
|
# setup authorization
|
|
1452
1833
|
SwaggerAemClient.configure do |config|
|
|
@@ -1459,18 +1840,36 @@ api_instance = SwaggerAemClient::SlingApi.new
|
|
|
1459
1840
|
config_node_name = 'config_node_name_example' # String |
|
|
1460
1841
|
|
|
1461
1842
|
begin
|
|
1843
|
+
|
|
1462
1844
|
api_instance.post_config_property(config_node_name)
|
|
1463
1845
|
rescue SwaggerAemClient::ApiError => e
|
|
1464
|
-
puts "
|
|
1846
|
+
puts "Error when calling SlingApi->post_config_property: #{e}"
|
|
1465
1847
|
end
|
|
1466
1848
|
```
|
|
1467
1849
|
|
|
1468
|
-
|
|
1850
|
+
#### Using the post_config_property_with_http_info variant
|
|
1851
|
+
|
|
1852
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
1469
1853
|
|
|
1854
|
+
> <Array(nil, Integer, Hash)> post_config_property_with_http_info(config_node_name)
|
|
1470
1855
|
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1856
|
+
```ruby
|
|
1857
|
+
begin
|
|
1858
|
+
|
|
1859
|
+
data, status_code, headers = api_instance.post_config_property_with_http_info(config_node_name)
|
|
1860
|
+
p status_code # => 2xx
|
|
1861
|
+
p headers # => { ... }
|
|
1862
|
+
p data # => nil
|
|
1863
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1864
|
+
puts "Error when calling SlingApi->post_config_property_with_http_info: #{e}"
|
|
1865
|
+
end
|
|
1866
|
+
```
|
|
1867
|
+
|
|
1868
|
+
### Parameters
|
|
1869
|
+
|
|
1870
|
+
| Name | Type | Description | Notes |
|
|
1871
|
+
| ---- | ---- | ----------- | ----- |
|
|
1872
|
+
| **config_node_name** | **String** | | |
|
|
1474
1873
|
|
|
1475
1874
|
### Return type
|
|
1476
1875
|
|
|
@@ -1492,10 +1891,10 @@ nil (empty response body)
|
|
|
1492
1891
|
|
|
1493
1892
|
|
|
1494
1893
|
|
|
1495
|
-
###
|
|
1894
|
+
### Examples
|
|
1496
1895
|
|
|
1497
1896
|
```ruby
|
|
1498
|
-
|
|
1897
|
+
require 'time'
|
|
1499
1898
|
require 'swagger_aem'
|
|
1500
1899
|
# setup authorization
|
|
1501
1900
|
SwaggerAemClient.configure do |config|
|
|
@@ -1508,28 +1907,46 @@ api_instance = SwaggerAemClient::SlingApi.new
|
|
|
1508
1907
|
path = 'path_example' # String |
|
|
1509
1908
|
name = 'name_example' # String |
|
|
1510
1909
|
opts = {
|
|
1511
|
-
|
|
1910
|
+
_operation: '_operation_example', # String |
|
|
1512
1911
|
delete_authorizable: 'delete_authorizable_example', # String |
|
|
1513
|
-
file: File.new('/path/to/file') # File |
|
|
1912
|
+
file: File.new('/path/to/some/file') # File |
|
|
1514
1913
|
}
|
|
1515
1914
|
|
|
1516
1915
|
begin
|
|
1916
|
+
|
|
1517
1917
|
api_instance.post_node(path, name, opts)
|
|
1518
1918
|
rescue SwaggerAemClient::ApiError => e
|
|
1519
|
-
puts "
|
|
1919
|
+
puts "Error when calling SlingApi->post_node: #{e}"
|
|
1520
1920
|
end
|
|
1521
1921
|
```
|
|
1522
1922
|
|
|
1523
|
-
|
|
1923
|
+
#### Using the post_node_with_http_info variant
|
|
1924
|
+
|
|
1925
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
1926
|
+
|
|
1927
|
+
> <Array(nil, Integer, Hash)> post_node_with_http_info(path, name, opts)
|
|
1928
|
+
|
|
1929
|
+
```ruby
|
|
1930
|
+
begin
|
|
1931
|
+
|
|
1932
|
+
data, status_code, headers = api_instance.post_node_with_http_info(path, name, opts)
|
|
1933
|
+
p status_code # => 2xx
|
|
1934
|
+
p headers # => { ... }
|
|
1935
|
+
p data # => nil
|
|
1936
|
+
rescue SwaggerAemClient::ApiError => e
|
|
1937
|
+
puts "Error when calling SlingApi->post_node_with_http_info: #{e}"
|
|
1938
|
+
end
|
|
1939
|
+
```
|
|
1524
1940
|
|
|
1941
|
+
### Parameters
|
|
1525
1942
|
|
|
1526
|
-
Name | Type | Description
|
|
1527
|
-
|
|
1528
|
-
**path** | **String
|
|
1529
|
-
**name** | **String
|
|
1530
|
-
**
|
|
1531
|
-
**delete_authorizable** | **String
|
|
1532
|
-
**file** | **File
|
|
1943
|
+
| Name | Type | Description | Notes |
|
|
1944
|
+
| ---- | ---- | ----------- | ----- |
|
|
1945
|
+
| **path** | **String** | | |
|
|
1946
|
+
| **name** | **String** | | |
|
|
1947
|
+
| **_operation** | **String** | | [optional] |
|
|
1948
|
+
| **delete_authorizable** | **String** | | [optional] |
|
|
1949
|
+
| **file** | **File** | | [optional] |
|
|
1533
1950
|
|
|
1534
1951
|
### Return type
|
|
1535
1952
|
|
|
@@ -1551,10 +1968,10 @@ nil (empty response body)
|
|
|
1551
1968
|
|
|
1552
1969
|
|
|
1553
1970
|
|
|
1554
|
-
###
|
|
1971
|
+
### Examples
|
|
1555
1972
|
|
|
1556
1973
|
```ruby
|
|
1557
|
-
|
|
1974
|
+
require 'time'
|
|
1558
1975
|
require 'swagger_aem'
|
|
1559
1976
|
# setup authorization
|
|
1560
1977
|
SwaggerAemClient.configure do |config|
|
|
@@ -1571,20 +1988,38 @@ opts = {
|
|
|
1571
1988
|
}
|
|
1572
1989
|
|
|
1573
1990
|
begin
|
|
1991
|
+
|
|
1574
1992
|
api_instance.post_node_rw(path, name, opts)
|
|
1575
1993
|
rescue SwaggerAemClient::ApiError => e
|
|
1576
|
-
puts "
|
|
1994
|
+
puts "Error when calling SlingApi->post_node_rw: #{e}"
|
|
1577
1995
|
end
|
|
1578
1996
|
```
|
|
1579
1997
|
|
|
1580
|
-
|
|
1998
|
+
#### Using the post_node_rw_with_http_info variant
|
|
1999
|
+
|
|
2000
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
2001
|
+
|
|
2002
|
+
> <Array(nil, Integer, Hash)> post_node_rw_with_http_info(path, name, opts)
|
|
2003
|
+
|
|
2004
|
+
```ruby
|
|
2005
|
+
begin
|
|
2006
|
+
|
|
2007
|
+
data, status_code, headers = api_instance.post_node_rw_with_http_info(path, name, opts)
|
|
2008
|
+
p status_code # => 2xx
|
|
2009
|
+
p headers # => { ... }
|
|
2010
|
+
p data # => nil
|
|
2011
|
+
rescue SwaggerAemClient::ApiError => e
|
|
2012
|
+
puts "Error when calling SlingApi->post_node_rw_with_http_info: #{e}"
|
|
2013
|
+
end
|
|
2014
|
+
```
|
|
1581
2015
|
|
|
2016
|
+
### Parameters
|
|
1582
2017
|
|
|
1583
|
-
Name | Type | Description
|
|
1584
|
-
|
|
1585
|
-
**path** | **String
|
|
1586
|
-
**name** | **String
|
|
1587
|
-
**add_members** | **String
|
|
2018
|
+
| Name | Type | Description | Notes |
|
|
2019
|
+
| ---- | ---- | ----------- | ----- |
|
|
2020
|
+
| **path** | **String** | | |
|
|
2021
|
+
| **name** | **String** | | |
|
|
2022
|
+
| **add_members** | **String** | | [optional] |
|
|
1588
2023
|
|
|
1589
2024
|
### Return type
|
|
1590
2025
|
|
|
@@ -1602,14 +2037,14 @@ nil (empty response body)
|
|
|
1602
2037
|
|
|
1603
2038
|
## post_path
|
|
1604
2039
|
|
|
1605
|
-
> post_path(path,
|
|
2040
|
+
> post_path(path, jcr_primary_type, _name)
|
|
1606
2041
|
|
|
1607
2042
|
|
|
1608
2043
|
|
|
1609
|
-
###
|
|
2044
|
+
### Examples
|
|
1610
2045
|
|
|
1611
2046
|
```ruby
|
|
1612
|
-
|
|
2047
|
+
require 'time'
|
|
1613
2048
|
require 'swagger_aem'
|
|
1614
2049
|
# setup authorization
|
|
1615
2050
|
SwaggerAemClient.configure do |config|
|
|
@@ -1620,24 +2055,42 @@ end
|
|
|
1620
2055
|
|
|
1621
2056
|
api_instance = SwaggerAemClient::SlingApi.new
|
|
1622
2057
|
path = 'path_example' # String |
|
|
1623
|
-
|
|
1624
|
-
|
|
2058
|
+
jcr_primary_type = 'jcr_primary_type_example' # String |
|
|
2059
|
+
_name = '_name_example' # String |
|
|
1625
2060
|
|
|
1626
2061
|
begin
|
|
1627
|
-
|
|
2062
|
+
|
|
2063
|
+
api_instance.post_path(path, jcr_primary_type, _name)
|
|
1628
2064
|
rescue SwaggerAemClient::ApiError => e
|
|
1629
|
-
puts "
|
|
2065
|
+
puts "Error when calling SlingApi->post_path: #{e}"
|
|
1630
2066
|
end
|
|
1631
2067
|
```
|
|
1632
2068
|
|
|
1633
|
-
|
|
2069
|
+
#### Using the post_path_with_http_info variant
|
|
2070
|
+
|
|
2071
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
2072
|
+
|
|
2073
|
+
> <Array(nil, Integer, Hash)> post_path_with_http_info(path, jcr_primary_type, _name)
|
|
2074
|
+
|
|
2075
|
+
```ruby
|
|
2076
|
+
begin
|
|
2077
|
+
|
|
2078
|
+
data, status_code, headers = api_instance.post_path_with_http_info(path, jcr_primary_type, _name)
|
|
2079
|
+
p status_code # => 2xx
|
|
2080
|
+
p headers # => { ... }
|
|
2081
|
+
p data # => nil
|
|
2082
|
+
rescue SwaggerAemClient::ApiError => e
|
|
2083
|
+
puts "Error when calling SlingApi->post_path_with_http_info: #{e}"
|
|
2084
|
+
end
|
|
2085
|
+
```
|
|
1634
2086
|
|
|
2087
|
+
### Parameters
|
|
1635
2088
|
|
|
1636
|
-
Name | Type | Description
|
|
1637
|
-
|
|
1638
|
-
**path** | **String
|
|
1639
|
-
**
|
|
1640
|
-
**
|
|
2089
|
+
| Name | Type | Description | Notes |
|
|
2090
|
+
| ---- | ---- | ----------- | ----- |
|
|
2091
|
+
| **path** | **String** | | |
|
|
2092
|
+
| **jcr_primary_type** | **String** | | |
|
|
2093
|
+
| **_name** | **String** | | |
|
|
1641
2094
|
|
|
1642
2095
|
### Return type
|
|
1643
2096
|
|
|
@@ -1659,10 +2112,10 @@ nil (empty response body)
|
|
|
1659
2112
|
|
|
1660
2113
|
|
|
1661
2114
|
|
|
1662
|
-
###
|
|
2115
|
+
### Examples
|
|
1663
2116
|
|
|
1664
2117
|
```ruby
|
|
1665
|
-
|
|
2118
|
+
require 'time'
|
|
1666
2119
|
require 'swagger_aem'
|
|
1667
2120
|
# setup authorization
|
|
1668
2121
|
SwaggerAemClient.configure do |config|
|
|
@@ -1673,27 +2126,45 @@ end
|
|
|
1673
2126
|
|
|
1674
2127
|
api_instance = SwaggerAemClient::SlingApi.new
|
|
1675
2128
|
path = 'path_example' # String |
|
|
1676
|
-
p_limit =
|
|
2129
|
+
p_limit = 8.14 # Float |
|
|
1677
2130
|
_1_property = '_1_property_example' # String |
|
|
1678
2131
|
_1_property_value = '_1_property_value_example' # String |
|
|
1679
2132
|
|
|
1680
2133
|
begin
|
|
2134
|
+
|
|
1681
2135
|
result = api_instance.post_query(path, p_limit, _1_property, _1_property_value)
|
|
1682
2136
|
p result
|
|
1683
2137
|
rescue SwaggerAemClient::ApiError => e
|
|
1684
|
-
puts "
|
|
2138
|
+
puts "Error when calling SlingApi->post_query: #{e}"
|
|
1685
2139
|
end
|
|
1686
2140
|
```
|
|
1687
2141
|
|
|
1688
|
-
|
|
2142
|
+
#### Using the post_query_with_http_info variant
|
|
2143
|
+
|
|
2144
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2145
|
+
|
|
2146
|
+
> <Array(String, Integer, Hash)> post_query_with_http_info(path, p_limit, _1_property, _1_property_value)
|
|
2147
|
+
|
|
2148
|
+
```ruby
|
|
2149
|
+
begin
|
|
2150
|
+
|
|
2151
|
+
data, status_code, headers = api_instance.post_query_with_http_info(path, p_limit, _1_property, _1_property_value)
|
|
2152
|
+
p status_code # => 2xx
|
|
2153
|
+
p headers # => { ... }
|
|
2154
|
+
p data # => String
|
|
2155
|
+
rescue SwaggerAemClient::ApiError => e
|
|
2156
|
+
puts "Error when calling SlingApi->post_query_with_http_info: #{e}"
|
|
2157
|
+
end
|
|
2158
|
+
```
|
|
1689
2159
|
|
|
2160
|
+
### Parameters
|
|
1690
2161
|
|
|
1691
|
-
Name | Type | Description
|
|
1692
|
-
|
|
1693
|
-
**path** | **String
|
|
1694
|
-
**p_limit** | **Float
|
|
1695
|
-
**_1_property** | **String
|
|
1696
|
-
**_1_property_value** | **String
|
|
2162
|
+
| Name | Type | Description | Notes |
|
|
2163
|
+
| ---- | ---- | ----------- | ----- |
|
|
2164
|
+
| **path** | **String** | | |
|
|
2165
|
+
| **p_limit** | **Float** | | |
|
|
2166
|
+
| **_1_property** | **String** | | |
|
|
2167
|
+
| **_1_property_value** | **String** | | |
|
|
1697
2168
|
|
|
1698
2169
|
### Return type
|
|
1699
2170
|
|
|
@@ -1715,10 +2186,10 @@ Name | Type | Description | Notes
|
|
|
1715
2186
|
|
|
1716
2187
|
|
|
1717
2188
|
|
|
1718
|
-
###
|
|
2189
|
+
### Examples
|
|
1719
2190
|
|
|
1720
2191
|
```ruby
|
|
1721
|
-
|
|
2192
|
+
require 'time'
|
|
1722
2193
|
require 'swagger_aem'
|
|
1723
2194
|
# setup authorization
|
|
1724
2195
|
SwaggerAemClient.configure do |config|
|
|
@@ -1731,24 +2202,42 @@ api_instance = SwaggerAemClient::SlingApi.new
|
|
|
1731
2202
|
ignoredeactivated = true # Boolean |
|
|
1732
2203
|
onlymodified = true # Boolean |
|
|
1733
2204
|
path = 'path_example' # String |
|
|
1734
|
-
cmd = '
|
|
2205
|
+
cmd = 'cmd_example' # String |
|
|
1735
2206
|
|
|
1736
2207
|
begin
|
|
2208
|
+
|
|
1737
2209
|
api_instance.post_tree_activation(ignoredeactivated, onlymodified, path, cmd)
|
|
1738
2210
|
rescue SwaggerAemClient::ApiError => e
|
|
1739
|
-
puts "
|
|
2211
|
+
puts "Error when calling SlingApi->post_tree_activation: #{e}"
|
|
1740
2212
|
end
|
|
1741
2213
|
```
|
|
1742
2214
|
|
|
1743
|
-
|
|
2215
|
+
#### Using the post_tree_activation_with_http_info variant
|
|
2216
|
+
|
|
2217
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
2218
|
+
|
|
2219
|
+
> <Array(nil, Integer, Hash)> post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, cmd)
|
|
1744
2220
|
|
|
2221
|
+
```ruby
|
|
2222
|
+
begin
|
|
2223
|
+
|
|
2224
|
+
data, status_code, headers = api_instance.post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, cmd)
|
|
2225
|
+
p status_code # => 2xx
|
|
2226
|
+
p headers # => { ... }
|
|
2227
|
+
p data # => nil
|
|
2228
|
+
rescue SwaggerAemClient::ApiError => e
|
|
2229
|
+
puts "Error when calling SlingApi->post_tree_activation_with_http_info: #{e}"
|
|
2230
|
+
end
|
|
2231
|
+
```
|
|
1745
2232
|
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
**
|
|
1751
|
-
**
|
|
2233
|
+
### Parameters
|
|
2234
|
+
|
|
2235
|
+
| Name | Type | Description | Notes |
|
|
2236
|
+
| ---- | ---- | ----------- | ----- |
|
|
2237
|
+
| **ignoredeactivated** | **Boolean** | | |
|
|
2238
|
+
| **onlymodified** | **Boolean** | | |
|
|
2239
|
+
| **path** | **String** | | |
|
|
2240
|
+
| **cmd** | **String** | | [default to 'activate'] |
|
|
1752
2241
|
|
|
1753
2242
|
### Return type
|
|
1754
2243
|
|
|
@@ -1770,10 +2259,10 @@ nil (empty response body)
|
|
|
1770
2259
|
|
|
1771
2260
|
|
|
1772
2261
|
|
|
1773
|
-
###
|
|
2262
|
+
### Examples
|
|
1774
2263
|
|
|
1775
2264
|
```ruby
|
|
1776
|
-
|
|
2265
|
+
require 'time'
|
|
1777
2266
|
require 'swagger_aem'
|
|
1778
2267
|
# setup authorization
|
|
1779
2268
|
SwaggerAemClient.configure do |config|
|
|
@@ -1784,33 +2273,51 @@ end
|
|
|
1784
2273
|
|
|
1785
2274
|
api_instance = SwaggerAemClient::SlingApi.new
|
|
1786
2275
|
opts = {
|
|
1787
|
-
|
|
2276
|
+
_operation: '_operation_example', # String |
|
|
1788
2277
|
new_password: 'new_password_example', # String |
|
|
1789
2278
|
re_password: 're_password_example', # String |
|
|
1790
2279
|
key_store_type: 'key_store_type_example', # String |
|
|
1791
2280
|
remove_alias: 'remove_alias_example', # String |
|
|
1792
|
-
certificate: File.new('/path/to/file') # File |
|
|
2281
|
+
certificate: File.new('/path/to/some/file') # File |
|
|
1793
2282
|
}
|
|
1794
2283
|
|
|
1795
2284
|
begin
|
|
2285
|
+
|
|
1796
2286
|
result = api_instance.post_truststore(opts)
|
|
1797
2287
|
p result
|
|
1798
2288
|
rescue SwaggerAemClient::ApiError => e
|
|
1799
|
-
puts "
|
|
2289
|
+
puts "Error when calling SlingApi->post_truststore: #{e}"
|
|
1800
2290
|
end
|
|
1801
2291
|
```
|
|
1802
2292
|
|
|
1803
|
-
|
|
2293
|
+
#### Using the post_truststore_with_http_info variant
|
|
2294
|
+
|
|
2295
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1804
2296
|
|
|
2297
|
+
> <Array(String, Integer, Hash)> post_truststore_with_http_info(opts)
|
|
1805
2298
|
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
2299
|
+
```ruby
|
|
2300
|
+
begin
|
|
2301
|
+
|
|
2302
|
+
data, status_code, headers = api_instance.post_truststore_with_http_info(opts)
|
|
2303
|
+
p status_code # => 2xx
|
|
2304
|
+
p headers # => { ... }
|
|
2305
|
+
p data # => String
|
|
2306
|
+
rescue SwaggerAemClient::ApiError => e
|
|
2307
|
+
puts "Error when calling SlingApi->post_truststore_with_http_info: #{e}"
|
|
2308
|
+
end
|
|
2309
|
+
```
|
|
2310
|
+
|
|
2311
|
+
### Parameters
|
|
2312
|
+
|
|
2313
|
+
| Name | Type | Description | Notes |
|
|
2314
|
+
| ---- | ---- | ----------- | ----- |
|
|
2315
|
+
| **_operation** | **String** | | [optional] |
|
|
2316
|
+
| **new_password** | **String** | | [optional] |
|
|
2317
|
+
| **re_password** | **String** | | [optional] |
|
|
2318
|
+
| **key_store_type** | **String** | | [optional] |
|
|
2319
|
+
| **remove_alias** | **String** | | [optional] |
|
|
2320
|
+
| **certificate** | **File** | | [optional] |
|
|
1814
2321
|
|
|
1815
2322
|
### Return type
|
|
1816
2323
|
|
|
@@ -1832,10 +2339,10 @@ Name | Type | Description | Notes
|
|
|
1832
2339
|
|
|
1833
2340
|
|
|
1834
2341
|
|
|
1835
|
-
###
|
|
2342
|
+
### Examples
|
|
1836
2343
|
|
|
1837
2344
|
```ruby
|
|
1838
|
-
|
|
2345
|
+
require 'time'
|
|
1839
2346
|
require 'swagger_aem'
|
|
1840
2347
|
# setup authorization
|
|
1841
2348
|
SwaggerAemClient.configure do |config|
|
|
@@ -1846,23 +2353,41 @@ end
|
|
|
1846
2353
|
|
|
1847
2354
|
api_instance = SwaggerAemClient::SlingApi.new
|
|
1848
2355
|
opts = {
|
|
1849
|
-
truststore_p12: File.new('/path/to/file') # File |
|
|
2356
|
+
truststore_p12: File.new('/path/to/some/file') # File |
|
|
1850
2357
|
}
|
|
1851
2358
|
|
|
1852
2359
|
begin
|
|
2360
|
+
|
|
1853
2361
|
result = api_instance.post_truststore_pkcs12(opts)
|
|
1854
2362
|
p result
|
|
1855
2363
|
rescue SwaggerAemClient::ApiError => e
|
|
1856
|
-
puts "
|
|
2364
|
+
puts "Error when calling SlingApi->post_truststore_pkcs12: #{e}"
|
|
1857
2365
|
end
|
|
1858
2366
|
```
|
|
1859
2367
|
|
|
1860
|
-
|
|
2368
|
+
#### Using the post_truststore_pkcs12_with_http_info variant
|
|
1861
2369
|
|
|
2370
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2371
|
+
|
|
2372
|
+
> <Array(String, Integer, Hash)> post_truststore_pkcs12_with_http_info(opts)
|
|
2373
|
+
|
|
2374
|
+
```ruby
|
|
2375
|
+
begin
|
|
2376
|
+
|
|
2377
|
+
data, status_code, headers = api_instance.post_truststore_pkcs12_with_http_info(opts)
|
|
2378
|
+
p status_code # => 2xx
|
|
2379
|
+
p headers # => { ... }
|
|
2380
|
+
p data # => String
|
|
2381
|
+
rescue SwaggerAemClient::ApiError => e
|
|
2382
|
+
puts "Error when calling SlingApi->post_truststore_pkcs12_with_http_info: #{e}"
|
|
2383
|
+
end
|
|
2384
|
+
```
|
|
2385
|
+
|
|
2386
|
+
### Parameters
|
|
1862
2387
|
|
|
1863
|
-
Name | Type | Description
|
|
1864
|
-
|
|
1865
|
-
**truststore_p12** | **File
|
|
2388
|
+
| Name | Type | Description | Notes |
|
|
2389
|
+
| ---- | ---- | ----------- | ----- |
|
|
2390
|
+
| **truststore_p12** | **File** | | [optional] |
|
|
1866
2391
|
|
|
1867
2392
|
### Return type
|
|
1868
2393
|
|