GET/stacks/:stack_id/jobs
List Jobspublic
Required Parameters
stack_id
stringThe stack UID
Get list of all jobs of a stack.
Request
GET
/stacks/:stack_id/jobscurl -X GET \
"https://app.cloud66.com/api/3/stacks/:stack_id/jobs" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json"
Response
{
"response": [
{
"id": 1,
"name": "database_cleanup",
"command": "bundle exec rake db:cleanup",
"run_on": "all_servers",
"created_at": "2014-08-29T17:21:25Z",
"updated_at": "2014-08-29T17:21:25Z"
}
],
"count": 1,
"pagination": {
"previous": null,
"next": null,
"current": 1,
"per_page": 30,
"count": 1,
"pages": 1
}
}