Work In Progress!
These docs are still work in progress and will be made available soon!
The following sections illustrate the Stratos APIs that are used in version v4.1:
Entity/Process | HTTP | Resource Path | Description |
---|---|---|---|
Application | POST | /applications | Add an application. |
GET | /applications | Retrieve list of applications. | |
GET | /applications/{applicationId} | Retrieve details of a specific application. | |
DELETE | /applications/{applicationId} | Delete an application. | |
Application Deployment | POST | /applications/{applicationId}/deploy | Deploy an application with a deployment policy. |
POST | /applications/{applicationId}/undeploy | Undeploy an application. | |
GET | /applications/{applicationId}/deploymentPolicy | Retrieve the deployment policy of an application. | |
GET | /applications/{applicationId}/runtime | Retrieve the runtime topology of an application. | |
Auto-scaling policy | POST | Add an auto-scaling policy. | |
PUT | /autoscalingPolicies | Update an Auto-scaling policy. | |
GET | /autoscalingPolicies | Retrieve all auto-scaling policy details. | |
GET | Retrieve details of a specific auto-scaling policy. | ||
DELETE | /autoscalingPolicies/{autoscalingPolicyId} | Delete an auto-scaling policy. | |
Cartridge | POST | Add a cartridge. | |
PUT | /cartridges | Update a cartridge. | |
GET | /cartridges | List all the available cartridges (single tenant and multi-tenant). | |
GET | /cartridges/{cartridgeType} | Retrieve details of a specific cartridge. | |
GET | /cartridges/filter/{filter}?criteria={value} | Retrieve details on all cartridges based on the filter. | |
DELETE | /cartridges/{cartridgeType} | Undeploy a cartridge. | |
Cartridge Group | POST | /cartridgeGroups | Add a cartridge group. |
GET | Retrieve details of all the cartridge groups that have been deployed. | ||
GET | /cartridgeGroups/{groupDefinitionName} | Retrieve details of a cartridge group. | |
DELETE | /cartridgeGroups/{groupDefinitionName} | Undeploy a cartridge group. | |
Cluster | GET | /clusters | List all the clusters. |
GET | /clusters/{cartridgeType} | List all the available clusters for a cartridge. | |
GET | /clusters/{clusterId} | Retrieve details of a specific cluster. | |
Deployment Policy | POST | /deploymentPolicies | Add a deployment policy. |
PUT | /deploymentPolicies | Update a deployment policy. | |
| Retrieve details of all the deployment policies. | ||
| Retrieve details of a specific deployment policy. | ||
DELETE | /deploymentPolicies/{deploymentPolicyId} | Delete a deployment policy. | |
Git repository | POST | Enable notifications to be received from the Git repository. | |
POST | /repo/synchronize/{subscriptionAlias} | Manually synchronize the GIT repository for a subscription. | |
Kubernetes Cluster/Hosts | POST | /kubernetesCluster | Add a Kubernetes-CoreOS group. |
PUT | /kubernetesClusters/{kubernetesClusterId}/minion | Add a host (slave) to a Kubernetes-CoreOS group. | |
PUT | /kubernetesClusters/{kubernetesClusterId}/master | Update the master node in a Kubernetes-CoreOS group. | |
PATCH | /kubernetesClusters/{kubernetesClusterId}/minion/{minionId} | Update the host node (slave node) in a Kubernetes-CoreOS group. | |
GET | /kubernetesClusters | Retrieve detailed information on all Kubernetes-CoreOS groups. | |
GET | /kubernetesClusters/{kubernetesClusterId} | Retrieve detailed information on a specific Kubernetes-CoreOS group. | |
GET | /kubernetesClusters/{kubernetesClusterId}/hosts | Retrieve detailed information on all the hosts (slave nodes) in a specific Kubernetes-CoreOS group. | |
GET | /kubernetesClusters/{kubernetesClusterId}/master | Retrieve detailed information on the master node in a specific Kubernetes-CoreOS group. | |
DELETE | /kubernetesClusters/{kubernetesClusterId} | Delete a Kubernetes-CoreOS group. | |
DELETE | Delete a host in a Kubernetes-CoreOS group. | ||
Login | GET | /init | Validate Stratos Manager URL in CLI. |
GET | /session | Authenticate a session. | |
Network Partition | POST | /networkPartitions | Add a network partition. |
PUT | /networkPartitions | Update a specific network partition. | |
GET | /networkPartitions | Retrieve details of all the network partitions. | |
GET | /networkPartitions/{networkPartitionId} | Retrieve details of a specific network partition. | |
DELETE | /networkPartitions/{networkPartitionId} | Delete a specific network partition. | |
Subscriptions | GET | /subscriptions/{applicationId} | Retrieve all subscriptions for an application. |
GET | /subscriptions/cartridges/groups/{serviceGroupId} | List of subscribed cartridges for a specific service group. | |
Tenant | POST | Add a tenant. | |
PUT | /tenants | Update a tenant. | |
GET | List all the tenants. | ||
GET | /tenants/{tenantDomain} | Retrieve details on a tenant. | |
DELETE | /tenants/{tenantDomain} | Delete a tenant. | |
POST | /tenants/activate/{tenantDomain} | Activate a tenant. | |
POST | /tenants/deactivate/{tenantDomain} | Deactivate a tenant. | |
GET | /tenants/search/{tenantDomain} | Search for tenants. | |
User | POST | /users | Add user. |
PUT | /users | Update a user. | |
GET | /users | Retrieve all user details | |
DELETE | /users/{userName} | Delete a user. |
StratosApiV41.java
file.