Skip to content

Latest commit

 

History

History
32 lines (31 loc) · 3.03 KB

XYZ.md

File metadata and controls

32 lines (31 loc) · 3.03 KB

readme-editer

Web service arch: Web service archetecture (doc/ws-architecture.png)

MethodURL TemplateRequestResponseDescription
GET/hellovoidvoid
GET/tasksvoidList of TaskReadList all tasks
GET/task/{taskId}taskIdTaskReadGet task by task id
POST/clustersClusterCreateRedirect to /task/{taskId}Create cluster
GET/clustersvoidList of ClusterReadList all clusters
GET/cluster/{clusterName}clusterNameClusterReadGet cluster by name
PUT/cluster/{clusterName}clusterName; state=start/stop/resumeRedirect to /task/{taskId}Operate a cluster: start; stop or resume a failed creation
PUT/cluster/{clusterName}/nodegroup/{groupName}clusterName; groupName; instanceNumRedirect to /task/{taskId}Resize cluster with a new instance number
DELETE/cluster/{clusterName}clusterNameRedirect to /task/{taskId}Delete a cluster by name
POST/resourcepoolsResourcePoolAddvoidAdd a resource pool
GET/resourcepoolsvoidList of ResourcePoolReadList all resource pools
GET/resourcepool/{rpName}rpNameResourcePoolReadGet resource pool by name
DELETE/resourcepool/{rpName}rpNamevoidDelete a resource pool by name
POST/datastoresDatastoreAddvoidAdd a datastore
GET/datastoresvoidList of DatastoreReadList all datastores
GET/datastore/{dsName}dsNameDatastoreReadGet datastore by name
DELETE/datastore/{dsName}dsNamevoidDelete a datastore by name
POST/networksNetworkAddvoidAdd a network
GET/networksdetails=true/falseList of NetworkReadList all networks
GET/network/{networkName}networkName; details=true/falseNetworkReadGet a network by name
DELETE/network/{networkName}networkNamevoidDelete a network by name
GET/distrosvoidList of DistroReadList all distros
GET/distro/{distroName}distroNameDistroReadGet a distro by name