| name | type | description |
|---|---|---|
| command | query |
| code | condition |
|---|---|
| 401 | Bad credentials |
| media type | data type |
|---|---|
| application/json | array of AnsibleOutput (JSON) |
| application/xml | list of ansibleOutput (XML) |
GET /user/v1.0/deployer/ansible
Accept: application/json
HTTP/1.1 200 Looks Good
Content-Type: application/json
[ {
"host" : "...",
"result" : {
"delta" : "...",
"stderr" : "...",
"msg" : "...",
"start" : "...",
"stdout" : "...",
"changed" : true,
"end" : "...",
"cmd" : [ "...", "..." ]
},
"vmType" : "...",
"cloudDeploymentDomain" : "...",
"cloudProvider" : "...",
"provisionID" : "...",
"id" : "58e3946e0fb4f562d84ba1ad",
"owner" : "user1",
"timestamp" : 12345
} ]
| code | condition |
|---|---|
| 401 | Bad credentials |
| media type | data type |
|---|---|
| application/json | string (JSON) |
| application/xml | string (XML) |
DELETE /user/v1.0/deployer/ansible/all
Accept: application/json
HTTP/1.1 204 Looks Good
Content-Type: application/json
...
| code | condition |
|---|---|
| 401 | Bad credentials |
| media type | data type |
|---|---|
| application/json | array of string (JSON) |
| application/xml | list of string (XML) |
GET /user/v1.0/deployer/ansible/commands
Accept: application/json
HTTP/1.1 200 Looks Good
Content-Type: application/json
...
| code | condition |
|---|---|
| 401 | Bad credentials |
| media type | data type |
|---|---|
| application/json | array of string (JSON) |
| application/xml | list of string (XML) |
GET /user/v1.0/deployer/ansible/ids
Accept: application/json
HTTP/1.1 200 Looks Good
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| id | path |
| code | condition |
|---|---|
| 401 | Bad credentials |
| media type | data type |
|---|---|
| application/json | string (JSON) |
| application/xml | string (XML) |
DELETE /user/v1.0/deployer/ansible/{id}
Accept: application/json
HTTP/1.1 204 Looks Good
Content-Type: application/json
...
| name | type | description |
|---|---|---|
| id | path |
| code | condition |
|---|---|
| 401 | Bad credentials |
| media type | data type |
|---|---|
| application/json | AnsibleOutput (JSON) |
| application/xml | ansibleOutput (XML) |
GET /user/v1.0/deployer/ansible/{id}
Accept: application/json
HTTP/1.1 200 Looks Good
Content-Type: application/json
{
"host" : "...",
"result" : {
"delta" : "...",
"stderr" : "...",
"msg" : "...",
"start" : "...",
"stdout" : "...",
"changed" : true,
"end" : "...",
"cmd" : [ "...", "..." ]
},
"vmType" : "...",
"cloudDeploymentDomain" : "...",
"cloudProvider" : "...",
"provisionID" : "...",
"id" : "58e3946e0fb4f562d84ba1ad",
"owner" : "user1",
"timestamp" : 12345
}