swagger_aem
SwaggerAemClient - the Ruby gem for the Adobe Experience Manager (AEM) API
Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
This SDK is automatically generated by the Swagger Codegen project:
- API version: 1.2.0
- Package version: 1.2.0
- Build package: io.swagger.codegen.languages.RubyClientCodegen For more information, please visit http://shinesolutions.com
Installation
Build a gem
To build the Ruby code into a gem:
gem build swagger_aem.gemspec
Then either install the gem locally:
gem install ./swagger_aem-1.2.0.gem
(for development, run gem install --dev ./swagger_aem-1.2.0.gem to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'swagger_aem', '~> 1.2.0'
Install from Git
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
gem 'swagger_aem', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
Include the Ruby code directly
Include the Ruby code directly using -I as follows:
ruby -Ilib script.rb
Getting Started
Please follow the installation procedure and then run the following code:
# Load the gem
require 'swagger_aem'
# Setup authorization
SwaggerAemClient.configure do |config|
# Configure HTTP basic authorization: aemAuth
config.username = 'YOUR USERNAME'
config.password = 'YOUR PASSWORD'
end
api_instance = SwaggerAemClient::ConsoleApi.new
name = "name_example" # String |
action = "action_example" # String |
begin
api_instance.post_bundle(name, action)
rescue SwaggerAemClient::ApiError => e
puts "Exception when calling ConsoleApi->post_bundle: #{e}"
end
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| SwaggerAemClient::ConsoleApi | post_bundle | POST /system/console/bundles/name | |
| SwaggerAemClient::ConsoleApi | post_jmx_repository | POST /system/console/jmx/com.adobe.granite:type=Repository/op/action | |
| SwaggerAemClient::CqApi | get_login_page | GET /libs/granite/core/content/login.html | |
| SwaggerAemClient::CqApi | post_cq_actions | POST /.cqactions.html | |
| SwaggerAemClient::CrxApi | get_install_status | GET /crx/packmgr/installstatus.jsp | |
| SwaggerAemClient::CrxApi | post_package_service | POST /crx/packmgr/service.jsp | |
| SwaggerAemClient::CrxApi | post_package_service_json | POST /crx/packmgr/service/.json/path | |
| SwaggerAemClient::CrxApi | post_package_update | POST /crx/packmgr/update.jsp | |
| SwaggerAemClient::CrxApi | post_set_password | POST /crx/explorer/ui/setpassword.jsp | |
| SwaggerAemClient::CustomApi | get_aem_health_check | GET /system/health | |
| SwaggerAemClient::CustomApi | post_config_aem_health_check_servlet | POST /apps/system/config.runmode/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck | |
| SwaggerAemClient::CustomApi | post_config_aem_password_reset | POST /apps/system/config.runmode/com.shinesolutions.aem.passwordreset.Activator | |
| SwaggerAemClient::SlingApi | delete_agent | DELETE /etc/replication/agents.runmode/name | |
| SwaggerAemClient::SlingApi | delete_node | DELETE /path/name | |
| SwaggerAemClient::SlingApi | get_agent | GET /etc/replication/agents.runmode/name | |
| SwaggerAemClient::SlingApi | get_agents | GET /etc/replication/agents.runmode.-1.json | |
| SwaggerAemClient::SlingApi | get_node | GET /path/name | |
| SwaggerAemClient::SlingApi | get_package | GET /etc/packages/group/name-version.zip | |
| SwaggerAemClient::SlingApi | get_package_filter | GET /etc/packages/group/name-version.zip/jcr:content/vlt:definition/filter.tidy.2.json | |
| SwaggerAemClient::SlingApi | get_query | GET /bin/querybuilder.json | |
| SwaggerAemClient::SlingApi | post_agent | POST /etc/replication/agents.runmode/name | |
| SwaggerAemClient::SlingApi | post_authorizables | POST /libs/granite/security/post/authorizables | |
| SwaggerAemClient::SlingApi | post_config_apache_felix_jetty_based_http_service | POST /apps/system/config.runmode/org.apache.felix.http | |
| SwaggerAemClient::SlingApi | post_config_apache_sling_dav_ex_servlet | POST /apps/system/config.runmode/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet | |
| SwaggerAemClient::SlingApi | post_config_apache_sling_get_servlet | POST /apps/system/config.runmode/org.apache.sling.servlets.get.DefaultGetServlet | |
| SwaggerAemClient::SlingApi | post_config_apache_sling_referrer_filter | POST /apps/system/config.runmode/org.apache.sling.security.impl.ReferrerFilter | |
| SwaggerAemClient::SlingApi | post_node_rw | POST /path/name.rw.html | |
| SwaggerAemClient::SlingApi | post_path | POST /path/ | |
| SwaggerAemClient::SlingApi | post_query | POST /bin/querybuilder.json | |
| SwaggerAemClient::SlingApi | post_tree_activation | POST /etc/replication/treeactivation.html |
Documentation for Models
Documentation for Authorization
aemAuth
- Type: HTTP basic authentication