Class: SwaggerAemClient::SlingApi
- Inherits:
-
Object
- Object
- SwaggerAemClient::SlingApi
- Defined in:
- lib/swagger_aem/api/sling_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
- #delete_agent(runmode, name, opts = {}) ⇒ nil
-
#delete_agent_with_http_info(runmode, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #delete_node(path, name, opts = {}) ⇒ nil
-
#delete_node_with_http_info(path, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #get_agent(runmode, name, opts = {}) ⇒ nil
-
#get_agent_with_http_info(runmode, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #get_agents(runmode, opts = {}) ⇒ String
-
#get_agents_with_http_info(runmode, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
String data, response status code and response headers.
- #get_node(path, name, opts = {}) ⇒ nil
-
#get_node_with_http_info(path, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #get_package(group, name, version, opts = {}) ⇒ File
- #get_package_filter(group, name, version, opts = {}) ⇒ String
-
#get_package_filter_with_http_info(group, name, version, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
String data, response status code and response headers.
-
#get_package_with_http_info(group, name, version, opts = {}) ⇒ Array<(File, Fixnum, Hash)>
File data, response status code and response headers.
- #get_query(path, p_limit, _1_property, _1_property_value, opts = {}) ⇒ String
-
#get_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
String data, response status code and response headers.
-
#initialize(api_client = ApiClient.default) ⇒ SlingApi
constructor
A new instance of SlingApi.
- #post_agent(runmode, name, opts = {}) ⇒ nil
-
#post_agent_with_http_info(runmode, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #post_authorizables(authorizable_id, intermediate_path, opts = {}) ⇒ String
-
#post_authorizables_with_http_info(authorizable_id, intermediate_path, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
String data, response status code and response headers.
- #post_config_apache_felix_jetty_based_http_service(runmode, opts = {}) ⇒ nil
-
#post_config_apache_felix_jetty_based_http_service_with_http_info(runmode, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #post_config_apache_sling_dav_ex_servlet(runmode, opts = {}) ⇒ nil
-
#post_config_apache_sling_dav_ex_servlet_with_http_info(runmode, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #post_config_apache_sling_get_servlet(runmode, opts = {}) ⇒ nil
-
#post_config_apache_sling_get_servlet_with_http_info(runmode, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #post_config_apache_sling_referrer_filter(runmode, opts = {}) ⇒ nil
-
#post_config_apache_sling_referrer_filter_with_http_info(runmode, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #post_node_rw(path, name, opts = {}) ⇒ nil
-
#post_node_rw_with_http_info(path, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #post_path(path, jcrprimary_type, name, opts = {}) ⇒ nil
-
#post_path_with_http_info(path, jcrprimary_type, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
- #post_query(path, p_limit, _1_property, _1_property_value, opts = {}) ⇒ String
-
#post_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
String data, response status code and response headers.
- #post_tree_activation(ignoredeactivated, onlymodified, path, opts = {}) ⇒ nil
-
#post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Nil, response status code and response headers.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ SlingApi
Returns a new instance of SlingApi.
19 20 21 |
# File 'lib/swagger_aem/api/sling_api.rb', line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/swagger_aem/api/sling_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#delete_agent(runmode, name, opts = {}) ⇒ nil
29 30 31 32 |
# File 'lib/swagger_aem/api/sling_api.rb', line 29 def delete_agent(runmode, name, opts = {}) delete_agent_with_http_info(runmode, name, opts) return nil end |
#delete_agent_with_http_info(runmode, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/swagger_aem/api/sling_api.rb', line 40 def delete_agent_with_http_info(runmode, name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.delete_agent ..." end # verify the required parameter 'runmode' is set if @api_client.config.client_side_validation && runmode.nil? fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.delete_agent" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_agent" end # resource path local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#delete_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#delete_node(path, name, opts = {}) ⇒ nil
87 88 89 90 |
# File 'lib/swagger_aem/api/sling_api.rb', line 87 def delete_node(path, name, opts = {}) delete_node_with_http_info(path, name, opts) return nil end |
#delete_node_with_http_info(path, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/swagger_aem/api/sling_api.rb', line 98 def delete_node_with_http_info(path, name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.delete_node ..." end # verify the required parameter 'path' is set if @api_client.config.client_side_validation && path.nil? fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.delete_node" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_node" end # resource path local_var_path = "/{path}/{name}".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#delete_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_agent(runmode, name, opts = {}) ⇒ nil
145 146 147 148 |
# File 'lib/swagger_aem/api/sling_api.rb', line 145 def get_agent(runmode, name, opts = {}) get_agent_with_http_info(runmode, name, opts) return nil end |
#get_agent_with_http_info(runmode, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
# File 'lib/swagger_aem/api/sling_api.rb', line 156 def get_agent_with_http_info(runmode, name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.get_agent ..." end # verify the required parameter 'runmode' is set if @api_client.config.client_side_validation && runmode.nil? fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agent" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_agent" end # resource path local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#get_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_agents(runmode, opts = {}) ⇒ String
202 203 204 205 |
# File 'lib/swagger_aem/api/sling_api.rb', line 202 def get_agents(runmode, opts = {}) data, _status_code, _headers = get_agents_with_http_info(runmode, opts) return data end |
#get_agents_with_http_info(runmode, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
Returns String data, response status code and response headers.
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 |
# File 'lib/swagger_aem/api/sling_api.rb', line 212 def get_agents_with_http_info(runmode, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.get_agents ..." end # verify the required parameter 'runmode' is set if @api_client.config.client_side_validation && runmode.nil? fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agents" end # resource path local_var_path = "/etc/replication/agents.{runmode}.-1.json".sub('{' + 'runmode' + '}', runmode.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'String') if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#get_agents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_node(path, name, opts = {}) ⇒ nil
256 257 258 259 |
# File 'lib/swagger_aem/api/sling_api.rb', line 256 def get_node(path, name, opts = {}) get_node_with_http_info(path, name, opts) return nil end |
#get_node_with_http_info(path, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 |
# File 'lib/swagger_aem/api/sling_api.rb', line 267 def get_node_with_http_info(path, name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.get_node ..." end # verify the required parameter 'path' is set if @api_client.config.client_side_validation && path.nil? fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.get_node" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_node" end # resource path local_var_path = "/{path}/{name}".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#get_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_package(group, name, version, opts = {}) ⇒ File
315 316 317 318 |
# File 'lib/swagger_aem/api/sling_api.rb', line 315 def get_package(group, name, version, opts = {}) data, _status_code, _headers = get_package_with_http_info(group, name, version, opts) return data end |
#get_package_filter(group, name, version, opts = {}) ⇒ String
380 381 382 383 |
# File 'lib/swagger_aem/api/sling_api.rb', line 380 def get_package_filter(group, name, version, opts = {}) data, _status_code, _headers = get_package_filter_with_http_info(group, name, version, opts) return data end |
#get_package_filter_with_http_info(group, name, version, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
Returns String data, response status code and response headers.
392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 |
# File 'lib/swagger_aem/api/sling_api.rb', line 392 def get_package_filter_with_http_info(group, name, version, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.get_package_filter ..." end # verify the required parameter 'group' is set if @api_client.config.client_side_validation && group.nil? fail ArgumentError, "Missing the required parameter 'group' when calling SlingApi.get_package_filter" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_package_filter" end # verify the required parameter 'version' is set if @api_client.config.client_side_validation && version.nil? fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package_filter" end # resource path local_var_path = "/etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json".sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'String') if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#get_package_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_package_with_http_info(group, name, version, opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Returns File data, response status code and response headers.
327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 |
# File 'lib/swagger_aem/api/sling_api.rb', line 327 def get_package_with_http_info(group, name, version, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.get_package ..." end # verify the required parameter 'group' is set if @api_client.config.client_side_validation && group.nil? fail ArgumentError, "Missing the required parameter 'group' when calling SlingApi.get_package" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_package" end # verify the required parameter 'version' is set if @api_client.config.client_side_validation && version.nil? fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package" end # resource path local_var_path = "/etc/packages/{group}/{name}-{version}.zip".sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s) # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#get_package\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#get_query(path, p_limit, _1_property, _1_property_value, opts = {}) ⇒ String
446 447 448 449 |
# File 'lib/swagger_aem/api/sling_api.rb', line 446 def get_query(path, p_limit, _1_property, _1_property_value, opts = {}) data, _status_code, _headers = get_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts) return data end |
#get_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
Returns String data, response status code and response headers.
459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 |
# File 'lib/swagger_aem/api/sling_api.rb', line 459 def get_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.get_query ..." end # verify the required parameter 'path' is set if @api_client.config.client_side_validation && path.nil? fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.get_query" end # verify the required parameter 'p_limit' is set if @api_client.config.client_side_validation && p_limit.nil? fail ArgumentError, "Missing the required parameter 'p_limit' when calling SlingApi.get_query" end # verify the required parameter '_1_property' is set if @api_client.config.client_side_validation && _1_property.nil? fail ArgumentError, "Missing the required parameter '_1_property' when calling SlingApi.get_query" end # verify the required parameter '_1_property_value' is set if @api_client.config.client_side_validation && _1_property_value.nil? fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.get_query" end # resource path local_var_path = "/bin/querybuilder.json" # query parameters query_params = {} query_params[:'path'] = path query_params[:'p.limit'] = p_limit query_params[:'1_property'] = _1_property query_params[:'1_property.value'] = _1_property_value # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'String') if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#get_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_agent(runmode, name, opts = {}) ⇒ nil
569 570 571 572 |
# File 'lib/swagger_aem/api/sling_api.rb', line 569 def post_agent(runmode, name, opts = {}) post_agent_with_http_info(runmode, name, opts) return nil end |
#post_agent_with_http_info(runmode, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 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 |
# File 'lib/swagger_aem/api/sling_api.rb', line 630 def post_agent_with_http_info(runmode, name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_agent ..." end # verify the required parameter 'runmode' is set if @api_client.config.client_side_validation && runmode.nil? fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_agent" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_agent" end # resource path local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'jcr:content/cq:distribute'] = opts[:'jcrcontentcqdistribute'] if !opts[:'jcrcontentcqdistribute'].nil? query_params[:'jcr:content/cq:distribute@TypeHint'] = opts[:'jcrcontentcqdistribute_type_hint'] if !opts[:'jcrcontentcqdistribute_type_hint'].nil? query_params[:'jcr:content/cq:name'] = opts[:'jcrcontentcqname'] if !opts[:'jcrcontentcqname'].nil? query_params[:'jcr:content/cq:template'] = opts[:'jcrcontentcqtemplate'] if !opts[:'jcrcontentcqtemplate'].nil? query_params[:'jcr:content/enabled'] = opts[:'jcrcontentenabled'] if !opts[:'jcrcontentenabled'].nil? query_params[:'jcr:content/jcr:description'] = opts[:'jcrcontentjcrdescription'] if !opts[:'jcrcontentjcrdescription'].nil? query_params[:'jcr:content/jcr:lastModified'] = opts[:'jcrcontentjcrlast_modified'] if !opts[:'jcrcontentjcrlast_modified'].nil? query_params[:'jcr:content/jcr:lastModifiedBy'] = opts[:'jcrcontentjcrlast_modified_by'] if !opts[:'jcrcontentjcrlast_modified_by'].nil? query_params[:'jcr:content/jcr:mixinTypes'] = opts[:'jcrcontentjcrmixin_types'] if !opts[:'jcrcontentjcrmixin_types'].nil? query_params[:'jcr:content/jcr:title'] = opts[:'jcrcontentjcrtitle'] if !opts[:'jcrcontentjcrtitle'].nil? query_params[:'jcr:content/logLevel'] = opts[:'jcrcontentlog_level'] if !opts[:'jcrcontentlog_level'].nil? query_params[:'jcr:content/noStatusUpdate'] = opts[:'jcrcontentno_status_update'] if !opts[:'jcrcontentno_status_update'].nil? query_params[:'jcr:content/noVersioning'] = opts[:'jcrcontentno_versioning'] if !opts[:'jcrcontentno_versioning'].nil? query_params[:'jcr:content/protocolConnectTimeout'] = opts[:'jcrcontentprotocol_connect_timeout'] if !opts[:'jcrcontentprotocol_connect_timeout'].nil? query_params[:'jcr:content/protocolHTTPConnectionClosed'] = opts[:'jcrcontentprotocol_http_connection_closed'] if !opts[:'jcrcontentprotocol_http_connection_closed'].nil? query_params[:'jcr:content/protocolHTTPExpired'] = opts[:'jcrcontentprotocol_http_expired'] if !opts[:'jcrcontentprotocol_http_expired'].nil? query_params[:'jcr:content/protocolHTTPHeaders'] = @api_client.build_collection_param(opts[:'jcrcontentprotocol_http_headers'], :multi) if !opts[:'jcrcontentprotocol_http_headers'].nil? query_params[:'jcr:content/protocolHTTPHeaders@TypeHint'] = opts[:'jcrcontentprotocol_http_headers_type_hint'] if !opts[:'jcrcontentprotocol_http_headers_type_hint'].nil? query_params[:'jcr:content/protocolHTTPMethod'] = opts[:'jcrcontentprotocol_http_method'] if !opts[:'jcrcontentprotocol_http_method'].nil? query_params[:'jcr:content/protocolHTTPSRelaxed'] = opts[:'jcrcontentprotocol_https_relaxed'] if !opts[:'jcrcontentprotocol_https_relaxed'].nil? query_params[:'jcr:content/protocolInterface'] = opts[:'jcrcontentprotocol_interface'] if !opts[:'jcrcontentprotocol_interface'].nil? query_params[:'jcr:content/protocolSocketTimeout'] = opts[:'jcrcontentprotocol_socket_timeout'] if !opts[:'jcrcontentprotocol_socket_timeout'].nil? query_params[:'jcr:content/protocolVersion'] = opts[:'jcrcontentprotocol_version'] if !opts[:'jcrcontentprotocol_version'].nil? query_params[:'jcr:content/proxyNTLMDomain'] = opts[:'jcrcontentproxy_ntlm_domain'] if !opts[:'jcrcontentproxy_ntlm_domain'].nil? query_params[:'jcr:content/proxyNTLMHost'] = opts[:'jcrcontentproxy_ntlm_host'] if !opts[:'jcrcontentproxy_ntlm_host'].nil? query_params[:'jcr:content/proxyHost'] = opts[:'jcrcontentproxy_host'] if !opts[:'jcrcontentproxy_host'].nil? query_params[:'jcr:content/proxyPassword'] = opts[:'jcrcontentproxy_password'] if !opts[:'jcrcontentproxy_password'].nil? query_params[:'jcr:content/proxyPort'] = opts[:'jcrcontentproxy_port'] if !opts[:'jcrcontentproxy_port'].nil? query_params[:'jcr:content/proxyUser'] = opts[:'jcrcontentproxy_user'] if !opts[:'jcrcontentproxy_user'].nil? query_params[:'jcr:content/queueBatchMaxSize'] = opts[:'jcrcontentqueue_batch_max_size'] if !opts[:'jcrcontentqueue_batch_max_size'].nil? query_params[:'jcr:content/queueBatchMode'] = opts[:'jcrcontentqueue_batch_mode'] if !opts[:'jcrcontentqueue_batch_mode'].nil? query_params[:'jcr:content/queueBatchWaitTime'] = opts[:'jcrcontentqueue_batch_wait_time'] if !opts[:'jcrcontentqueue_batch_wait_time'].nil? query_params[:'jcr:content/retryDelay'] = opts[:'jcrcontentretry_delay'] if !opts[:'jcrcontentretry_delay'].nil? query_params[:'jcr:content/reverseReplication'] = opts[:'jcrcontentreverse_replication'] if !opts[:'jcrcontentreverse_replication'].nil? query_params[:'jcr:content/serializationType'] = opts[:'jcrcontentserialization_type'] if !opts[:'jcrcontentserialization_type'].nil? query_params[:'jcr:content/sling:resourceType'] = opts[:'jcrcontentslingresource_type'] if !opts[:'jcrcontentslingresource_type'].nil? query_params[:'jcr:content/ssl'] = opts[:'jcrcontentssl'] if !opts[:'jcrcontentssl'].nil? query_params[:'jcr:content/transportNTLMDomain'] = opts[:'jcrcontenttransport_ntlm_domain'] if !opts[:'jcrcontenttransport_ntlm_domain'].nil? query_params[:'jcr:content/transportNTLMHost'] = opts[:'jcrcontenttransport_ntlm_host'] if !opts[:'jcrcontenttransport_ntlm_host'].nil? query_params[:'jcr:content/transportPassword'] = opts[:'jcrcontenttransport_password'] if !opts[:'jcrcontenttransport_password'].nil? query_params[:'jcr:content/transportUri'] = opts[:'jcrcontenttransport_uri'] if !opts[:'jcrcontenttransport_uri'].nil? query_params[:'jcr:content/transportUser'] = opts[:'jcrcontenttransport_user'] if !opts[:'jcrcontenttransport_user'].nil? query_params[:'jcr:content/triggerDistribute'] = opts[:'jcrcontenttrigger_distribute'] if !opts[:'jcrcontenttrigger_distribute'].nil? query_params[:'jcr:content/triggerModified'] = opts[:'jcrcontenttrigger_modified'] if !opts[:'jcrcontenttrigger_modified'].nil? query_params[:'jcr:content/triggerOnOffTime'] = opts[:'jcrcontenttrigger_on_off_time'] if !opts[:'jcrcontenttrigger_on_off_time'].nil? query_params[:'jcr:content/triggerReceive'] = opts[:'jcrcontenttrigger_receive'] if !opts[:'jcrcontenttrigger_receive'].nil? query_params[:'jcr:content/triggerSpecific'] = opts[:'jcrcontenttrigger_specific'] if !opts[:'jcrcontenttrigger_specific'].nil? query_params[:'jcr:content/userId'] = opts[:'jcrcontentuser_id'] if !opts[:'jcrcontentuser_id'].nil? query_params[:'jcr:primaryType'] = opts[:'jcrprimary_type'] if !opts[:'jcrprimary_type'].nil? query_params[:':operation'] = opts[:'operation'] if !opts[:'operation'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_authorizables(authorizable_id, intermediate_path, opts = {}) ⇒ String
731 732 733 734 |
# File 'lib/swagger_aem/api/sling_api.rb', line 731 def (, intermediate_path, opts = {}) data, _status_code, _headers = (, intermediate_path, opts) return data end |
#post_authorizables_with_http_info(authorizable_id, intermediate_path, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
Returns String data, response status code and response headers.
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 791 792 |
# File 'lib/swagger_aem/api/sling_api.rb', line 746 def (, intermediate_path, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_authorizables ..." end # verify the required parameter 'authorizable_id' is set if @api_client.config.client_side_validation && .nil? fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.post_authorizables" end # verify the required parameter 'intermediate_path' is set if @api_client.config.client_side_validation && intermediate_path.nil? fail ArgumentError, "Missing the required parameter 'intermediate_path' when calling SlingApi.post_authorizables" end # resource path local_var_path = "/libs/granite/security/post/authorizables" # query parameters query_params = {} query_params[:'authorizableId'] = query_params[:'intermediatePath'] = intermediate_path query_params[:'createUser'] = opts[:'create_user'] if !opts[:'create_user'].nil? query_params[:'createGroup'] = opts[:'create_group'] if !opts[:'create_group'].nil? query_params[:'rep:password'] = opts[:'reppassword'] if !opts[:'reppassword'].nil? query_params[:'profile/givenName'] = opts[:'profilegiven_name'] if !opts[:'profilegiven_name'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/html']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'String') if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_authorizables\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_config_apache_felix_jetty_based_http_service(runmode, opts = {}) ⇒ nil
819 820 821 822 |
# File 'lib/swagger_aem/api/sling_api.rb', line 819 def post_config_apache_felix_jetty_based_http_service(runmode, opts = {}) post_config_apache_felix_jetty_based_http_service_with_http_info(runmode, opts) return nil end |
#post_config_apache_felix_jetty_based_http_service_with_http_info(runmode, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 |
# File 'lib/swagger_aem/api/sling_api.rb', line 849 def post_config_apache_felix_jetty_based_http_service_with_http_info(runmode, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_felix_jetty_based_http_service ..." end # verify the required parameter 'runmode' is set if @api_client.config.client_side_validation && runmode.nil? fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_felix_jetty_based_http_service" end # resource path local_var_path = "/apps/system/config.{runmode}/org.apache.felix.http".sub('{' + 'runmode' + '}', runmode.to_s) # query parameters query_params = {} query_params[:'org.apache.felix.https.nio'] = opts[:'org_apache_felix_https_nio'] if !opts[:'org_apache_felix_https_nio'].nil? query_params[:'org.apache.felix.https.nio@TypeHint'] = opts[:'org_apache_felix_https_nio_type_hint'] if !opts[:'org_apache_felix_https_nio_type_hint'].nil? query_params[:'org.apache.felix.https.keystore'] = opts[:'org_apache_felix_https_keystore'] if !opts[:'org_apache_felix_https_keystore'].nil? query_params[:'org.apache.felix.https.keystore@TypeHint'] = opts[:'org_apache_felix_https_keystore_type_hint'] if !opts[:'org_apache_felix_https_keystore_type_hint'].nil? query_params[:'org.apache.felix.https.keystore.password'] = opts[:'org_apache_felix_https_keystore_password'] if !opts[:'org_apache_felix_https_keystore_password'].nil? query_params[:'org.apache.felix.https.keystore.password@TypeHint'] = opts[:'org_apache_felix_https_keystore_password_type_hint'] if !opts[:'org_apache_felix_https_keystore_password_type_hint'].nil? query_params[:'org.apache.felix.https.keystore.key'] = opts[:'org_apache_felix_https_keystore_key'] if !opts[:'org_apache_felix_https_keystore_key'].nil? query_params[:'org.apache.felix.https.keystore.key@TypeHint'] = opts[:'org_apache_felix_https_keystore_key_type_hint'] if !opts[:'org_apache_felix_https_keystore_key_type_hint'].nil? query_params[:'org.apache.felix.https.keystore.key.password'] = opts[:'org_apache_felix_https_keystore_key_password'] if !opts[:'org_apache_felix_https_keystore_key_password'].nil? query_params[:'org.apache.felix.https.keystore.key.password@TypeHint'] = opts[:'org_apache_felix_https_keystore_key_password_type_hint'] if !opts[:'org_apache_felix_https_keystore_key_password_type_hint'].nil? query_params[:'org.apache.felix.https.truststore'] = opts[:'org_apache_felix_https_truststore'] if !opts[:'org_apache_felix_https_truststore'].nil? query_params[:'org.apache.felix.https.truststore@TypeHint'] = opts[:'org_apache_felix_https_truststore_type_hint'] if !opts[:'org_apache_felix_https_truststore_type_hint'].nil? query_params[:'org.apache.felix.https.truststore.password'] = opts[:'org_apache_felix_https_truststore_password'] if !opts[:'org_apache_felix_https_truststore_password'].nil? query_params[:'org.apache.felix.https.truststore.password@TypeHint'] = opts[:'org_apache_felix_https_truststore_password_type_hint'] if !opts[:'org_apache_felix_https_truststore_password_type_hint'].nil? query_params[:'org.apache.felix.https.clientcertificate'] = opts[:'org_apache_felix_https_clientcertificate'] if !opts[:'org_apache_felix_https_clientcertificate'].nil? query_params[:'org.apache.felix.https.clientcertificate@TypeHint'] = opts[:'org_apache_felix_https_clientcertificate_type_hint'] if !opts[:'org_apache_felix_https_clientcertificate_type_hint'].nil? query_params[:'org.apache.felix.https.enable'] = opts[:'org_apache_felix_https_enable'] if !opts[:'org_apache_felix_https_enable'].nil? query_params[:'org.apache.felix.https.enable@TypeHint'] = opts[:'org_apache_felix_https_enable_type_hint'] if !opts[:'org_apache_felix_https_enable_type_hint'].nil? query_params[:'org.osgi.service.http.port.secure'] = opts[:'org_osgi_service_http_port_secure'] if !opts[:'org_osgi_service_http_port_secure'].nil? query_params[:'org.osgi.service.http.port.secure@TypeHint'] = opts[:'org_osgi_service_http_port_secure_type_hint'] if !opts[:'org_osgi_service_http_port_secure_type_hint'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_config_apache_felix_jetty_based_http_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_config_apache_sling_dav_ex_servlet(runmode, opts = {}) ⇒ nil
915 916 917 918 |
# File 'lib/swagger_aem/api/sling_api.rb', line 915 def post_config_apache_sling_dav_ex_servlet(runmode, opts = {}) post_config_apache_sling_dav_ex_servlet_with_http_info(runmode, opts) return nil end |
#post_config_apache_sling_dav_ex_servlet_with_http_info(runmode, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 |
# File 'lib/swagger_aem/api/sling_api.rb', line 929 def post_config_apache_sling_dav_ex_servlet_with_http_info(runmode, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_dav_ex_servlet ..." end # verify the required parameter 'runmode' is set if @api_client.config.client_side_validation && runmode.nil? fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_dav_ex_servlet" end # resource path local_var_path = "/apps/system/config.{runmode}/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet".sub('{' + 'runmode' + '}', runmode.to_s) # query parameters query_params = {} query_params[:'alias'] = opts[:'_alias'] if !opts[:'_alias'].nil? query_params[:'alias@TypeHint'] = opts[:'alias_type_hint'] if !opts[:'alias_type_hint'].nil? query_params[:'dav.create-absolute-uri'] = opts[:'dav_create_absolute_uri'] if !opts[:'dav_create_absolute_uri'].nil? query_params[:'dav.create-absolute-uri@TypeHint'] = opts[:'dav_create_absolute_uri_type_hint'] if !opts[:'dav_create_absolute_uri_type_hint'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_config_apache_sling_dav_ex_servlet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_config_apache_sling_get_servlet(runmode, opts = {}) ⇒ nil
983 984 985 986 |
# File 'lib/swagger_aem/api/sling_api.rb', line 983 def post_config_apache_sling_get_servlet(runmode, opts = {}) post_config_apache_sling_get_servlet_with_http_info(runmode, opts) return nil end |
#post_config_apache_sling_get_servlet_with_http_info(runmode, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1001 def post_config_apache_sling_get_servlet_with_http_info(runmode, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_get_servlet ..." end # verify the required parameter 'runmode' is set if @api_client.config.client_side_validation && runmode.nil? fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_get_servlet" end # resource path local_var_path = "/apps/system/config.{runmode}/org.apache.sling.servlets.get.DefaultGetServlet".sub('{' + 'runmode' + '}', runmode.to_s) # query parameters query_params = {} query_params[:'json.maximumresults'] = opts[:'json_maximumresults'] if !opts[:'json_maximumresults'].nil? query_params[:'json.maximumresults@TypeHint'] = opts[:'json_maximumresults_type_hint'] if !opts[:'json_maximumresults_type_hint'].nil? query_params[:'enable.html'] = opts[:'enable_html'] if !opts[:'enable_html'].nil? query_params[:'enable.html@TypeHint'] = opts[:'enable_html_type_hint'] if !opts[:'enable_html_type_hint'].nil? query_params[:'enable.txt'] = opts[:'enable_txt'] if !opts[:'enable_txt'].nil? query_params[:'enable.txt@TypeHint'] = opts[:'enable_txt_type_hint'] if !opts[:'enable_txt_type_hint'].nil? query_params[:'enable.xml'] = opts[:'enable_xml'] if !opts[:'enable_xml'].nil? query_params[:'enable.xml@TypeHint'] = opts[:'enable_xml_type_hint'] if !opts[:'enable_xml_type_hint'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_config_apache_sling_get_servlet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_config_apache_sling_referrer_filter(runmode, opts = {}) ⇒ nil
1057 1058 1059 1060 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1057 def post_config_apache_sling_referrer_filter(runmode, opts = {}) post_config_apache_sling_referrer_filter_with_http_info(runmode, opts) return nil end |
#post_config_apache_sling_referrer_filter_with_http_info(runmode, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1073 def post_config_apache_sling_referrer_filter_with_http_info(runmode, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_referrer_filter ..." end # verify the required parameter 'runmode' is set if @api_client.config.client_side_validation && runmode.nil? fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_referrer_filter" end # resource path local_var_path = "/apps/system/config.{runmode}/org.apache.sling.security.impl.ReferrerFilter".sub('{' + 'runmode' + '}', runmode.to_s) # query parameters query_params = {} query_params[:'allow.empty'] = opts[:'allow_empty'] if !opts[:'allow_empty'].nil? query_params[:'allow.empty@TypeHint'] = opts[:'allow_empty_type_hint'] if !opts[:'allow_empty_type_hint'].nil? query_params[:'allow.hosts'] = opts[:'allow_hosts'] if !opts[:'allow_hosts'].nil? query_params[:'allow.hosts@TypeHint'] = opts[:'allow_hosts_type_hint'] if !opts[:'allow_hosts_type_hint'].nil? query_params[:'allow.hosts.regexp'] = opts[:'allow_hosts_regexp'] if !opts[:'allow_hosts_regexp'].nil? query_params[:'allow.hosts.regexp@TypeHint'] = opts[:'allow_hosts_regexp_type_hint'] if !opts[:'allow_hosts_regexp_type_hint'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_config_apache_sling_referrer_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_node_rw(path, name, opts = {}) ⇒ nil
1123 1124 1125 1126 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1123 def post_node_rw(path, name, opts = {}) post_node_rw_with_http_info(path, name, opts) return nil end |
#post_node_rw_with_http_info(path, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1135 def post_node_rw_with_http_info(path, name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_node_rw ..." end # verify the required parameter 'path' is set if @api_client.config.client_side_validation && path.nil? fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_node_rw" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node_rw" end # resource path local_var_path = "/{path}/{name}.rw.html".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'addMembers'] = opts[:'add_members'] if !opts[:'add_members'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_node_rw\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_path(path, jcrprimary_type, name, opts = {}) ⇒ nil
1184 1185 1186 1187 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1184 def post_path(path, jcrprimary_type, name, opts = {}) post_path_with_http_info(path, jcrprimary_type, name, opts) return nil end |
#post_path_with_http_info(path, jcrprimary_type, name, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1196 def post_path_with_http_info(path, jcrprimary_type, name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_path ..." end # verify the required parameter 'path' is set if @api_client.config.client_side_validation && path.nil? fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_path" end # verify the required parameter 'jcrprimary_type' is set if @api_client.config.client_side_validation && jcrprimary_type.nil? fail ArgumentError, "Missing the required parameter 'jcrprimary_type' when calling SlingApi.post_path" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_path" end # resource path local_var_path = "/{path}/".sub('{' + 'path' + '}', path.to_s) # query parameters query_params = {} query_params[:'jcr:primaryType'] = jcrprimary_type query_params[:':name'] = name # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_query(path, p_limit, _1_property, _1_property_value, opts = {}) ⇒ String
1251 1252 1253 1254 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1251 def post_query(path, p_limit, _1_property, _1_property_value, opts = {}) data, _status_code, _headers = post_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts) return data end |
#post_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {}) ⇒ Array<(String, Fixnum, Hash)>
Returns String data, response status code and response headers.
1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1264 def post_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_query ..." end # verify the required parameter 'path' is set if @api_client.config.client_side_validation && path.nil? fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_query" end # verify the required parameter 'p_limit' is set if @api_client.config.client_side_validation && p_limit.nil? fail ArgumentError, "Missing the required parameter 'p_limit' when calling SlingApi.post_query" end # verify the required parameter '_1_property' is set if @api_client.config.client_side_validation && _1_property.nil? fail ArgumentError, "Missing the required parameter '_1_property' when calling SlingApi.post_query" end # verify the required parameter '_1_property_value' is set if @api_client.config.client_side_validation && _1_property_value.nil? fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.post_query" end # resource path local_var_path = "/bin/querybuilder.json" # query parameters query_params = {} query_params[:'path'] = path query_params[:'p.limit'] = p_limit query_params[:'1_property'] = _1_property query_params[:'1_property.value'] = _1_property_value # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'String') if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#post_tree_activation(ignoredeactivated, onlymodified, path, opts = {}) ⇒ nil
1325 1326 1327 1328 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1325 def post_tree_activation(ignoredeactivated, onlymodified, path, opts = {}) post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts) return nil end |
#post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>
Returns nil, response status code and response headers.
1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 |
# File 'lib/swagger_aem/api/sling_api.rb', line 1337 def post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SlingApi.post_tree_activation ..." end # verify the required parameter 'ignoredeactivated' is set if @api_client.config.client_side_validation && ignoredeactivated.nil? fail ArgumentError, "Missing the required parameter 'ignoredeactivated' when calling SlingApi.post_tree_activation" end # verify the required parameter 'onlymodified' is set if @api_client.config.client_side_validation && onlymodified.nil? fail ArgumentError, "Missing the required parameter 'onlymodified' when calling SlingApi.post_tree_activation" end # verify the required parameter 'path' is set if @api_client.config.client_side_validation && path.nil? fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_tree_activation" end # resource path local_var_path = "/etc/replication/treeactivation.html" # query parameters query_params = {} query_params[:'ignoredeactivated'] = ignoredeactivated query_params[:'onlymodified'] = onlymodified query_params[:'path'] = path # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['text/plain']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['aemAuth'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names) if @api_client.config.debugging @api_client.config.logger.debug "API called: SlingApi#post_tree_activation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |