swagger_aem 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +201 -0
- data/README.md +118 -0
- data/docs/ConsoleApi.md +111 -0
- data/docs/CqApi.md +61 -0
- data/docs/CrxApi.md +249 -0
- data/docs/SlingApi.md +813 -0
- data/git_push.sh +67 -0
- data/lib/swagger_aem.rb +54 -0
- data/lib/swagger_aem/api/console_api.rb +151 -0
- data/lib/swagger_aem/api/cq_api.rb +96 -0
- data/lib/swagger_aem/api/crx_api.rb +318 -0
- data/lib/swagger_aem/api/sling_api.rb +982 -0
- data/lib/swagger_aem/api_client.rb +387 -0
- data/lib/swagger_aem/api_error.rb +47 -0
- data/lib/swagger_aem/configuration.rb +214 -0
- data/lib/swagger_aem/version.rb +26 -0
- data/spec/api/console_api_spec.rb +71 -0
- data/spec/api/cq_api_spec.rb +59 -0
- data/spec/api/crx_api_spec.rb +108 -0
- data/spec/api/sling_api_spec.rb +264 -0
- data/spec/api_client_spec.rb +237 -0
- data/spec/configuration_spec.rb +53 -0
- data/spec/spec_helper.rb +122 -0
- data/swagger_aem.gemspec +56 -0
- metadata +257 -0
data/docs/CrxApi.md
ADDED
@@ -0,0 +1,249 @@
|
|
1
|
+
# SwaggerAemClient::CrxApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost/*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**post_package_service**](CrxApi.md#post_package_service) | **POST** /crx/packmgr/service.jsp |
|
8
|
+
[**post_package_service_json**](CrxApi.md#post_package_service_json) | **POST** /crx/packmgr/service/.json/{path} |
|
9
|
+
[**post_package_update**](CrxApi.md#post_package_update) | **POST** /crx/packmgr/update.jsp |
|
10
|
+
[**post_set_password**](CrxApi.md#post_set_password) | **POST** /crx/explorer/ui/setpassword.jsp |
|
11
|
+
|
12
|
+
|
13
|
+
# **post_package_service**
|
14
|
+
> String post_package_service(cmd)
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
### Example
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'swagger_aem'
|
22
|
+
# setup authorization
|
23
|
+
SwaggerAemClient.configure do |config|
|
24
|
+
# Configure HTTP basic authorization: aemAuth
|
25
|
+
config.username = 'YOUR USERNAME'
|
26
|
+
config.password = 'YOUR PASSWORD'
|
27
|
+
end
|
28
|
+
|
29
|
+
api_instance = SwaggerAemClient::CrxApi.new
|
30
|
+
|
31
|
+
cmd = "cmd_example" # String |
|
32
|
+
|
33
|
+
|
34
|
+
begin
|
35
|
+
result = api_instance.post_package_service(cmd)
|
36
|
+
p result
|
37
|
+
rescue SwaggerAemClient::ApiError => e
|
38
|
+
puts "Exception when calling CrxApi->post_package_service: #{e}"
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
### Parameters
|
43
|
+
|
44
|
+
Name | Type | Description | Notes
|
45
|
+
------------- | ------------- | ------------- | -------------
|
46
|
+
**cmd** | **String**| |
|
47
|
+
|
48
|
+
### Return type
|
49
|
+
|
50
|
+
**String**
|
51
|
+
|
52
|
+
### Authorization
|
53
|
+
|
54
|
+
[aemAuth](../README.md#aemAuth)
|
55
|
+
|
56
|
+
### HTTP request headers
|
57
|
+
|
58
|
+
- **Content-Type**: Not defined
|
59
|
+
- **Accept**: text/xml
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
# **post_package_service_json**
|
64
|
+
> String post_package_service_json(path, cmd, opts)
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
### Example
|
69
|
+
```ruby
|
70
|
+
# load the gem
|
71
|
+
require 'swagger_aem'
|
72
|
+
# setup authorization
|
73
|
+
SwaggerAemClient.configure do |config|
|
74
|
+
# Configure HTTP basic authorization: aemAuth
|
75
|
+
config.username = 'YOUR USERNAME'
|
76
|
+
config.password = 'YOUR PASSWORD'
|
77
|
+
end
|
78
|
+
|
79
|
+
api_instance = SwaggerAemClient::CrxApi.new
|
80
|
+
|
81
|
+
path = "path_example" # String |
|
82
|
+
|
83
|
+
cmd = "cmd_example" # String |
|
84
|
+
|
85
|
+
opts = {
|
86
|
+
group_name: "group_name_example", # String |
|
87
|
+
package_name: "package_name_example", # String |
|
88
|
+
package_version: "package_version_example", # String |
|
89
|
+
_charset_: "_charset__example", # String |
|
90
|
+
force: true, # BOOLEAN |
|
91
|
+
package: File.new("/path/to/file.txt") # File |
|
92
|
+
}
|
93
|
+
|
94
|
+
begin
|
95
|
+
result = api_instance.post_package_service_json(path, cmd, opts)
|
96
|
+
p result
|
97
|
+
rescue SwaggerAemClient::ApiError => e
|
98
|
+
puts "Exception when calling CrxApi->post_package_service_json: #{e}"
|
99
|
+
end
|
100
|
+
```
|
101
|
+
|
102
|
+
### Parameters
|
103
|
+
|
104
|
+
Name | Type | Description | Notes
|
105
|
+
------------- | ------------- | ------------- | -------------
|
106
|
+
**path** | **String**| |
|
107
|
+
**cmd** | **String**| |
|
108
|
+
**group_name** | **String**| | [optional]
|
109
|
+
**package_name** | **String**| | [optional]
|
110
|
+
**package_version** | **String**| | [optional]
|
111
|
+
**_charset_** | **String**| | [optional]
|
112
|
+
**force** | **BOOLEAN**| | [optional]
|
113
|
+
**package** | **File**| | [optional]
|
114
|
+
|
115
|
+
### Return type
|
116
|
+
|
117
|
+
**String**
|
118
|
+
|
119
|
+
### Authorization
|
120
|
+
|
121
|
+
[aemAuth](../README.md#aemAuth)
|
122
|
+
|
123
|
+
### HTTP request headers
|
124
|
+
|
125
|
+
- **Content-Type**: multipart/form-data
|
126
|
+
- **Accept**: application/json
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
# **post_package_update**
|
131
|
+
> String post_package_update(group_name, package_name, version, path, opts)
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
### Example
|
136
|
+
```ruby
|
137
|
+
# load the gem
|
138
|
+
require 'swagger_aem'
|
139
|
+
# setup authorization
|
140
|
+
SwaggerAemClient.configure do |config|
|
141
|
+
# Configure HTTP basic authorization: aemAuth
|
142
|
+
config.username = 'YOUR USERNAME'
|
143
|
+
config.password = 'YOUR PASSWORD'
|
144
|
+
end
|
145
|
+
|
146
|
+
api_instance = SwaggerAemClient::CrxApi.new
|
147
|
+
|
148
|
+
group_name = "group_name_example" # String |
|
149
|
+
|
150
|
+
package_name = "package_name_example" # String |
|
151
|
+
|
152
|
+
version = "version_example" # String |
|
153
|
+
|
154
|
+
path = "path_example" # String |
|
155
|
+
|
156
|
+
opts = {
|
157
|
+
filter: "filter_example", # String |
|
158
|
+
_charset_: "_charset__example" # String |
|
159
|
+
}
|
160
|
+
|
161
|
+
begin
|
162
|
+
result = api_instance.post_package_update(group_name, package_name, version, path, opts)
|
163
|
+
p result
|
164
|
+
rescue SwaggerAemClient::ApiError => e
|
165
|
+
puts "Exception when calling CrxApi->post_package_update: #{e}"
|
166
|
+
end
|
167
|
+
```
|
168
|
+
|
169
|
+
### Parameters
|
170
|
+
|
171
|
+
Name | Type | Description | Notes
|
172
|
+
------------- | ------------- | ------------- | -------------
|
173
|
+
**group_name** | **String**| |
|
174
|
+
**package_name** | **String**| |
|
175
|
+
**version** | **String**| |
|
176
|
+
**path** | **String**| |
|
177
|
+
**filter** | **String**| | [optional]
|
178
|
+
**_charset_** | **String**| | [optional]
|
179
|
+
|
180
|
+
### Return type
|
181
|
+
|
182
|
+
**String**
|
183
|
+
|
184
|
+
### Authorization
|
185
|
+
|
186
|
+
[aemAuth](../README.md#aemAuth)
|
187
|
+
|
188
|
+
### HTTP request headers
|
189
|
+
|
190
|
+
- **Content-Type**: Not defined
|
191
|
+
- **Accept**: application/json
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
# **post_set_password**
|
196
|
+
> post_set_password(old, plain, verify)
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
### Example
|
201
|
+
```ruby
|
202
|
+
# load the gem
|
203
|
+
require 'swagger_aem'
|
204
|
+
# setup authorization
|
205
|
+
SwaggerAemClient.configure do |config|
|
206
|
+
# Configure HTTP basic authorization: aemAuth
|
207
|
+
config.username = 'YOUR USERNAME'
|
208
|
+
config.password = 'YOUR PASSWORD'
|
209
|
+
end
|
210
|
+
|
211
|
+
api_instance = SwaggerAemClient::CrxApi.new
|
212
|
+
|
213
|
+
old = "old_example" # String |
|
214
|
+
|
215
|
+
plain = "plain_example" # String |
|
216
|
+
|
217
|
+
verify = "verify_example" # String |
|
218
|
+
|
219
|
+
|
220
|
+
begin
|
221
|
+
api_instance.post_set_password(old, plain, verify)
|
222
|
+
rescue SwaggerAemClient::ApiError => e
|
223
|
+
puts "Exception when calling CrxApi->post_set_password: #{e}"
|
224
|
+
end
|
225
|
+
```
|
226
|
+
|
227
|
+
### Parameters
|
228
|
+
|
229
|
+
Name | Type | Description | Notes
|
230
|
+
------------- | ------------- | ------------- | -------------
|
231
|
+
**old** | **String**| |
|
232
|
+
**plain** | **String**| |
|
233
|
+
**verify** | **String**| |
|
234
|
+
|
235
|
+
### Return type
|
236
|
+
|
237
|
+
nil (empty response body)
|
238
|
+
|
239
|
+
### Authorization
|
240
|
+
|
241
|
+
[aemAuth](../README.md#aemAuth)
|
242
|
+
|
243
|
+
### HTTP request headers
|
244
|
+
|
245
|
+
- **Content-Type**: Not defined
|
246
|
+
- **Accept**: text/plain
|
247
|
+
|
248
|
+
|
249
|
+
|
data/docs/SlingApi.md
ADDED
@@ -0,0 +1,813 @@
|
|
1
|
+
# SwaggerAemClient::SlingApi
|
2
|
+
|
3
|
+
All URIs are relative to *http://localhost/*
|
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_node**](SlingApi.md#get_node) | **GET** /{path}/{name} |
|
11
|
+
[**get_package**](SlingApi.md#get_package) | **GET** /etc/packages/{group}/{name}-{version}.zip |
|
12
|
+
[**get_package_filter**](SlingApi.md#get_package_filter) | **GET** /etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json |
|
13
|
+
[**post_agent**](SlingApi.md#post_agent) | **POST** /etc/replication/agents.{runmode}/{name} |
|
14
|
+
[**post_authorizables**](SlingApi.md#post_authorizables) | **POST** /libs/granite/security/post/authorizables |
|
15
|
+
[**post_config**](SlingApi.md#post_config) | **POST** /apps/system/config.{runmode}/{name} |
|
16
|
+
[**post_node_rw**](SlingApi.md#post_node_rw) | **POST** /{path}/{name}.rw.html |
|
17
|
+
[**post_path**](SlingApi.md#post_path) | **POST** /{path}/ |
|
18
|
+
[**post_query**](SlingApi.md#post_query) | **POST** /bin/querybuilder.json |
|
19
|
+
[**post_tree_activation**](SlingApi.md#post_tree_activation) | **POST** /etc/replication/treeactivation.html |
|
20
|
+
|
21
|
+
|
22
|
+
# **delete_agent**
|
23
|
+
> delete_agent(runmode, name)
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
### Example
|
28
|
+
```ruby
|
29
|
+
# load the gem
|
30
|
+
require 'swagger_aem'
|
31
|
+
# setup authorization
|
32
|
+
SwaggerAemClient.configure do |config|
|
33
|
+
# Configure HTTP basic authorization: aemAuth
|
34
|
+
config.username = 'YOUR USERNAME'
|
35
|
+
config.password = 'YOUR PASSWORD'
|
36
|
+
end
|
37
|
+
|
38
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
39
|
+
|
40
|
+
runmode = "runmode_example" # String |
|
41
|
+
|
42
|
+
name = "name_example" # String |
|
43
|
+
|
44
|
+
|
45
|
+
begin
|
46
|
+
api_instance.delete_agent(runmode, name)
|
47
|
+
rescue SwaggerAemClient::ApiError => e
|
48
|
+
puts "Exception when calling SlingApi->delete_agent: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
Name | Type | Description | Notes
|
55
|
+
------------- | ------------- | ------------- | -------------
|
56
|
+
**runmode** | **String**| |
|
57
|
+
**name** | **String**| |
|
58
|
+
|
59
|
+
### Return type
|
60
|
+
|
61
|
+
nil (empty response body)
|
62
|
+
|
63
|
+
### Authorization
|
64
|
+
|
65
|
+
[aemAuth](../README.md#aemAuth)
|
66
|
+
|
67
|
+
### HTTP request headers
|
68
|
+
|
69
|
+
- **Content-Type**: Not defined
|
70
|
+
- **Accept**: text/plain
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
# **delete_node**
|
75
|
+
> delete_node(path, name)
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
### Example
|
80
|
+
```ruby
|
81
|
+
# load the gem
|
82
|
+
require 'swagger_aem'
|
83
|
+
# setup authorization
|
84
|
+
SwaggerAemClient.configure do |config|
|
85
|
+
# Configure HTTP basic authorization: aemAuth
|
86
|
+
config.username = 'YOUR USERNAME'
|
87
|
+
config.password = 'YOUR PASSWORD'
|
88
|
+
end
|
89
|
+
|
90
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
91
|
+
|
92
|
+
path = "path_example" # String |
|
93
|
+
|
94
|
+
name = "name_example" # String |
|
95
|
+
|
96
|
+
|
97
|
+
begin
|
98
|
+
api_instance.delete_node(path, name)
|
99
|
+
rescue SwaggerAemClient::ApiError => e
|
100
|
+
puts "Exception when calling SlingApi->delete_node: #{e}"
|
101
|
+
end
|
102
|
+
```
|
103
|
+
|
104
|
+
### Parameters
|
105
|
+
|
106
|
+
Name | Type | Description | Notes
|
107
|
+
------------- | ------------- | ------------- | -------------
|
108
|
+
**path** | **String**| |
|
109
|
+
**name** | **String**| |
|
110
|
+
|
111
|
+
### Return type
|
112
|
+
|
113
|
+
nil (empty response body)
|
114
|
+
|
115
|
+
### Authorization
|
116
|
+
|
117
|
+
[aemAuth](../README.md#aemAuth)
|
118
|
+
|
119
|
+
### HTTP request headers
|
120
|
+
|
121
|
+
- **Content-Type**: Not defined
|
122
|
+
- **Accept**: text/plain
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
# **get_agent**
|
127
|
+
> get_agent(runmode, name)
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
### Example
|
132
|
+
```ruby
|
133
|
+
# load the gem
|
134
|
+
require 'swagger_aem'
|
135
|
+
# setup authorization
|
136
|
+
SwaggerAemClient.configure do |config|
|
137
|
+
# Configure HTTP basic authorization: aemAuth
|
138
|
+
config.username = 'YOUR USERNAME'
|
139
|
+
config.password = 'YOUR PASSWORD'
|
140
|
+
end
|
141
|
+
|
142
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
143
|
+
|
144
|
+
runmode = "runmode_example" # String |
|
145
|
+
|
146
|
+
name = "name_example" # String |
|
147
|
+
|
148
|
+
|
149
|
+
begin
|
150
|
+
api_instance.get_agent(runmode, name)
|
151
|
+
rescue SwaggerAemClient::ApiError => e
|
152
|
+
puts "Exception when calling SlingApi->get_agent: #{e}"
|
153
|
+
end
|
154
|
+
```
|
155
|
+
|
156
|
+
### Parameters
|
157
|
+
|
158
|
+
Name | Type | Description | Notes
|
159
|
+
------------- | ------------- | ------------- | -------------
|
160
|
+
**runmode** | **String**| |
|
161
|
+
**name** | **String**| |
|
162
|
+
|
163
|
+
### Return type
|
164
|
+
|
165
|
+
nil (empty response body)
|
166
|
+
|
167
|
+
### Authorization
|
168
|
+
|
169
|
+
[aemAuth](../README.md#aemAuth)
|
170
|
+
|
171
|
+
### HTTP request headers
|
172
|
+
|
173
|
+
- **Content-Type**: Not defined
|
174
|
+
- **Accept**: text/plain
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
# **get_node**
|
179
|
+
> get_node(path, name)
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
### Example
|
184
|
+
```ruby
|
185
|
+
# load the gem
|
186
|
+
require 'swagger_aem'
|
187
|
+
# setup authorization
|
188
|
+
SwaggerAemClient.configure do |config|
|
189
|
+
# Configure HTTP basic authorization: aemAuth
|
190
|
+
config.username = 'YOUR USERNAME'
|
191
|
+
config.password = 'YOUR PASSWORD'
|
192
|
+
end
|
193
|
+
|
194
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
195
|
+
|
196
|
+
path = "path_example" # String |
|
197
|
+
|
198
|
+
name = "name_example" # String |
|
199
|
+
|
200
|
+
|
201
|
+
begin
|
202
|
+
api_instance.get_node(path, name)
|
203
|
+
rescue SwaggerAemClient::ApiError => e
|
204
|
+
puts "Exception when calling SlingApi->get_node: #{e}"
|
205
|
+
end
|
206
|
+
```
|
207
|
+
|
208
|
+
### Parameters
|
209
|
+
|
210
|
+
Name | Type | Description | Notes
|
211
|
+
------------- | ------------- | ------------- | -------------
|
212
|
+
**path** | **String**| |
|
213
|
+
**name** | **String**| |
|
214
|
+
|
215
|
+
### Return type
|
216
|
+
|
217
|
+
nil (empty response body)
|
218
|
+
|
219
|
+
### Authorization
|
220
|
+
|
221
|
+
[aemAuth](../README.md#aemAuth)
|
222
|
+
|
223
|
+
### HTTP request headers
|
224
|
+
|
225
|
+
- **Content-Type**: Not defined
|
226
|
+
- **Accept**: text/plain
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
# **get_package**
|
231
|
+
> File get_package(group, name, version)
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
### Example
|
236
|
+
```ruby
|
237
|
+
# load the gem
|
238
|
+
require 'swagger_aem'
|
239
|
+
# setup authorization
|
240
|
+
SwaggerAemClient.configure do |config|
|
241
|
+
# Configure HTTP basic authorization: aemAuth
|
242
|
+
config.username = 'YOUR USERNAME'
|
243
|
+
config.password = 'YOUR PASSWORD'
|
244
|
+
end
|
245
|
+
|
246
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
247
|
+
|
248
|
+
group = "group_example" # String |
|
249
|
+
|
250
|
+
name = "name_example" # String |
|
251
|
+
|
252
|
+
version = "version_example" # String |
|
253
|
+
|
254
|
+
|
255
|
+
begin
|
256
|
+
result = api_instance.get_package(group, name, version)
|
257
|
+
p result
|
258
|
+
rescue SwaggerAemClient::ApiError => e
|
259
|
+
puts "Exception when calling SlingApi->get_package: #{e}"
|
260
|
+
end
|
261
|
+
```
|
262
|
+
|
263
|
+
### Parameters
|
264
|
+
|
265
|
+
Name | Type | Description | Notes
|
266
|
+
------------- | ------------- | ------------- | -------------
|
267
|
+
**group** | **String**| |
|
268
|
+
**name** | **String**| |
|
269
|
+
**version** | **String**| |
|
270
|
+
|
271
|
+
### Return type
|
272
|
+
|
273
|
+
**File**
|
274
|
+
|
275
|
+
### Authorization
|
276
|
+
|
277
|
+
[aemAuth](../README.md#aemAuth)
|
278
|
+
|
279
|
+
### HTTP request headers
|
280
|
+
|
281
|
+
- **Content-Type**: Not defined
|
282
|
+
- **Accept**: application/octet-stream
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
# **get_package_filter**
|
287
|
+
> String get_package_filter(group, name, version)
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
### Example
|
292
|
+
```ruby
|
293
|
+
# load the gem
|
294
|
+
require 'swagger_aem'
|
295
|
+
# setup authorization
|
296
|
+
SwaggerAemClient.configure do |config|
|
297
|
+
# Configure HTTP basic authorization: aemAuth
|
298
|
+
config.username = 'YOUR USERNAME'
|
299
|
+
config.password = 'YOUR PASSWORD'
|
300
|
+
end
|
301
|
+
|
302
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
303
|
+
|
304
|
+
group = "group_example" # String |
|
305
|
+
|
306
|
+
name = "name_example" # String |
|
307
|
+
|
308
|
+
version = "version_example" # String |
|
309
|
+
|
310
|
+
|
311
|
+
begin
|
312
|
+
result = api_instance.get_package_filter(group, name, version)
|
313
|
+
p result
|
314
|
+
rescue SwaggerAemClient::ApiError => e
|
315
|
+
puts "Exception when calling SlingApi->get_package_filter: #{e}"
|
316
|
+
end
|
317
|
+
```
|
318
|
+
|
319
|
+
### Parameters
|
320
|
+
|
321
|
+
Name | Type | Description | Notes
|
322
|
+
------------- | ------------- | ------------- | -------------
|
323
|
+
**group** | **String**| |
|
324
|
+
**name** | **String**| |
|
325
|
+
**version** | **String**| |
|
326
|
+
|
327
|
+
### Return type
|
328
|
+
|
329
|
+
**String**
|
330
|
+
|
331
|
+
### Authorization
|
332
|
+
|
333
|
+
[aemAuth](../README.md#aemAuth)
|
334
|
+
|
335
|
+
### HTTP request headers
|
336
|
+
|
337
|
+
- **Content-Type**: Not defined
|
338
|
+
- **Accept**: application/json
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
# **post_agent**
|
343
|
+
> post_agent(runmode, name, opts)
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
### Example
|
348
|
+
```ruby
|
349
|
+
# load the gem
|
350
|
+
require 'swagger_aem'
|
351
|
+
# setup authorization
|
352
|
+
SwaggerAemClient.configure do |config|
|
353
|
+
# Configure HTTP basic authorization: aemAuth
|
354
|
+
config.username = 'YOUR USERNAME'
|
355
|
+
config.password = 'YOUR PASSWORD'
|
356
|
+
end
|
357
|
+
|
358
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
359
|
+
|
360
|
+
runmode = "runmode_example" # String |
|
361
|
+
|
362
|
+
name = "name_example" # String |
|
363
|
+
|
364
|
+
opts = {
|
365
|
+
jcrprimary_type: "jcrprimary_type_example", # String |
|
366
|
+
jcrcontentcqname: "jcrcontentcqname_example", # String |
|
367
|
+
jcrcontentjcrtitle: "jcrcontentjcrtitle_example", # String |
|
368
|
+
jcrcontentjcrdescription: "jcrcontentjcrdescription_example", # String |
|
369
|
+
jcrcontentslingresource_type: "jcrcontentslingresource_type_example", # String |
|
370
|
+
jcrcontenttransport_uri: "jcrcontenttransport_uri_example", # String |
|
371
|
+
jcrcontentlog_level: "jcrcontentlog_level_example", # String |
|
372
|
+
jcrcontentno_versioning: true, # BOOLEAN |
|
373
|
+
jcrcontentprotocol_http_headers: ["jcrcontentprotocol_http_headers_example"], # Array<String> |
|
374
|
+
jcrcontentprotocol_http_headers_type_hint: "jcrcontentprotocol_http_headers_type_hint_example", # String |
|
375
|
+
jcrcontentprotocol_http_method: "jcrcontentprotocol_http_method_example", # String |
|
376
|
+
jcrcontentretry_delay: "jcrcontentretry_delay_example", # String |
|
377
|
+
jcrcontentserialization_type: "jcrcontentserialization_type_example", # String |
|
378
|
+
jcrcontentjcrmixin_types: "jcrcontentjcrmixin_types_example", # String |
|
379
|
+
jcrcontenttrigger_receive: true, # BOOLEAN |
|
380
|
+
jcrcontenttrigger_specific: true, # BOOLEAN |
|
381
|
+
jcrcontentcqtemplate: "jcrcontentcqtemplate_example", # String |
|
382
|
+
jcrcontentenabled: true # BOOLEAN |
|
383
|
+
}
|
384
|
+
|
385
|
+
begin
|
386
|
+
api_instance.post_agent(runmode, name, opts)
|
387
|
+
rescue SwaggerAemClient::ApiError => e
|
388
|
+
puts "Exception when calling SlingApi->post_agent: #{e}"
|
389
|
+
end
|
390
|
+
```
|
391
|
+
|
392
|
+
### Parameters
|
393
|
+
|
394
|
+
Name | Type | Description | Notes
|
395
|
+
------------- | ------------- | ------------- | -------------
|
396
|
+
**runmode** | **String**| |
|
397
|
+
**name** | **String**| |
|
398
|
+
**jcrprimary_type** | **String**| | [optional]
|
399
|
+
**jcrcontentcqname** | **String**| | [optional]
|
400
|
+
**jcrcontentjcrtitle** | **String**| | [optional]
|
401
|
+
**jcrcontentjcrdescription** | **String**| | [optional]
|
402
|
+
**jcrcontentslingresource_type** | **String**| | [optional]
|
403
|
+
**jcrcontenttransport_uri** | **String**| | [optional]
|
404
|
+
**jcrcontentlog_level** | **String**| | [optional]
|
405
|
+
**jcrcontentno_versioning** | **BOOLEAN**| | [optional]
|
406
|
+
**jcrcontentprotocol_http_headers** | [**Array<String>**](String.md)| | [optional]
|
407
|
+
**jcrcontentprotocol_http_headers_type_hint** | **String**| | [optional]
|
408
|
+
**jcrcontentprotocol_http_method** | **String**| | [optional]
|
409
|
+
**jcrcontentretry_delay** | **String**| | [optional]
|
410
|
+
**jcrcontentserialization_type** | **String**| | [optional]
|
411
|
+
**jcrcontentjcrmixin_types** | **String**| | [optional]
|
412
|
+
**jcrcontenttrigger_receive** | **BOOLEAN**| | [optional]
|
413
|
+
**jcrcontenttrigger_specific** | **BOOLEAN**| | [optional]
|
414
|
+
**jcrcontentcqtemplate** | **String**| | [optional]
|
415
|
+
**jcrcontentenabled** | **BOOLEAN**| | [optional]
|
416
|
+
|
417
|
+
### Return type
|
418
|
+
|
419
|
+
nil (empty response body)
|
420
|
+
|
421
|
+
### Authorization
|
422
|
+
|
423
|
+
[aemAuth](../README.md#aemAuth)
|
424
|
+
|
425
|
+
### HTTP request headers
|
426
|
+
|
427
|
+
- **Content-Type**: Not defined
|
428
|
+
- **Accept**: text/plain
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
# **post_authorizables**
|
433
|
+
> String post_authorizables(authorizable_id, intermediate_path, opts)
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
### Example
|
438
|
+
```ruby
|
439
|
+
# load the gem
|
440
|
+
require 'swagger_aem'
|
441
|
+
# setup authorization
|
442
|
+
SwaggerAemClient.configure do |config|
|
443
|
+
# Configure HTTP basic authorization: aemAuth
|
444
|
+
config.username = 'YOUR USERNAME'
|
445
|
+
config.password = 'YOUR PASSWORD'
|
446
|
+
end
|
447
|
+
|
448
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
449
|
+
|
450
|
+
authorizable_id = "authorizable_id_example" # String |
|
451
|
+
|
452
|
+
intermediate_path = "intermediate_path_example" # String |
|
453
|
+
|
454
|
+
opts = {
|
455
|
+
create_user: "create_user_example", # String |
|
456
|
+
create_group: "create_group_example", # String |
|
457
|
+
reppassword: "reppassword_example", # String |
|
458
|
+
profilegiven_name: "profilegiven_name_example" # String |
|
459
|
+
}
|
460
|
+
|
461
|
+
begin
|
462
|
+
result = api_instance.post_authorizables(authorizable_id, intermediate_path, opts)
|
463
|
+
p result
|
464
|
+
rescue SwaggerAemClient::ApiError => e
|
465
|
+
puts "Exception when calling SlingApi->post_authorizables: #{e}"
|
466
|
+
end
|
467
|
+
```
|
468
|
+
|
469
|
+
### Parameters
|
470
|
+
|
471
|
+
Name | Type | Description | Notes
|
472
|
+
------------- | ------------- | ------------- | -------------
|
473
|
+
**authorizable_id** | **String**| |
|
474
|
+
**intermediate_path** | **String**| |
|
475
|
+
**create_user** | **String**| | [optional]
|
476
|
+
**create_group** | **String**| | [optional]
|
477
|
+
**reppassword** | **String**| | [optional]
|
478
|
+
**profilegiven_name** | **String**| | [optional]
|
479
|
+
|
480
|
+
### Return type
|
481
|
+
|
482
|
+
**String**
|
483
|
+
|
484
|
+
### Authorization
|
485
|
+
|
486
|
+
[aemAuth](../README.md#aemAuth)
|
487
|
+
|
488
|
+
### HTTP request headers
|
489
|
+
|
490
|
+
- **Content-Type**: Not defined
|
491
|
+
- **Accept**: text/html
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
# **post_config**
|
496
|
+
> post_config(runmode, name, opts)
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
### Example
|
501
|
+
```ruby
|
502
|
+
# load the gem
|
503
|
+
require 'swagger_aem'
|
504
|
+
# setup authorization
|
505
|
+
SwaggerAemClient.configure do |config|
|
506
|
+
# Configure HTTP basic authorization: aemAuth
|
507
|
+
config.username = 'YOUR USERNAME'
|
508
|
+
config.password = 'YOUR PASSWORD'
|
509
|
+
end
|
510
|
+
|
511
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
512
|
+
|
513
|
+
runmode = "runmode_example" # String |
|
514
|
+
|
515
|
+
name = "name_example" # String |
|
516
|
+
|
517
|
+
opts = {
|
518
|
+
org_apache_felix_https_nio: true, # BOOLEAN |
|
519
|
+
org_apache_felix_https_nio_type_hint: "org_apache_felix_https_nio_type_hint_example", # String |
|
520
|
+
org_apache_felix_https_keystore: "org_apache_felix_https_keystore_example", # String |
|
521
|
+
org_apache_felix_https_keystore_type_hint: "org_apache_felix_https_keystore_type_hint_example", # String |
|
522
|
+
org_apache_felix_https_keystore_password: "org_apache_felix_https_keystore_password_example", # String |
|
523
|
+
org_apache_felix_https_keystore_password_type_hint: "org_apache_felix_https_keystore_password_type_hint_example", # String |
|
524
|
+
org_apache_felix_https_keystore_key: "org_apache_felix_https_keystore_key_example", # String |
|
525
|
+
org_apache_felix_https_keystore_key_type_hint: "org_apache_felix_https_keystore_key_type_hint_example", # String |
|
526
|
+
org_apache_felix_https_keystore_key_password: "org_apache_felix_https_keystore_key_password_example", # String |
|
527
|
+
org_apache_felix_https_keystore_key_password_type_hint: "org_apache_felix_https_keystore_key_password_type_hint_example", # String |
|
528
|
+
org_apache_felix_https_truststore: "org_apache_felix_https_truststore_example", # String |
|
529
|
+
org_apache_felix_https_truststore_type_hint: "org_apache_felix_https_truststore_type_hint_example", # String |
|
530
|
+
org_apache_felix_https_truststore_password: "org_apache_felix_https_truststore_password_example", # String |
|
531
|
+
org_apache_felix_https_truststore_password_type_hint: "org_apache_felix_https_truststore_password_type_hint_example", # String |
|
532
|
+
org_apache_felix_https_clientcertificate: "org_apache_felix_https_clientcertificate_example", # String |
|
533
|
+
org_apache_felix_https_clientcertificate_type_hint: "org_apache_felix_https_clientcertificate_type_hint_example", # String |
|
534
|
+
org_apache_felix_https_enable: "org_apache_felix_https_enable_example", # String |
|
535
|
+
org_apache_felix_https_enable_type_hint: "org_apache_felix_https_enable_type_hint_example", # String |
|
536
|
+
org_osgi_service_http_port_secure: "org_osgi_service_http_port_secure_example", # String |
|
537
|
+
org_osgi_service_http_port_secure_type_hint: "org_osgi_service_http_port_secure_type_hint_example" # String |
|
538
|
+
}
|
539
|
+
|
540
|
+
begin
|
541
|
+
api_instance.post_config(runmode, name, opts)
|
542
|
+
rescue SwaggerAemClient::ApiError => e
|
543
|
+
puts "Exception when calling SlingApi->post_config: #{e}"
|
544
|
+
end
|
545
|
+
```
|
546
|
+
|
547
|
+
### Parameters
|
548
|
+
|
549
|
+
Name | Type | Description | Notes
|
550
|
+
------------- | ------------- | ------------- | -------------
|
551
|
+
**runmode** | **String**| |
|
552
|
+
**name** | **String**| |
|
553
|
+
**org_apache_felix_https_nio** | **BOOLEAN**| | [optional]
|
554
|
+
**org_apache_felix_https_nio_type_hint** | **String**| | [optional]
|
555
|
+
**org_apache_felix_https_keystore** | **String**| | [optional]
|
556
|
+
**org_apache_felix_https_keystore_type_hint** | **String**| | [optional]
|
557
|
+
**org_apache_felix_https_keystore_password** | **String**| | [optional]
|
558
|
+
**org_apache_felix_https_keystore_password_type_hint** | **String**| | [optional]
|
559
|
+
**org_apache_felix_https_keystore_key** | **String**| | [optional]
|
560
|
+
**org_apache_felix_https_keystore_key_type_hint** | **String**| | [optional]
|
561
|
+
**org_apache_felix_https_keystore_key_password** | **String**| | [optional]
|
562
|
+
**org_apache_felix_https_keystore_key_password_type_hint** | **String**| | [optional]
|
563
|
+
**org_apache_felix_https_truststore** | **String**| | [optional]
|
564
|
+
**org_apache_felix_https_truststore_type_hint** | **String**| | [optional]
|
565
|
+
**org_apache_felix_https_truststore_password** | **String**| | [optional]
|
566
|
+
**org_apache_felix_https_truststore_password_type_hint** | **String**| | [optional]
|
567
|
+
**org_apache_felix_https_clientcertificate** | **String**| | [optional]
|
568
|
+
**org_apache_felix_https_clientcertificate_type_hint** | **String**| | [optional]
|
569
|
+
**org_apache_felix_https_enable** | **String**| | [optional]
|
570
|
+
**org_apache_felix_https_enable_type_hint** | **String**| | [optional]
|
571
|
+
**org_osgi_service_http_port_secure** | **String**| | [optional]
|
572
|
+
**org_osgi_service_http_port_secure_type_hint** | **String**| | [optional]
|
573
|
+
|
574
|
+
### Return type
|
575
|
+
|
576
|
+
nil (empty response body)
|
577
|
+
|
578
|
+
### Authorization
|
579
|
+
|
580
|
+
[aemAuth](../README.md#aemAuth)
|
581
|
+
|
582
|
+
### HTTP request headers
|
583
|
+
|
584
|
+
- **Content-Type**: Not defined
|
585
|
+
- **Accept**: text/plain
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
# **post_node_rw**
|
590
|
+
> post_node_rw(path, name, opts)
|
591
|
+
|
592
|
+
|
593
|
+
|
594
|
+
### Example
|
595
|
+
```ruby
|
596
|
+
# load the gem
|
597
|
+
require 'swagger_aem'
|
598
|
+
# setup authorization
|
599
|
+
SwaggerAemClient.configure do |config|
|
600
|
+
# Configure HTTP basic authorization: aemAuth
|
601
|
+
config.username = 'YOUR USERNAME'
|
602
|
+
config.password = 'YOUR PASSWORD'
|
603
|
+
end
|
604
|
+
|
605
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
606
|
+
|
607
|
+
path = "path_example" # String |
|
608
|
+
|
609
|
+
name = "name_example" # String |
|
610
|
+
|
611
|
+
opts = {
|
612
|
+
add_members: "add_members_example" # String |
|
613
|
+
}
|
614
|
+
|
615
|
+
begin
|
616
|
+
api_instance.post_node_rw(path, name, opts)
|
617
|
+
rescue SwaggerAemClient::ApiError => e
|
618
|
+
puts "Exception when calling SlingApi->post_node_rw: #{e}"
|
619
|
+
end
|
620
|
+
```
|
621
|
+
|
622
|
+
### Parameters
|
623
|
+
|
624
|
+
Name | Type | Description | Notes
|
625
|
+
------------- | ------------- | ------------- | -------------
|
626
|
+
**path** | **String**| |
|
627
|
+
**name** | **String**| |
|
628
|
+
**add_members** | **String**| | [optional]
|
629
|
+
|
630
|
+
### Return type
|
631
|
+
|
632
|
+
nil (empty response body)
|
633
|
+
|
634
|
+
### Authorization
|
635
|
+
|
636
|
+
[aemAuth](../README.md#aemAuth)
|
637
|
+
|
638
|
+
### HTTP request headers
|
639
|
+
|
640
|
+
- **Content-Type**: Not defined
|
641
|
+
- **Accept**: text/plain
|
642
|
+
|
643
|
+
|
644
|
+
|
645
|
+
# **post_path**
|
646
|
+
> post_path(path, jcrprimary_type, name)
|
647
|
+
|
648
|
+
|
649
|
+
|
650
|
+
### Example
|
651
|
+
```ruby
|
652
|
+
# load the gem
|
653
|
+
require 'swagger_aem'
|
654
|
+
# setup authorization
|
655
|
+
SwaggerAemClient.configure do |config|
|
656
|
+
# Configure HTTP basic authorization: aemAuth
|
657
|
+
config.username = 'YOUR USERNAME'
|
658
|
+
config.password = 'YOUR PASSWORD'
|
659
|
+
end
|
660
|
+
|
661
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
662
|
+
|
663
|
+
path = "path_example" # String |
|
664
|
+
|
665
|
+
jcrprimary_type = "jcrprimary_type_example" # String |
|
666
|
+
|
667
|
+
name = "name_example" # String |
|
668
|
+
|
669
|
+
|
670
|
+
begin
|
671
|
+
api_instance.post_path(path, jcrprimary_type, name)
|
672
|
+
rescue SwaggerAemClient::ApiError => e
|
673
|
+
puts "Exception when calling SlingApi->post_path: #{e}"
|
674
|
+
end
|
675
|
+
```
|
676
|
+
|
677
|
+
### Parameters
|
678
|
+
|
679
|
+
Name | Type | Description | Notes
|
680
|
+
------------- | ------------- | ------------- | -------------
|
681
|
+
**path** | **String**| |
|
682
|
+
**jcrprimary_type** | **String**| |
|
683
|
+
**name** | **String**| |
|
684
|
+
|
685
|
+
### Return type
|
686
|
+
|
687
|
+
nil (empty response body)
|
688
|
+
|
689
|
+
### Authorization
|
690
|
+
|
691
|
+
[aemAuth](../README.md#aemAuth)
|
692
|
+
|
693
|
+
### HTTP request headers
|
694
|
+
|
695
|
+
- **Content-Type**: Not defined
|
696
|
+
- **Accept**: text/plain
|
697
|
+
|
698
|
+
|
699
|
+
|
700
|
+
# **post_query**
|
701
|
+
> String post_query(path, p_limit, _1_property, _1_property_value)
|
702
|
+
|
703
|
+
|
704
|
+
|
705
|
+
### Example
|
706
|
+
```ruby
|
707
|
+
# load the gem
|
708
|
+
require 'swagger_aem'
|
709
|
+
# setup authorization
|
710
|
+
SwaggerAemClient.configure do |config|
|
711
|
+
# Configure HTTP basic authorization: aemAuth
|
712
|
+
config.username = 'YOUR USERNAME'
|
713
|
+
config.password = 'YOUR PASSWORD'
|
714
|
+
end
|
715
|
+
|
716
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
717
|
+
|
718
|
+
path = "path_example" # String |
|
719
|
+
|
720
|
+
p_limit = 3.4 # Float |
|
721
|
+
|
722
|
+
_1_property = "_1_property_example" # String |
|
723
|
+
|
724
|
+
_1_property_value = "_1_property_value_example" # String |
|
725
|
+
|
726
|
+
|
727
|
+
begin
|
728
|
+
result = api_instance.post_query(path, p_limit, _1_property, _1_property_value)
|
729
|
+
p result
|
730
|
+
rescue SwaggerAemClient::ApiError => e
|
731
|
+
puts "Exception when calling SlingApi->post_query: #{e}"
|
732
|
+
end
|
733
|
+
```
|
734
|
+
|
735
|
+
### Parameters
|
736
|
+
|
737
|
+
Name | Type | Description | Notes
|
738
|
+
------------- | ------------- | ------------- | -------------
|
739
|
+
**path** | **String**| |
|
740
|
+
**p_limit** | **Float**| |
|
741
|
+
**_1_property** | **String**| |
|
742
|
+
**_1_property_value** | **String**| |
|
743
|
+
|
744
|
+
### Return type
|
745
|
+
|
746
|
+
**String**
|
747
|
+
|
748
|
+
### Authorization
|
749
|
+
|
750
|
+
[aemAuth](../README.md#aemAuth)
|
751
|
+
|
752
|
+
### HTTP request headers
|
753
|
+
|
754
|
+
- **Content-Type**: Not defined
|
755
|
+
- **Accept**: application/json
|
756
|
+
|
757
|
+
|
758
|
+
|
759
|
+
# **post_tree_activation**
|
760
|
+
> post_tree_activation(ignoredeactivated, onlymodified, path)
|
761
|
+
|
762
|
+
|
763
|
+
|
764
|
+
### Example
|
765
|
+
```ruby
|
766
|
+
# load the gem
|
767
|
+
require 'swagger_aem'
|
768
|
+
# setup authorization
|
769
|
+
SwaggerAemClient.configure do |config|
|
770
|
+
# Configure HTTP basic authorization: aemAuth
|
771
|
+
config.username = 'YOUR USERNAME'
|
772
|
+
config.password = 'YOUR PASSWORD'
|
773
|
+
end
|
774
|
+
|
775
|
+
api_instance = SwaggerAemClient::SlingApi.new
|
776
|
+
|
777
|
+
ignoredeactivated = true # BOOLEAN |
|
778
|
+
|
779
|
+
onlymodified = true # BOOLEAN |
|
780
|
+
|
781
|
+
path = "path_example" # String |
|
782
|
+
|
783
|
+
|
784
|
+
begin
|
785
|
+
api_instance.post_tree_activation(ignoredeactivated, onlymodified, path)
|
786
|
+
rescue SwaggerAemClient::ApiError => e
|
787
|
+
puts "Exception when calling SlingApi->post_tree_activation: #{e}"
|
788
|
+
end
|
789
|
+
```
|
790
|
+
|
791
|
+
### Parameters
|
792
|
+
|
793
|
+
Name | Type | Description | Notes
|
794
|
+
------------- | ------------- | ------------- | -------------
|
795
|
+
**ignoredeactivated** | **BOOLEAN**| |
|
796
|
+
**onlymodified** | **BOOLEAN**| |
|
797
|
+
**path** | **String**| |
|
798
|
+
|
799
|
+
### Return type
|
800
|
+
|
801
|
+
nil (empty response body)
|
802
|
+
|
803
|
+
### Authorization
|
804
|
+
|
805
|
+
[aemAuth](../README.md#aemAuth)
|
806
|
+
|
807
|
+
### HTTP request headers
|
808
|
+
|
809
|
+
- **Content-Type**: Not defined
|
810
|
+
- **Accept**: text/plain
|
811
|
+
|
812
|
+
|
813
|
+
|