You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

Work In Progress!

These docs are still work in progress and will be made available soon!

The following sections illustrate the REST APIs that are used in Apache Stratos 4.1.0:

It is recommended to save the request in a separate file. Thereafter, the path of the request file should be referred to in the REST API command.
For example:
-d @'<PATH-TO-deployment­policy.json >'

Operation TypeResource PathDescription
User/userAdd user.
/userUpdate user.
/userList users.
/user/<USERNAME>Delete user.
Tenant

/tenant

Add a tenant.
/tenant Update a tenant.
/tenant/activate/<TENANT_DOMAIN> Activate a tenant.
/tenant/deactivate/<TENANT_DOMAIN> Deactivate a tenant.
/tenant/<TENANT_DOMAIN> Retrieve tenant details.
/tenant/search/<TENANT_DOMAIN> Search for tenants.

/tenant

List all the tenants.
/tenant/<TENANT_DOMAIN>   Delete a tenant.
Partition

 

/partitions

Deploy a partition.

/partitions

Retrieve details on all the partitions.
partition/<DEPLOYMENT__POLICY_ID>/<PARTITION_GROUP_ID> Retrieve details on a specific partition group that has been defined in a deployment policy.
Auto-scaling policy

/policy/autoscale

Deploy an auto-scaling policy.

/policy/autoscale

List the auto-scaling policies.

Deployment policy

/policy/deployment

Deploy a deployment policy.

/policy/deployment

List deployment policies.
Cartridge

 

/cartridges

Deploy a cartridge.
/cartridges/<CARTRIDGE_TYPE> Undeploy a cartridge.
/cartridge/info/<CARTRIDGE_ALIAS> Retrieve information on a cartridge that is already subscribed to by a user.

/cartridges/<CARTRIDGE_TYPE>/deploymentPolicy

Retrieve details on all the deployment policies that have been defined in a specific cartridge.
/cartridges/multiTenantList all the available multi-tenant cartridges.
/cartridges/singleTenantList all the available single tenant cartridges.
/cartridges List all the available cartridges (single tenant and multi-tenant).
/cartridges/<CARTRIDGE_TYPE>/singleTenantRetrieve available single tenant cartridge details.
/cartridges/loadBalancerRetrieve the list of available load balancer cartridges.
Cluster/cluster/clusterId/<CLUSTER_ID> Retrieve cluster details of a specific cluster.
GitHub

/reponotification

Set a Webhook in GitHub.
/cartridge/syncSynchronize the GIT repository for subscribed cartridges.
Service group/group/definition Deploy a service group.
/group/definition/<GROUP_DEFINITION_NAME>Listing details of a service group.
/groupListing all service groups.
/group/definition/<GROUP_DEFINITION_NAME> Undeploy a service group.
Application/application/definition Deploy an application.
/application/definition/<APP_ID> Undeploy an application.
  • No labels