- Added get all for the execution queue endpoint
/execution-queue
.
- Added recipe argument support in
/recipes/:id/execute
. You may now optionally pass a JSON string object in the post parameterrecipe_arguments
. See the following curl example:
curl -u foo:skey_2azljcEZBjjxKQ53cf5cc807a673EqqdNmT https://api.commando.io/v1/recipes/rec_3Fc5q540e480b672d38Ig/execute -X POST -d "groups=grp_2Xk7x540e481bcb9c775d" -d 'recipe_arguments={"$host":"google.com"}'
- Changed how servers are returned in endpoints
/groups
and/groups/:id
. They now return an array of objects.
"servers": [
{
"id": "srv_9GkE2IWvkzItmaTs5Agn8",
"label": "WEB1"
},
{
"id": "srv_5EdvDbyOtmF9nXS7ZowcB",
"label": "WEB2"
}
]
Previously:
"servers": [
"WEB1",
"WEB2"
],
"servers_ids": [
"srv_9GkE2IWvkzItmaTs5Agn8",
"srv_5EdvDbyOtmF9nXS7ZowcB"
]
- Added the following endpoints:
/servers
,/servers/:id
,/groups
,/groups/:id
,/recipes
,/recipes/:id
- Initial release.