Skip to Content
Applications

Create applications from a template

POST
/environments/{environment_id}/applications/apply-template

Path Parameters

environment_id*integer

The ID of the environment.

Range1 <= value

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Request Body

A JSON object containing the resource data

application/json
  1. body
template_id?string

ID of the Template to be applied.

template_inputs*

Key/value pairs used to fill template placeholders before an application is created. Each template decides which inputs it accepts.

template?string

Raw YAML for a custom template manifest. Must not be greater than 21504 characters.

dry_run?boolean

Validate the template and permissions without creating any database records.

Response Body

Created

application/json
  1. response
id*integer

Unique ID of the application

project_id*integer

Numeric ID of the project to which the application belongs to

environment_id*integer

Numeric ID of the environment to which the application belongs to

created_by*integer

The id of the user who created the application and to whom the application belongs

name*string

The application's unique name

repository*string

The full name of a repository (repository_owner/repository_name) containing the application source code.

repository_name*string

The name part of a repository full name (repository_owner/repository_name)

repository_owner*string

The owner part of a repository full name (repository_owner/repository_name)

default_branch*string

The version control branch that, by default, will be used when a deployment is triggered and no other branch name is informed.

programming_language*string

The programming language runtime environment to be used to serve the application. E.g.: if a front-end web app is developed using Node.js and should be served statically (an SPA application, for instance), then this field value should be nodejs and the framework should be html.

programming_language_human_readable*string

The human readable version of the programming language of the application.

engine_version*string

The language runtime engine version to be used to execute this application on the deployed servers

framework*string

The base framework on top of which the application has been implemented - it might have impact on the steps to be performed during application deployment

framework_human_readable*string

The human readable version of the framework of the application.

root_directory*string

The relative directory where package manager's manifest files (package.json, composer.json, yarn.lock, etc) are located. It needs to be set for applications where the actual source code is not located in the top level directory of the repository.

deployments_keep*integer

The number of deployment history, logs and artifacts to keep stored in both devopness servers and user's servers. OR The number of deployment artifacts to be retained in the user's servers, making it easier and faster to rollback to previous versions

install_dependencies_command*|

Indicates command that Devopness must execute to install application dependencies

build_command*|

The optional command that should be executed once during deployment to build the source code and get the application in a ready state

created_by_user*|null
last_deployments*

Latest deployment created to application and the more recent completed deployment

environment*|null
servers*array<|null>
credential*|null
services*array<|null>
cronjobs*array<|null>
virtual_hosts*array<|null>
daemons*array<|null>
created_at*string

The date and time when the record was created

updated_at*string

The date and time when the record was last updated

Example Request
curl -X POST 'https://api.devopness.com/environments/123/applications/apply-template' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json' \  -H 'Content-Type: application/json' \  -d '{  "template_inputs": {}}'
Example Response
{  "id": 4654019,  "project_id": 4654019,  "environment_id": 4654121,  "created_by": 1,  "name": "my-awesome-app",  "repository": "devopness/devopness",  "repository_name": "devopness",  "repository_owner": "devopness",  "default_branch": "main",  "programming_language": "python",  "programming_language_human_readable": "Python",  "engine_version": "19.03.2",  "framework": "fastapi",  "framework_human_readable": "FastAPI",  "root_directory": "/src",  "deployments_keep": 4,  "install_dependencies_command": "npm install",  "build_command": "npm run build",  "created_by_user": {    "id": 1,    "name": "string",    "email": "user@example.com",    "url_slug": "someone",    "language": "en",    "active": true,    "created_at": "2019-09-25T15:50:48.000000Z",    "updated_at": "2019-09-25T13:52:04.000000Z"  },  "last_deployments": {    "latest": {      "id": 567819876,      "status": "in-progress",      "status_human_readable": "Pending",      "status_reason_code": "PENDING",      "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",      "type": "deploy",      "type_human_readable": "Deploy",      "url_web_permalink": "https://devopness.com/actions/567819876",      "action_data": {        "release_name": "2022-07-05-13-25-38",        "commit": {          "repository": "devopness/example",          "author_name": "Author Name",          "author_email": "email@example.com",          "committed_at": "2019-09-25T15:50:48.000000Z",          "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",          "message": "fix: some bug",          "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",          "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",          "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"        },        "deployment": {          "type": "deploy",          "source_type": "branch",          "source_ref": "develop",          "repository": "devopness/example",          "provider_name": "github",          "pipeline_id": 23439        }      },      "triggered_from": {        "origin": "https://devopness.com",        "trigger_type": "manual",        "name": "User Name",        "email": "user@example.com",        "ip_address": "172.17.0.9",        "user_id": 794613284672,        "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",        "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"      },      "summary": {        "targets": {          "count": 4,          "pending": 2,          "in_progress": 1,          "completed": 1,          "failed": 0        }      },      "targets": [        {          "id": 1234,          "resource_type": "server",          "resource_type_human_readable": "Server",          "resource_id": 4567890,          "status": "in-progress",          "status_human_readable": "Pending",          "status_reason_code": "PENDING",          "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",          "total_steps": 5,          "current_step": {            "id": 18931,            "action_id": 98412,            "action_target_id": 65712,            "name": "Setting up cron job",            "description": "Setting up cron job for daily execution at 00:00",            "order": 3,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",            "started_at": "2019-09-25T15:50:48.000000Z",            "completed_at": "2019-09-25T13:52:04.000000Z",            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          },          "steps": [            {              "id": 18931,              "action_id": 98412,              "action_target_id": 65712,              "name": "Setting up cron job",              "description": "Setting up cron job for daily execution at 00:00",              "order": 3,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            }          ],          "resource_data": {            "id": 4425,            "name": "my-credential",            "provider_type": "cloud_provider",            "provider_code": "aws",            "provider_name": "aws",            "provider_name_human_readable": "Amazon Web Services"          },          "started_at": "2019-09-25T15:50:48.000000Z",          "completed_at": "2019-09-25T13:52:04.000000Z",          "created_at": "2019-09-25T15:50:48.000000Z",          "updated_at": "2019-09-25T13:52:04.000000Z"        }      ],      "started_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "live": {      "id": 567819876,      "status": "in-progress",      "status_human_readable": "Pending",      "status_reason_code": "PENDING",      "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",      "type": "deploy",      "type_human_readable": "Deploy",      "url_web_permalink": "https://devopness.com/actions/567819876",      "action_data": {        "release_name": "2022-07-05-13-25-38",        "commit": {          "repository": "devopness/example",          "author_name": "Author Name",          "author_email": "email@example.com",          "committed_at": "2019-09-25T15:50:48.000000Z",          "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",          "message": "fix: some bug",          "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",          "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",          "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"        },        "deployment": {          "type": "deploy",          "source_type": "branch",          "source_ref": "develop",          "repository": "devopness/example",          "provider_name": "github",          "pipeline_id": 23439        }      },      "triggered_from": {        "origin": "https://devopness.com",        "trigger_type": "manual",        "name": "User Name",        "email": "user@example.com",        "ip_address": "172.17.0.9",        "user_id": 794613284672,        "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",        "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"      },      "summary": {        "targets": {          "count": 4,          "pending": 2,          "in_progress": 1,          "completed": 1,          "failed": 0        }      },      "targets": [        {          "id": 1234,          "resource_type": "server",          "resource_type_human_readable": "Server",          "resource_id": 4567890,          "status": "in-progress",          "status_human_readable": "Pending",          "status_reason_code": "PENDING",          "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",          "total_steps": 5,          "current_step": {            "id": 18931,            "action_id": 98412,            "action_target_id": 65712,            "name": "Setting up cron job",            "description": "Setting up cron job for daily execution at 00:00",            "order": 3,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",            "started_at": "2019-09-25T15:50:48.000000Z",            "completed_at": "2019-09-25T13:52:04.000000Z",            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          },          "steps": [            {              "id": 18931,              "action_id": 98412,              "action_target_id": 65712,              "name": "Setting up cron job",              "description": "Setting up cron job for daily execution at 00:00",              "order": 3,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            }          ],          "resource_data": {            "id": 4425,            "name": "my-credential",            "provider_type": "cloud_provider",            "provider_code": "aws",            "provider_name": "aws",            "provider_name_human_readable": "Amazon Web Services"          },          "started_at": "2019-09-25T15:50:48.000000Z",          "completed_at": "2019-09-25T13:52:04.000000Z",          "created_at": "2019-09-25T15:50:48.000000Z",          "updated_at": "2019-09-25T13:52:04.000000Z"        }      ],      "started_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  },  "environment": {    "id": 2,    "type": "staging",    "type_human_readable": "Staging",    "name": "My staging",    "description": "My staging environment",    "used_credits": 50,    "resource_summary": [      {        "resource_type": "environment",        "resource_type_plural": "environments",        "resource_type_human_readable": "Environment",        "resource_type_human_readable_plural": "Environments",        "summary": {          "count": 1        }      }    ],    "created_at": "2019-09-25T15:50:48.000000Z",    "updated_at": "2019-09-25T13:52:04.000000Z",    "archived_at": "2019-09-26T10:45:42.000000Z",    "project": {      "id": 45678,      "user_id": 984123,      "name": "my project",      "logo_url": "https://example.com/projects-beautiful-logo.png",      "resource_summary": [        {          "resource_type": "environment",          "resource_type_plural": "environments",          "resource_type_human_readable": "Environment",          "resource_type_human_readable_plural": "Environments",          "summary": {            "count": 1          }        }      ],      "os_users": [        {          "name": "devopness"        }      ],      "organization": {        "id": 16523,        "name": "My Organization",        "url_slug": "MyOrganization",        "resource_summary": [          {            "resource_type": "environment",            "resource_type_plural": "environments",            "resource_type_human_readable": "Environment",            "resource_type_human_readable_plural": "Environments",            "summary": {              "count": 1            }          }        ],        "owner": {          "id": 1,          "name": "string",          "email": "user@example.com",          "url_slug": "someone",          "language": "en",          "active": true,          "created_at": "2019-09-25T15:50:48.000000Z",          "updated_at": "2019-09-25T13:52:04.000000Z"        },        "created_at": "2019-09-25T15:50:48.000000Z",        "updated_at": "2019-09-25T13:52:04.000000Z"      },      "created_by_user": {        "id": 1,        "name": "string",        "email": "user@example.com",        "url_slug": "someone",        "language": "en",        "active": true,        "created_at": "2019-09-25T15:50:48.000000Z",        "updated_at": "2019-09-25T13:52:04.000000Z"      },      "used_credits": 123,      "created_at": "2022-09-26T15:30:31.000000Z",      "updated_at": "2022-09-26T15:30:58.000000Z"    }  },  "servers": [    {      "id": 9654123,      "created_by": 1,      "name": "web-srv-1",      "hostname": "web-srv-1",      "provider_name": "self-hosted",      "provider_name_human_readable": "VPS/Self Hosted",      "credential": {        "id": 85324,        "name": "My cool credential",        "provider": {          "active": true,          "code": "aws",          "code_human_readable": "Amazon Web Services",          "type": "cloud_provider",          "type_human_readable": "Cloud Provider"        },        "provider_type": "cloud_provider",        "provider_type_human_readable": "Cloud Provider",        "provider_auth_type": "api_credentials",        "provider_auth_type_human_readable": "API Credentials",        "active": true,        "created_by_user": {          "id": 1,          "name": "string",          "email": "user@example.com",          "url_slug": "someone",          "language": "en",          "active": true,          "created_at": "2019-09-25T15:50:48.000000Z",          "updated_at": "2019-09-25T13:52:04.000000Z"        },        "last_action": {          "id": 567819876,          "status": "in-progress",          "status_human_readable": "Pending",          "status_reason_code": "PENDING",          "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",          "type": "deploy",          "type_human_readable": "Deploy",          "url_web_permalink": "https://devopness.com/actions/567819876",          "action_data": {            "release_name": "2022-07-05-13-25-38",            "commit": {              "repository": "devopness/example",              "author_name": "Author Name",              "author_email": "email@example.com",              "committed_at": "2019-09-25T15:50:48.000000Z",              "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",              "message": "fix: some bug",              "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",              "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",              "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"            },            "deployment": {              "type": "deploy",              "source_type": "branch",              "source_ref": "develop",              "repository": "devopness/example",              "provider_name": "github",              "pipeline_id": 23439            }          },          "triggered_from": {            "origin": "https://devopness.com",            "trigger_type": "manual",            "name": "User Name",            "email": "user@example.com",            "ip_address": "172.17.0.9",            "user_id": 794613284672,            "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",            "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"          },          "summary": {            "targets": {              "count": 4,              "pending": 2,              "in_progress": 1,              "completed": 1,              "failed": 0            }          },          "targets": [            {              "id": 1234,              "resource_type": "server",              "resource_type_human_readable": "Server",              "resource_id": 4567890,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "total_steps": 5,              "current_step": {                "id": 18931,                "action_id": 98412,                "action_target_id": 65712,                "name": "Setting up cron job",                "description": "Setting up cron job for daily execution at 00:00",                "order": 3,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              },              "steps": [                {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                }              ],              "resource_data": {                "id": 4425,                "name": "my-credential",                "provider_type": "cloud_provider",                "provider_code": "aws",                "provider_name": "aws",                "provider_name_human_readable": "Amazon Web Services"              },              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            }          ],          "started_at": "2019-08-24T14:15:22Z",          "completed_at": "2019-08-24T14:15:22Z",          "created_at": "2019-08-24T14:15:22Z",          "updated_at": "2019-08-24T14:15:22Z"        },        "created_at": "2019-09-25T15:50:48.000000Z",        "updated_at": "2019-09-25T15:50:48.000000Z"      },      "region": "us-east-1",      "region_human_readable": "US East (N. Virginia) us-east-1",      "ip_address": "200.123.45.67",      "ssh_port": 22,      "active": true,      "status": "running",      "last_action": {        "id": 567819876,        "status": "in-progress",        "status_human_readable": "Pending",        "status_reason_code": "PENDING",        "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",        "type": "deploy",        "type_human_readable": "Deploy",        "url_web_permalink": "https://devopness.com/actions/567819876",        "action_data": {          "release_name": "2022-07-05-13-25-38",          "commit": {            "repository": "devopness/example",            "author_name": "Author Name",            "author_email": "email@example.com",            "committed_at": "2019-09-25T15:50:48.000000Z",            "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",            "message": "fix: some bug",            "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",            "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",            "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"          },          "deployment": {            "type": "deploy",            "source_type": "branch",            "source_ref": "develop",            "repository": "devopness/example",            "provider_name": "github",            "pipeline_id": 23439          }        },        "triggered_from": {          "origin": "https://devopness.com",          "trigger_type": "manual",          "name": "User Name",          "email": "user@example.com",          "ip_address": "172.17.0.9",          "user_id": 794613284672,          "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",          "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"        },        "summary": {          "targets": {            "count": 4,            "pending": 2,            "in_progress": 1,            "completed": 1,            "failed": 0          }        },        "targets": [          {            "id": 1234,            "resource_type": "server",            "resource_type_human_readable": "Server",            "resource_id": 4567890,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",            "total_steps": 5,            "current_step": {              "id": 18931,              "action_id": 98412,              "action_target_id": 65712,              "name": "Setting up cron job",              "description": "Setting up cron job for daily execution at 00:00",              "order": 3,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            },            "steps": [              {                "id": 18931,                "action_id": 98412,                "action_target_id": 65712,                "name": "Setting up cron job",                "description": "Setting up cron job for daily execution at 00:00",                "order": 3,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "resource_data": {              "id": 4425,              "name": "my-credential",              "provider_type": "cloud_provider",              "provider_code": "aws",              "provider_name": "aws",              "provider_name_human_readable": "Amazon Web Services"            },            "started_at": "2019-09-25T15:50:48.000000Z",            "completed_at": "2019-09-25T13:52:04.000000Z",            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          }        ],        "started_at": "2019-08-24T14:15:22Z",        "completed_at": "2019-08-24T14:15:22Z",        "created_at": "2019-08-24T14:15:22Z",        "updated_at": "2019-08-24T14:15:22Z"      },      "created_at": "2019-09-25T15:50:48.000000Z",      "updated_at": "2019-09-25T13:52:04.000000Z"    }  ],  "credential": {    "id": 85324,    "name": "My cool credential",    "provider": {      "active": true,      "code": "aws",      "code_human_readable": "Amazon Web Services",      "type": "cloud_provider",      "type_human_readable": "Cloud Provider"    },    "provider_type": "cloud_provider",    "provider_type_human_readable": "Cloud Provider",    "provider_auth_type": "api_credentials",    "provider_auth_type_human_readable": "API Credentials",    "active": true,    "created_by_user": {      "id": 1,      "name": "string",      "email": "user@example.com",      "url_slug": "someone",      "language": "en",      "active": true,      "created_at": "2019-09-25T15:50:48.000000Z",      "updated_at": "2019-09-25T13:52:04.000000Z"    },    "last_action": {      "id": 567819876,      "status": "in-progress",      "status_human_readable": "Pending",      "status_reason_code": "PENDING",      "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",      "type": "deploy",      "type_human_readable": "Deploy",      "url_web_permalink": "https://devopness.com/actions/567819876",      "action_data": {        "release_name": "2022-07-05-13-25-38",        "commit": {          "repository": "devopness/example",          "author_name": "Author Name",          "author_email": "email@example.com",          "committed_at": "2019-09-25T15:50:48.000000Z",          "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",          "message": "fix: some bug",          "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",          "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",          "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"        },        "deployment": {          "type": "deploy",          "source_type": "branch",          "source_ref": "develop",          "repository": "devopness/example",          "provider_name": "github",          "pipeline_id": 23439        }      },      "triggered_from": {        "origin": "https://devopness.com",        "trigger_type": "manual",        "name": "User Name",        "email": "user@example.com",        "ip_address": "172.17.0.9",        "user_id": 794613284672,        "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",        "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"      },      "summary": {        "targets": {          "count": 4,          "pending": 2,          "in_progress": 1,          "completed": 1,          "failed": 0        }      },      "targets": [        {          "id": 1234,          "resource_type": "server",          "resource_type_human_readable": "Server",          "resource_id": 4567890,          "status": "in-progress",          "status_human_readable": "Pending",          "status_reason_code": "PENDING",          "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",          "total_steps": 5,          "current_step": {            "id": 18931,            "action_id": 98412,            "action_target_id": 65712,            "name": "Setting up cron job",            "description": "Setting up cron job for daily execution at 00:00",            "order": 3,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",            "started_at": "2019-09-25T15:50:48.000000Z",            "completed_at": "2019-09-25T13:52:04.000000Z",            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          },          "steps": [            {              "id": 18931,              "action_id": 98412,              "action_target_id": 65712,              "name": "Setting up cron job",              "description": "Setting up cron job for daily execution at 00:00",              "order": 3,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            }          ],          "resource_data": {            "id": 4425,            "name": "my-credential",            "provider_type": "cloud_provider",            "provider_code": "aws",            "provider_name": "aws",            "provider_name_human_readable": "Amazon Web Services"          },          "started_at": "2019-09-25T15:50:48.000000Z",          "completed_at": "2019-09-25T13:52:04.000000Z",          "created_at": "2019-09-25T15:50:48.000000Z",          "updated_at": "2019-09-25T13:52:04.000000Z"        }      ],      "started_at": "2019-08-24T14:15:22Z",      "completed_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    },    "created_at": "2019-09-25T15:50:48.000000Z",    "updated_at": "2019-09-25T15:50:48.000000Z"  },  "services": [    {      "id": 48682,      "name": "MySQL",      "type": "mysql",      "type_human_readable": "MySQL",      "version": "8.0",      "is_auto_generated": false,      "auto_start": false,      "initial_state": "stopped",      "description": "MySQL Community Server",      "last_action": {        "id": 567819876,        "status": "in-progress",        "status_human_readable": "Pending",        "status_reason_code": "PENDING",        "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",        "type": "deploy",        "type_human_readable": "Deploy",        "url_web_permalink": "https://devopness.com/actions/567819876",        "action_data": {          "release_name": "2022-07-05-13-25-38",          "commit": {            "repository": "devopness/example",            "author_name": "Author Name",            "author_email": "email@example.com",            "committed_at": "2019-09-25T15:50:48.000000Z",            "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",            "message": "fix: some bug",            "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",            "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",            "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"          },          "deployment": {            "type": "deploy",            "source_type": "branch",            "source_ref": "develop",            "repository": "devopness/example",            "provider_name": "github",            "pipeline_id": 23439          }        },        "triggered_from": {          "origin": "https://devopness.com",          "trigger_type": "manual",          "name": "User Name",          "email": "user@example.com",          "ip_address": "172.17.0.9",          "user_id": 794613284672,          "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",          "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"        },        "summary": {          "targets": {            "count": 4,            "pending": 2,            "in_progress": 1,            "completed": 1,            "failed": 0          }        },        "targets": [          {            "id": 1234,            "resource_type": "server",            "resource_type_human_readable": "Server",            "resource_id": 4567890,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",            "total_steps": 5,            "current_step": {              "id": 18931,              "action_id": 98412,              "action_target_id": 65712,              "name": "Setting up cron job",              "description": "Setting up cron job for daily execution at 00:00",              "order": 3,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            },            "steps": [              {                "id": 18931,                "action_id": 98412,                "action_target_id": 65712,                "name": "Setting up cron job",                "description": "Setting up cron job for daily execution at 00:00",                "order": 3,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "resource_data": {              "id": 4425,              "name": "my-credential",              "provider_type": "cloud_provider",              "provider_code": "aws",              "provider_name": "aws",              "provider_name_human_readable": "Amazon Web Services"            },            "started_at": "2019-09-25T15:50:48.000000Z",            "completed_at": "2019-09-25T13:52:04.000000Z",            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          }        ],        "started_at": "2019-08-24T14:15:22Z",        "completed_at": "2019-08-24T14:15:22Z",        "created_at": "2019-08-24T14:15:22Z",        "updated_at": "2019-08-24T14:15:22Z"      },      "created_at": "2019-09-25T13:22:37.000000Z",      "updated_at": "2019-09-25T13:22:37.000000Z"    }  ],  "cronjobs": [    {      "id": 85324,      "name": "My cool cron job",      "command": "echo 'devopness rocks!' | tee -a /tmp/task-output.log",      "run_as_user": "root",      "pattern": "0 0 * * *",      "pattern_human_readable": "Every minute",      "is_auto_generated": false,      "last_action": {        "id": 567819876,        "status": "in-progress",        "status_human_readable": "Pending",        "status_reason_code": "PENDING",        "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",        "type": "deploy",        "type_human_readable": "Deploy",        "url_web_permalink": "https://devopness.com/actions/567819876",        "action_data": {          "release_name": "2022-07-05-13-25-38",          "commit": {            "repository": "devopness/example",            "author_name": "Author Name",            "author_email": "email@example.com",            "committed_at": "2019-09-25T15:50:48.000000Z",            "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",            "message": "fix: some bug",            "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",            "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",            "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"          },          "deployment": {            "type": "deploy",            "source_type": "branch",            "source_ref": "develop",            "repository": "devopness/example",            "provider_name": "github",            "pipeline_id": 23439          }        },        "triggered_from": {          "origin": "https://devopness.com",          "trigger_type": "manual",          "name": "User Name",          "email": "user@example.com",          "ip_address": "172.17.0.9",          "user_id": 794613284672,          "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",          "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"        },        "summary": {          "targets": {            "count": 4,            "pending": 2,            "in_progress": 1,            "completed": 1,            "failed": 0          }        },        "targets": [          {            "id": 1234,            "resource_type": "server",            "resource_type_human_readable": "Server",            "resource_id": 4567890,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",            "total_steps": 5,            "current_step": {              "id": 18931,              "action_id": 98412,              "action_target_id": 65712,              "name": "Setting up cron job",              "description": "Setting up cron job for daily execution at 00:00",              "order": 3,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            },            "steps": [              {                "id": 18931,                "action_id": 98412,                "action_target_id": 65712,                "name": "Setting up cron job",                "description": "Setting up cron job for daily execution at 00:00",                "order": 3,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "resource_data": {              "id": 4425,              "name": "my-credential",              "provider_type": "cloud_provider",              "provider_code": "aws",              "provider_name": "aws",              "provider_name_human_readable": "Amazon Web Services"            },            "started_at": "2019-09-25T15:50:48.000000Z",            "completed_at": "2019-09-25T13:52:04.000000Z",            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          }        ],        "started_at": "2019-08-24T14:15:22Z",        "completed_at": "2019-08-24T14:15:22Z",        "created_at": "2019-08-24T14:15:22Z",        "updated_at": "2019-08-24T14:15:22Z"      },      "created_by_user": {        "id": 1,        "name": "string",        "email": "user@example.com",        "url_slug": "someone",        "language": "en",        "active": true,        "created_at": "2019-09-25T15:50:48.000000Z",        "updated_at": "2019-09-25T13:52:04.000000Z"      },      "application": {        "id": 4654019,        "project_id": 4654019,        "environment_id": 4654121,        "created_by": 1,        "name": "my-awesome-app",        "repository": "devopness/devopness",        "repository_name": "devopness",        "repository_owner": "devopness",        "default_branch": "main",        "programming_language": "python",        "programming_language_human_readable": "Python",        "engine_version": "19.03.2",        "framework": "fastapi",        "framework_human_readable": "FastAPI",        "root_directory": "/src",        "deployments_keep": 4,        "install_dependencies_command": "npm install",        "build_command": "npm run build",        "last_deployments": {          "latest": {            "id": 567819876,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",            "type": "deploy",            "type_human_readable": "Deploy",            "url_web_permalink": "https://devopness.com/actions/567819876",            "action_data": {              "release_name": "2022-07-05-13-25-38",              "commit": {                "repository": "devopness/example",                "author_name": "Author Name",                "author_email": "email@example.com",                "committed_at": "2019-09-25T15:50:48.000000Z",                "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",                "message": "fix: some bug",                "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",                "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",                "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"              },              "deployment": {                "type": "deploy",                "source_type": "branch",                "source_ref": "develop",                "repository": "devopness/example",                "provider_name": "github",                "pipeline_id": 23439              }            },            "triggered_from": {              "origin": "https://devopness.com",              "trigger_type": "manual",              "name": "User Name",              "email": "user@example.com",              "ip_address": "172.17.0.9",              "user_id": 794613284672,              "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",              "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"            },            "summary": {              "targets": {                "count": 4,                "pending": 2,                "in_progress": 1,                "completed": 1,                "failed": 0              }            },            "targets": [              {                "id": 1234,                "resource_type": "server",                "resource_type_human_readable": "Server",                "resource_id": 4567890,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "total_steps": 5,                "current_step": {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                },                "steps": [                  {                    "id": 18931,                    "action_id": 98412,                    "action_target_id": 65712,                    "name": "Setting up cron job",                    "description": "Setting up cron job for daily execution at 00:00",                    "order": 3,                    "status": "in-progress",                    "status_human_readable": "Pending",                    "status_reason_code": "PENDING",                    "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                    "started_at": "2019-09-25T15:50:48.000000Z",                    "completed_at": "2019-09-25T13:52:04.000000Z",                    "created_at": "2019-09-25T15:50:48.000000Z",                    "updated_at": "2019-09-25T13:52:04.000000Z"                  }                ],                "resource_data": {                  "id": 4425,                  "name": "my-credential",                  "provider_type": "cloud_provider",                  "provider_code": "aws",                  "provider_name": "aws",                  "provider_name_human_readable": "Amazon Web Services"                },                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "started_at": "2019-08-24T14:15:22Z",            "completed_at": "2019-08-24T14:15:22Z",            "created_at": "2019-08-24T14:15:22Z",            "updated_at": "2019-08-24T14:15:22Z"          },          "live": {            "id": 567819876,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",            "type": "deploy",            "type_human_readable": "Deploy",            "url_web_permalink": "https://devopness.com/actions/567819876",            "action_data": {              "release_name": "2022-07-05-13-25-38",              "commit": {                "repository": "devopness/example",                "author_name": "Author Name",                "author_email": "email@example.com",                "committed_at": "2019-09-25T15:50:48.000000Z",                "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",                "message": "fix: some bug",                "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",                "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",                "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"              },              "deployment": {                "type": "deploy",                "source_type": "branch",                "source_ref": "develop",                "repository": "devopness/example",                "provider_name": "github",                "pipeline_id": 23439              }            },            "triggered_from": {              "origin": "https://devopness.com",              "trigger_type": "manual",              "name": "User Name",              "email": "user@example.com",              "ip_address": "172.17.0.9",              "user_id": 794613284672,              "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",              "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"            },            "summary": {              "targets": {                "count": 4,                "pending": 2,                "in_progress": 1,                "completed": 1,                "failed": 0              }            },            "targets": [              {                "id": 1234,                "resource_type": "server",                "resource_type_human_readable": "Server",                "resource_id": 4567890,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "total_steps": 5,                "current_step": {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                },                "steps": [                  {                    "id": 18931,                    "action_id": 98412,                    "action_target_id": 65712,                    "name": "Setting up cron job",                    "description": "Setting up cron job for daily execution at 00:00",                    "order": 3,                    "status": "in-progress",                    "status_human_readable": "Pending",                    "status_reason_code": "PENDING",                    "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                    "started_at": "2019-09-25T15:50:48.000000Z",                    "completed_at": "2019-09-25T13:52:04.000000Z",                    "created_at": "2019-09-25T15:50:48.000000Z",                    "updated_at": "2019-09-25T13:52:04.000000Z"                  }                ],                "resource_data": {                  "id": 4425,                  "name": "my-credential",                  "provider_type": "cloud_provider",                  "provider_code": "aws",                  "provider_name": "aws",                  "provider_name_human_readable": "Amazon Web Services"                },                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "started_at": "2019-08-24T14:15:22Z",            "completed_at": "2019-08-24T14:15:22Z",            "created_at": "2019-08-24T14:15:22Z",            "updated_at": "2019-08-24T14:15:22Z"          }        },        "credential": {          "id": 85324,          "name": "My cool credential",          "provider": {            "active": true,            "code": "aws",            "code_human_readable": "Amazon Web Services",            "type": "cloud_provider",            "type_human_readable": "Cloud Provider"          },          "provider_type": "cloud_provider",          "provider_type_human_readable": "Cloud Provider",          "provider_auth_type": "api_credentials",          "provider_auth_type_human_readable": "API Credentials",          "active": true,          "organization": {            "id": 16523,            "name": "My Organization",            "url_slug": "MyOrganization",            "resource_summary": [              {                "resource_type": "environment",                "resource_type_plural": "environments",                "resource_type_human_readable": "Environment",                "resource_type_human_readable_plural": "Environments",                "summary": {                  "count": 1                }              }            ],            "owner": {              "id": 1,              "name": "string",              "email": "user@example.com",              "url_slug": "someone",              "language": "en",              "active": true,              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            },            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          },          "created_by_user": {            "id": 1,            "name": "string",            "email": "user@example.com",            "url_slug": "someone",            "language": "en",            "active": true,            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          },          "last_action": {            "id": 567819876,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",            "type": "deploy",            "type_human_readable": "Deploy",            "url_web_permalink": "https://devopness.com/actions/567819876",            "action_data": {              "release_name": "2022-07-05-13-25-38",              "commit": {                "repository": "devopness/example",                "author_name": "Author Name",                "author_email": "email@example.com",                "committed_at": "2019-09-25T15:50:48.000000Z",                "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",                "message": "fix: some bug",                "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",                "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",                "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"              },              "deployment": {                "type": "deploy",                "source_type": "branch",                "source_ref": "develop",                "repository": "devopness/example",                "provider_name": "github",                "pipeline_id": 23439              }            },            "triggered_from": {              "origin": "https://devopness.com",              "trigger_type": "manual",              "name": "User Name",              "email": "user@example.com",              "ip_address": "172.17.0.9",              "user_id": 794613284672,              "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",              "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"            },            "summary": {              "targets": {                "count": 4,                "pending": 2,                "in_progress": 1,                "completed": 1,                "failed": 0              }            },            "targets": [              {                "id": 1234,                "resource_type": "server",                "resource_type_human_readable": "Server",                "resource_id": 4567890,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "total_steps": 5,                "current_step": {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                },                "steps": [                  {                    "id": 18931,                    "action_id": 98412,                    "action_target_id": 65712,                    "name": "Setting up cron job",                    "description": "Setting up cron job for daily execution at 00:00",                    "order": 3,                    "status": "in-progress",                    "status_human_readable": "Pending",                    "status_reason_code": "PENDING",                    "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                    "started_at": "2019-09-25T15:50:48.000000Z",                    "completed_at": "2019-09-25T13:52:04.000000Z",                    "created_at": "2019-09-25T15:50:48.000000Z",                    "updated_at": "2019-09-25T13:52:04.000000Z"                  }                ],                "resource_data": {                  "id": 4425,                  "name": "my-credential",                  "provider_type": "cloud_provider",                  "provider_code": "aws",                  "provider_name": "aws",                  "provider_name_human_readable": "Amazon Web Services"                },                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "started_at": "2019-08-24T14:15:22Z",            "completed_at": "2019-08-24T14:15:22Z",            "created_at": "2019-08-24T14:15:22Z",            "updated_at": "2019-08-24T14:15:22Z"          },          "created_at": "2019-09-25T15:50:48.000000Z",          "updated_at": "2019-09-25T15:50:48.000000Z"        },        "created_at": "2019-09-25T15:50:48.000000Z",        "updated_at": "2019-09-25T13:52:04.000000Z"      },      "created_at": "2019-09-25T15:50:48.000000Z",      "updated_at": "2019-09-25T15:50:48.000000Z"    }  ],  "virtual_hosts": [    {      "id": 1,      "type": "name-based",      "type_human_readable": "Domain name (name-based virtual host)",      "name": "my-site.example.com",      "application": {        "id": 4654019,        "project_id": 4654019,        "environment_id": 4654121,        "created_by": 1,        "name": "my-awesome-app",        "repository": "devopness/devopness",        "repository_name": "devopness",        "repository_owner": "devopness",        "default_branch": "main",        "programming_language": "python",        "programming_language_human_readable": "Python",        "engine_version": "19.03.2",        "framework": "fastapi",        "framework_human_readable": "FastAPI",        "root_directory": "/src",        "deployments_keep": 4,        "install_dependencies_command": "npm install",        "build_command": "npm run build",        "last_deployments": {          "latest": {            "id": 567819876,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",            "type": "deploy",            "type_human_readable": "Deploy",            "url_web_permalink": "https://devopness.com/actions/567819876",            "action_data": {              "release_name": "2022-07-05-13-25-38",              "commit": {                "repository": "devopness/example",                "author_name": "Author Name",                "author_email": "email@example.com",                "committed_at": "2019-09-25T15:50:48.000000Z",                "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",                "message": "fix: some bug",                "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",                "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",                "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"              },              "deployment": {                "type": "deploy",                "source_type": "branch",                "source_ref": "develop",                "repository": "devopness/example",                "provider_name": "github",                "pipeline_id": 23439              }            },            "triggered_from": {              "origin": "https://devopness.com",              "trigger_type": "manual",              "name": "User Name",              "email": "user@example.com",              "ip_address": "172.17.0.9",              "user_id": 794613284672,              "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",              "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"            },            "summary": {              "targets": {                "count": 4,                "pending": 2,                "in_progress": 1,                "completed": 1,                "failed": 0              }            },            "targets": [              {                "id": 1234,                "resource_type": "server",                "resource_type_human_readable": "Server",                "resource_id": 4567890,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "total_steps": 5,                "current_step": {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                },                "steps": [                  {                    "id": 18931,                    "action_id": 98412,                    "action_target_id": 65712,                    "name": "Setting up cron job",                    "description": "Setting up cron job for daily execution at 00:00",                    "order": 3,                    "status": "in-progress",                    "status_human_readable": "Pending",                    "status_reason_code": "PENDING",                    "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                    "started_at": "2019-09-25T15:50:48.000000Z",                    "completed_at": "2019-09-25T13:52:04.000000Z",                    "created_at": "2019-09-25T15:50:48.000000Z",                    "updated_at": "2019-09-25T13:52:04.000000Z"                  }                ],                "resource_data": {                  "id": 4425,                  "name": "my-credential",                  "provider_type": "cloud_provider",                  "provider_code": "aws",                  "provider_name": "aws",                  "provider_name_human_readable": "Amazon Web Services"                },                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "started_at": "2019-08-24T14:15:22Z",            "completed_at": "2019-08-24T14:15:22Z",            "created_at": "2019-08-24T14:15:22Z",            "updated_at": "2019-08-24T14:15:22Z"          },          "live": {            "id": 567819876,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",            "type": "deploy",            "type_human_readable": "Deploy",            "url_web_permalink": "https://devopness.com/actions/567819876",            "action_data": {              "release_name": "2022-07-05-13-25-38",              "commit": {                "repository": "devopness/example",                "author_name": "Author Name",                "author_email": "email@example.com",                "committed_at": "2019-09-25T15:50:48.000000Z",                "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",                "message": "fix: some bug",                "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",                "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",                "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"              },              "deployment": {                "type": "deploy",                "source_type": "branch",                "source_ref": "develop",                "repository": "devopness/example",                "provider_name": "github",                "pipeline_id": 23439              }            },            "triggered_from": {              "origin": "https://devopness.com",              "trigger_type": "manual",              "name": "User Name",              "email": "user@example.com",              "ip_address": "172.17.0.9",              "user_id": 794613284672,              "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",              "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"            },            "summary": {              "targets": {                "count": 4,                "pending": 2,                "in_progress": 1,                "completed": 1,                "failed": 0              }            },            "targets": [              {                "id": 1234,                "resource_type": "server",                "resource_type_human_readable": "Server",                "resource_id": 4567890,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "total_steps": 5,                "current_step": {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                },                "steps": [                  {                    "id": 18931,                    "action_id": 98412,                    "action_target_id": 65712,                    "name": "Setting up cron job",                    "description": "Setting up cron job for daily execution at 00:00",                    "order": 3,                    "status": "in-progress",                    "status_human_readable": "Pending",                    "status_reason_code": "PENDING",                    "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                    "started_at": "2019-09-25T15:50:48.000000Z",                    "completed_at": "2019-09-25T13:52:04.000000Z",                    "created_at": "2019-09-25T15:50:48.000000Z",                    "updated_at": "2019-09-25T13:52:04.000000Z"                  }                ],                "resource_data": {                  "id": 4425,                  "name": "my-credential",                  "provider_type": "cloud_provider",                  "provider_code": "aws",                  "provider_name": "aws",                  "provider_name_human_readable": "Amazon Web Services"                },                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "started_at": "2019-08-24T14:15:22Z",            "completed_at": "2019-08-24T14:15:22Z",            "created_at": "2019-08-24T14:15:22Z",            "updated_at": "2019-08-24T14:15:22Z"          }        },        "credential": {          "id": 85324,          "name": "My cool credential",          "provider": {            "active": true,            "code": "aws",            "code_human_readable": "Amazon Web Services",            "type": "cloud_provider",            "type_human_readable": "Cloud Provider"          },          "provider_type": "cloud_provider",          "provider_type_human_readable": "Cloud Provider",          "provider_auth_type": "api_credentials",          "provider_auth_type_human_readable": "API Credentials",          "active": true,          "organization": {            "id": 16523,            "name": "My Organization",            "url_slug": "MyOrganization",            "resource_summary": [              {                "resource_type": "environment",                "resource_type_plural": "environments",                "resource_type_human_readable": "Environment",                "resource_type_human_readable_plural": "Environments",                "summary": {                  "count": 1                }              }            ],            "owner": {              "id": 1,              "name": "string",              "email": "user@example.com",              "url_slug": "someone",              "language": "en",              "active": true,              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            },            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          },          "created_by_user": {            "id": 1,            "name": "string",            "email": "user@example.com",            "url_slug": "someone",            "language": "en",            "active": true,            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          },          "last_action": {            "id": 567819876,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",            "type": "deploy",            "type_human_readable": "Deploy",            "url_web_permalink": "https://devopness.com/actions/567819876",            "action_data": {              "release_name": "2022-07-05-13-25-38",              "commit": {                "repository": "devopness/example",                "author_name": "Author Name",                "author_email": "email@example.com",                "committed_at": "2019-09-25T15:50:48.000000Z",                "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",                "message": "fix: some bug",                "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",                "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",                "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"              },              "deployment": {                "type": "deploy",                "source_type": "branch",                "source_ref": "develop",                "repository": "devopness/example",                "provider_name": "github",                "pipeline_id": 23439              }            },            "triggered_from": {              "origin": "https://devopness.com",              "trigger_type": "manual",              "name": "User Name",              "email": "user@example.com",              "ip_address": "172.17.0.9",              "user_id": 794613284672,              "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",              "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"            },            "summary": {              "targets": {                "count": 4,                "pending": 2,                "in_progress": 1,                "completed": 1,                "failed": 0              }            },            "targets": [              {                "id": 1234,                "resource_type": "server",                "resource_type_human_readable": "Server",                "resource_id": 4567890,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "total_steps": 5,                "current_step": {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                },                "steps": [                  {                    "id": 18931,                    "action_id": 98412,                    "action_target_id": 65712,                    "name": "Setting up cron job",                    "description": "Setting up cron job for daily execution at 00:00",                    "order": 3,                    "status": "in-progress",                    "status_human_readable": "Pending",                    "status_reason_code": "PENDING",                    "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                    "started_at": "2019-09-25T15:50:48.000000Z",                    "completed_at": "2019-09-25T13:52:04.000000Z",                    "created_at": "2019-09-25T15:50:48.000000Z",                    "updated_at": "2019-09-25T13:52:04.000000Z"                  }                ],                "resource_data": {                  "id": 4425,                  "name": "my-credential",                  "provider_type": "cloud_provider",                  "provider_code": "aws",                  "provider_name": "aws",                  "provider_name_human_readable": "Amazon Web Services"                },                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "started_at": "2019-08-24T14:15:22Z",            "completed_at": "2019-08-24T14:15:22Z",            "created_at": "2019-08-24T14:15:22Z",            "updated_at": "2019-08-24T14:15:22Z"          },          "created_at": "2019-09-25T15:50:48.000000Z",          "updated_at": "2019-09-25T15:50:48.000000Z"        },        "created_at": "2019-09-25T15:50:48.000000Z",        "updated_at": "2019-09-25T13:52:04.000000Z"      },      "root_directory": "public",      "application_listen_address": "http://localhost:3000",      "ssl_certificate": {        "id": 8423749,        "name": "my-subdomain.example.com",        "type": "single-domain",        "issuer": "custom",        "validation_level": "DV",        "active": true,        "last_action": {          "id": 567819876,          "status": "in-progress",          "status_human_readable": "Pending",          "status_reason_code": "PENDING",          "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",          "type": "deploy",          "type_human_readable": "Deploy",          "url_web_permalink": "https://devopness.com/actions/567819876",          "action_data": {            "release_name": "2022-07-05-13-25-38",            "commit": {              "repository": "devopness/example",              "author_name": "Author Name",              "author_email": "email@example.com",              "committed_at": "2019-09-25T15:50:48.000000Z",              "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",              "message": "fix: some bug",              "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",              "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",              "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"            },            "deployment": {              "type": "deploy",              "source_type": "branch",              "source_ref": "develop",              "repository": "devopness/example",              "provider_name": "github",              "pipeline_id": 23439            }          },          "triggered_from": {            "origin": "https://devopness.com",            "trigger_type": "manual",            "name": "User Name",            "email": "user@example.com",            "ip_address": "172.17.0.9",            "user_id": 794613284672,            "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",            "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"          },          "summary": {            "targets": {              "count": 4,              "pending": 2,              "in_progress": 1,              "completed": 1,              "failed": 0            }          },          "targets": [            {              "id": 1234,              "resource_type": "server",              "resource_type_human_readable": "Server",              "resource_id": 4567890,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "total_steps": 5,              "current_step": {                "id": 18931,                "action_id": 98412,                "action_target_id": 65712,                "name": "Setting up cron job",                "description": "Setting up cron job for daily execution at 00:00",                "order": 3,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              },              "steps": [                {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                }              ],              "resource_data": {                "id": 4425,                "name": "my-credential",                "provider_type": "cloud_provider",                "provider_code": "aws",                "provider_name": "aws",                "provider_name_human_readable": "Amazon Web Services"              },              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            }          ],          "started_at": "2019-08-24T14:15:22Z",          "completed_at": "2019-08-24T14:15:22Z",          "created_at": "2019-08-24T14:15:22Z",          "updated_at": "2019-08-24T14:15:22Z"        },        "expires_at": "2020-04-16T15:50:48.000000Z",        "last_renewed_at": "2020-04-16T15:50:48.000000Z",        "created_at": "2020-04-16T15:50:48.000000Z",        "updated_at": "2020-04-16T15:50:48.000000Z"      },      "last_action": {        "id": 567819876,        "status": "in-progress",        "status_human_readable": "Pending",        "status_reason_code": "PENDING",        "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",        "type": "deploy",        "type_human_readable": "Deploy",        "url_web_permalink": "https://devopness.com/actions/567819876",        "action_data": {          "release_name": "2022-07-05-13-25-38",          "commit": {            "repository": "devopness/example",            "author_name": "Author Name",            "author_email": "email@example.com",            "committed_at": "2019-09-25T15:50:48.000000Z",            "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",            "message": "fix: some bug",            "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",            "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",            "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"          },          "deployment": {            "type": "deploy",            "source_type": "branch",            "source_ref": "develop",            "repository": "devopness/example",            "provider_name": "github",            "pipeline_id": 23439          }        },        "triggered_from": {          "origin": "https://devopness.com",          "trigger_type": "manual",          "name": "User Name",          "email": "user@example.com",          "ip_address": "172.17.0.9",          "user_id": 794613284672,          "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",          "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"        },        "summary": {          "targets": {            "count": 4,            "pending": 2,            "in_progress": 1,            "completed": 1,            "failed": 0          }        },        "targets": [          {            "id": 1234,            "resource_type": "server",            "resource_type_human_readable": "Server",            "resource_id": 4567890,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",            "total_steps": 5,            "current_step": {              "id": 18931,              "action_id": 98412,              "action_target_id": 65712,              "name": "Setting up cron job",              "description": "Setting up cron job for daily execution at 00:00",              "order": 3,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            },            "steps": [              {                "id": 18931,                "action_id": 98412,                "action_target_id": 65712,                "name": "Setting up cron job",                "description": "Setting up cron job for daily execution at 00:00",                "order": 3,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "resource_data": {              "id": 4425,              "name": "my-credential",              "provider_type": "cloud_provider",              "provider_code": "aws",              "provider_name": "aws",              "provider_name_human_readable": "Amazon Web Services"            },            "started_at": "2019-09-25T15:50:48.000000Z",            "completed_at": "2019-09-25T13:52:04.000000Z",            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          }        ],        "started_at": "2019-08-24T14:15:22Z",        "completed_at": "2019-08-24T14:15:22Z",        "created_at": "2019-08-24T14:15:22Z",        "updated_at": "2019-08-24T14:15:22Z"      },      "created_by_user": {        "id": 1,        "name": "string",        "email": "user@example.com",        "url_slug": "someone",        "language": "en",        "active": true,        "created_at": "2019-09-25T15:50:48.000000Z",        "updated_at": "2019-09-25T13:52:04.000000Z"      },      "created_at": "2019-09-25T13:22:37.000000Z",      "updated_at": "2019-09-25T13:22:37.000000Z"    }  ],  "daemons": [    {      "id": 85324,      "name": "we-all-have-daemons-inside",      "command": "node app.js",      "run_as_user": "root-of-all-evil",      "working_directory": "relative-path/within/application/folder",      "process_count": 6,      "is_auto_generated": false,      "last_action": {        "id": 567819876,        "status": "in-progress",        "status_human_readable": "Pending",        "status_reason_code": "PENDING",        "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",        "type": "deploy",        "type_human_readable": "Deploy",        "url_web_permalink": "https://devopness.com/actions/567819876",        "action_data": {          "release_name": "2022-07-05-13-25-38",          "commit": {            "repository": "devopness/example",            "author_name": "Author Name",            "author_email": "email@example.com",            "committed_at": "2019-09-25T15:50:48.000000Z",            "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",            "message": "fix: some bug",            "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",            "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",            "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"          },          "deployment": {            "type": "deploy",            "source_type": "branch",            "source_ref": "develop",            "repository": "devopness/example",            "provider_name": "github",            "pipeline_id": 23439          }        },        "triggered_from": {          "origin": "https://devopness.com",          "trigger_type": "manual",          "name": "User Name",          "email": "user@example.com",          "ip_address": "172.17.0.9",          "user_id": 794613284672,          "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",          "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"        },        "summary": {          "targets": {            "count": 4,            "pending": 2,            "in_progress": 1,            "completed": 1,            "failed": 0          }        },        "targets": [          {            "id": 1234,            "resource_type": "server",            "resource_type_human_readable": "Server",            "resource_id": 4567890,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",            "total_steps": 5,            "current_step": {              "id": 18931,              "action_id": 98412,              "action_target_id": 65712,              "name": "Setting up cron job",              "description": "Setting up cron job for daily execution at 00:00",              "order": 3,              "status": "in-progress",              "status_human_readable": "Pending",              "status_reason_code": "PENDING",              "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",              "started_at": "2019-09-25T15:50:48.000000Z",              "completed_at": "2019-09-25T13:52:04.000000Z",              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            },            "steps": [              {                "id": 18931,                "action_id": 98412,                "action_target_id": 65712,                "name": "Setting up cron job",                "description": "Setting up cron job for daily execution at 00:00",                "order": 3,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "resource_data": {              "id": 4425,              "name": "my-credential",              "provider_type": "cloud_provider",              "provider_code": "aws",              "provider_name": "aws",              "provider_name_human_readable": "Amazon Web Services"            },            "started_at": "2019-09-25T15:50:48.000000Z",            "completed_at": "2019-09-25T13:52:04.000000Z",            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          }        ],        "started_at": "2019-08-24T14:15:22Z",        "completed_at": "2019-08-24T14:15:22Z",        "created_at": "2019-08-24T14:15:22Z",        "updated_at": "2019-08-24T14:15:22Z"      },      "application": {        "id": 4654019,        "project_id": 4654019,        "environment_id": 4654121,        "created_by": 1,        "name": "my-awesome-app",        "repository": "devopness/devopness",        "repository_name": "devopness",        "repository_owner": "devopness",        "default_branch": "main",        "programming_language": "python",        "programming_language_human_readable": "Python",        "engine_version": "19.03.2",        "framework": "fastapi",        "framework_human_readable": "FastAPI",        "root_directory": "/src",        "deployments_keep": 4,        "install_dependencies_command": "npm install",        "build_command": "npm run build",        "last_deployments": {          "latest": {            "id": 567819876,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",            "type": "deploy",            "type_human_readable": "Deploy",            "url_web_permalink": "https://devopness.com/actions/567819876",            "action_data": {              "release_name": "2022-07-05-13-25-38",              "commit": {                "repository": "devopness/example",                "author_name": "Author Name",                "author_email": "email@example.com",                "committed_at": "2019-09-25T15:50:48.000000Z",                "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",                "message": "fix: some bug",                "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",                "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",                "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"              },              "deployment": {                "type": "deploy",                "source_type": "branch",                "source_ref": "develop",                "repository": "devopness/example",                "provider_name": "github",                "pipeline_id": 23439              }            },            "triggered_from": {              "origin": "https://devopness.com",              "trigger_type": "manual",              "name": "User Name",              "email": "user@example.com",              "ip_address": "172.17.0.9",              "user_id": 794613284672,              "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",              "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"            },            "summary": {              "targets": {                "count": 4,                "pending": 2,                "in_progress": 1,                "completed": 1,                "failed": 0              }            },            "targets": [              {                "id": 1234,                "resource_type": "server",                "resource_type_human_readable": "Server",                "resource_id": 4567890,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "total_steps": 5,                "current_step": {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                },                "steps": [                  {                    "id": 18931,                    "action_id": 98412,                    "action_target_id": 65712,                    "name": "Setting up cron job",                    "description": "Setting up cron job for daily execution at 00:00",                    "order": 3,                    "status": "in-progress",                    "status_human_readable": "Pending",                    "status_reason_code": "PENDING",                    "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                    "started_at": "2019-09-25T15:50:48.000000Z",                    "completed_at": "2019-09-25T13:52:04.000000Z",                    "created_at": "2019-09-25T15:50:48.000000Z",                    "updated_at": "2019-09-25T13:52:04.000000Z"                  }                ],                "resource_data": {                  "id": 4425,                  "name": "my-credential",                  "provider_type": "cloud_provider",                  "provider_code": "aws",                  "provider_name": "aws",                  "provider_name_human_readable": "Amazon Web Services"                },                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "started_at": "2019-08-24T14:15:22Z",            "completed_at": "2019-08-24T14:15:22Z",            "created_at": "2019-08-24T14:15:22Z",            "updated_at": "2019-08-24T14:15:22Z"          },          "live": {            "id": 567819876,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",            "type": "deploy",            "type_human_readable": "Deploy",            "url_web_permalink": "https://devopness.com/actions/567819876",            "action_data": {              "release_name": "2022-07-05-13-25-38",              "commit": {                "repository": "devopness/example",                "author_name": "Author Name",                "author_email": "email@example.com",                "committed_at": "2019-09-25T15:50:48.000000Z",                "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",                "message": "fix: some bug",                "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",                "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",                "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"              },              "deployment": {                "type": "deploy",                "source_type": "branch",                "source_ref": "develop",                "repository": "devopness/example",                "provider_name": "github",                "pipeline_id": 23439              }            },            "triggered_from": {              "origin": "https://devopness.com",              "trigger_type": "manual",              "name": "User Name",              "email": "user@example.com",              "ip_address": "172.17.0.9",              "user_id": 794613284672,              "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",              "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"            },            "summary": {              "targets": {                "count": 4,                "pending": 2,                "in_progress": 1,                "completed": 1,                "failed": 0              }            },            "targets": [              {                "id": 1234,                "resource_type": "server",                "resource_type_human_readable": "Server",                "resource_id": 4567890,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "total_steps": 5,                "current_step": {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                },                "steps": [                  {                    "id": 18931,                    "action_id": 98412,                    "action_target_id": 65712,                    "name": "Setting up cron job",                    "description": "Setting up cron job for daily execution at 00:00",                    "order": 3,                    "status": "in-progress",                    "status_human_readable": "Pending",                    "status_reason_code": "PENDING",                    "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                    "started_at": "2019-09-25T15:50:48.000000Z",                    "completed_at": "2019-09-25T13:52:04.000000Z",                    "created_at": "2019-09-25T15:50:48.000000Z",                    "updated_at": "2019-09-25T13:52:04.000000Z"                  }                ],                "resource_data": {                  "id": 4425,                  "name": "my-credential",                  "provider_type": "cloud_provider",                  "provider_code": "aws",                  "provider_name": "aws",                  "provider_name_human_readable": "Amazon Web Services"                },                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "started_at": "2019-08-24T14:15:22Z",            "completed_at": "2019-08-24T14:15:22Z",            "created_at": "2019-08-24T14:15:22Z",            "updated_at": "2019-08-24T14:15:22Z"          }        },        "credential": {          "id": 85324,          "name": "My cool credential",          "provider": {            "active": true,            "code": "aws",            "code_human_readable": "Amazon Web Services",            "type": "cloud_provider",            "type_human_readable": "Cloud Provider"          },          "provider_type": "cloud_provider",          "provider_type_human_readable": "Cloud Provider",          "provider_auth_type": "api_credentials",          "provider_auth_type_human_readable": "API Credentials",          "active": true,          "organization": {            "id": 16523,            "name": "My Organization",            "url_slug": "MyOrganization",            "resource_summary": [              {                "resource_type": "environment",                "resource_type_plural": "environments",                "resource_type_human_readable": "Environment",                "resource_type_human_readable_plural": "Environments",                "summary": {                  "count": 1                }              }            ],            "owner": {              "id": 1,              "name": "string",              "email": "user@example.com",              "url_slug": "someone",              "language": "en",              "active": true,              "created_at": "2019-09-25T15:50:48.000000Z",              "updated_at": "2019-09-25T13:52:04.000000Z"            },            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          },          "created_by_user": {            "id": 1,            "name": "string",            "email": "user@example.com",            "url_slug": "someone",            "language": "en",            "active": true,            "created_at": "2019-09-25T15:50:48.000000Z",            "updated_at": "2019-09-25T13:52:04.000000Z"          },          "last_action": {            "id": 567819876,            "status": "in-progress",            "status_human_readable": "Pending",            "status_reason_code": "PENDING",            "status_reason_human_readable": "Pending: Action created successfully but has not yet been queued for execution.",            "type": "deploy",            "type_human_readable": "Deploy",            "url_web_permalink": "https://devopness.com/actions/567819876",            "action_data": {              "release_name": "2022-07-05-13-25-38",              "commit": {                "repository": "devopness/example",                "author_name": "Author Name",                "author_email": "email@example.com",                "committed_at": "2019-09-25T15:50:48.000000Z",                "hash": "d433e4622fde4b59a48586ed94082e2d76e855c1",                "message": "fix: some bug",                "url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1",                "clone_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.git",                "download_url": "https://source-provider.com/commit/d433e4622fde4b59a48586ed94082e2d76e855c1.tar.gz"              },              "deployment": {                "type": "deploy",                "source_type": "branch",                "source_ref": "develop",                "repository": "devopness/example",                "provider_name": "github",                "pipeline_id": 23439              }            },            "triggered_from": {              "origin": "https://devopness.com",              "trigger_type": "manual",              "name": "User Name",              "email": "user@example.com",              "ip_address": "172.17.0.9",              "user_id": 794613284672,              "hook_id": "28623d9b-0f34-48d7-b5ab-9ed281dc5a6c",              "hook_request_id": "0369a338-10f0-48d0-aa2d-80d1ce14e91e"            },            "summary": {              "targets": {                "count": 4,                "pending": 2,                "in_progress": 1,                "completed": 1,                "failed": 0              }            },            "targets": [              {                "id": 1234,                "resource_type": "server",                "resource_type_human_readable": "Server",                "resource_id": 4567890,                "status": "in-progress",                "status_human_readable": "Pending",                "status_reason_code": "PENDING",                "status_reason_human_readable": "Pending: Target created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                "total_steps": 5,                "current_step": {                  "id": 18931,                  "action_id": 98412,                  "action_target_id": 65712,                  "name": "Setting up cron job",                  "description": "Setting up cron job for daily execution at 00:00",                  "order": 3,                  "status": "in-progress",                  "status_human_readable": "Pending",                  "status_reason_code": "PENDING",                  "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                  "started_at": "2019-09-25T15:50:48.000000Z",                  "completed_at": "2019-09-25T13:52:04.000000Z",                  "created_at": "2019-09-25T15:50:48.000000Z",                  "updated_at": "2019-09-25T13:52:04.000000Z"                },                "steps": [                  {                    "id": 18931,                    "action_id": 98412,                    "action_target_id": 65712,                    "name": "Setting up cron job",                    "description": "Setting up cron job for daily execution at 00:00",                    "order": 3,                    "status": "in-progress",                    "status_human_readable": "Pending",                    "status_reason_code": "PENDING",                    "status_reason_human_readable": "Pending: Step created successfully but has not yet been queued for execution. It will be added to an execution queue once their dependencies are resolved.",                    "started_at": "2019-09-25T15:50:48.000000Z",                    "completed_at": "2019-09-25T13:52:04.000000Z",                    "created_at": "2019-09-25T15:50:48.000000Z",                    "updated_at": "2019-09-25T13:52:04.000000Z"                  }                ],                "resource_data": {                  "id": 4425,                  "name": "my-credential",                  "provider_type": "cloud_provider",                  "provider_code": "aws",                  "provider_name": "aws",                  "provider_name_human_readable": "Amazon Web Services"                },                "started_at": "2019-09-25T15:50:48.000000Z",                "completed_at": "2019-09-25T13:52:04.000000Z",                "created_at": "2019-09-25T15:50:48.000000Z",                "updated_at": "2019-09-25T13:52:04.000000Z"              }            ],            "started_at": "2019-08-24T14:15:22Z",            "completed_at": "2019-08-24T14:15:22Z",            "created_at": "2019-08-24T14:15:22Z",            "updated_at": "2019-08-24T14:15:22Z"          },          "created_at": "2019-09-25T15:50:48.000000Z",          "updated_at": "2019-09-25T15:50:48.000000Z"        },        "created_at": "2019-09-25T15:50:48.000000Z",        "updated_at": "2019-09-25T13:52:04.000000Z"      },      "created_by_user": {        "id": 1,        "name": "string",        "email": "user@example.com",        "url_slug": "someone",        "language": "en",        "active": true,        "created_at": "2019-09-25T15:50:48.000000Z",        "updated_at": "2019-09-25T13:52:04.000000Z"      },      "created_at": "2019-09-25T15:50:48.000000Z",      "updated_at": "2019-09-25T15:50:48.000000Z"    }  ],  "created_at": "2019-09-25T15:50:48.000000Z",  "updated_at": "2019-09-25T13:52:04.000000Z"}