Skip to content

Applications

GET /applications/{application_id}/deployments

Path parameters:

NameTypeDescription
application_idstring

Response:

{
"items": [
{}
],
"pagination": {}
}
GET /applications/{application_id}/observability

Path parameters:

NameTypeDescription
application_idstring

Response:

{
"range": "string",
"history": [
{
"timestamp": {},
"cpu_usage_m": {},
"memory_usage_bytes": {},
"pod_count": {},
"restart_count": {}
}
]
}
GET /applications/{application_id}/pipeline-metrics

Path parameters:

NameTypeDescription
application_idstring

Response:

{
"build": {},
"release": {},
"deploy": {}
}
GET /applications/{application_id}/pipeline-status

Path parameters:

NameTypeDescription
application_idstring

Response:

{
"build": {},
"release": {},
"deploy": {}
}
GET /applications/{org_slug}/{project_slug}

Path parameters:

NameTypeDescription
org_slugstring
project_slugstring

Response:

[
{
"id": "string",
"name": "string",
"slug": "string",
"project_id": "string",
"platform": "string",
"created": {},
"latest_image_version": {},
"latest_release_version": {},
"latest_deployment_complete": {}
}
]
GET /applications/{org_slug}/{project_slug}/{app_slug}

Path parameters:

NameTypeDescription
org_slugstring
project_slugstring
app_slugstring

Response:

{
"id": "string",
"name": "string",
"slug": "string",
"project_id": "string",
"project_slug": "string",
"organization_slug": "string",
"platform": "string",
"process_counts": {},
"process_pod_classes": {},
"github_repository": {},
"github_repository_is_private": true,
"auto_deploy_branch": {},
"subdirectory": {},
"github_app_installation_id": {},
"github_environment_name": {},
"deployment_timeout": {},
"health_check_path": "string",
"health_check_host": {},
"privileged": true,
"created": {},
"updated": {},
"latest_image": {},
"latest_release": {},
"latest_deployment": {}
}
POST /applications

Request body:

{
"name": "string",
"slug": "string",
"project_id": "string"
}

Response:

{
"id": "string",
"name": "string",
"slug": "string",
"project_id": "string",
"project_slug": "string",
"organization_slug": "string",
"platform": "string",
"process_counts": {},
"process_pod_classes": {},
"github_repository": {},
"github_repository_is_private": true,
"auto_deploy_branch": {},
"subdirectory": {},
"github_app_installation_id": {},
"github_environment_name": {},
"deployment_timeout": {},
"health_check_path": "string",
"health_check_host": {},
"privileged": true,
"created": {},
"updated": {},
"latest_image": {},
"latest_release": {},
"latest_deployment": {}
}
POST /applications/{application_id}/deploy

Path parameters:

NameTypeDescription
application_idstring

Response:

{
"ok": true,
"image_id": "string"
}
POST /applications/{application_id}/scale

Path parameters:

NameTypeDescription
application_idstring

Request body:

{
"process_counts": {},
"process_pod_classes": {}
}

Response:

{
"id": "string",
"name": "string",
"slug": "string",
"project_id": "string",
"project_slug": "string",
"organization_slug": "string",
"platform": "string",
"process_counts": {},
"process_pod_classes": {},
"github_repository": {},
"github_repository_is_private": true,
"auto_deploy_branch": {},
"subdirectory": {},
"github_app_installation_id": {},
"github_environment_name": {},
"deployment_timeout": {},
"health_check_path": "string",
"health_check_host": {},
"privileged": true,
"created": {},
"updated": {},
"latest_image": {},
"latest_release": {},
"latest_deployment": {}
}
PATCH /applications/{application_id}/settings

Path parameters:

NameTypeDescription
application_idstring

Request body:

{
"github_repository": {},
"github_repository_is_private": {},
"auto_deploy_branch": {},
"subdirectory": {},
"github_app_installation_id": {},
"github_environment_name": {},
"deployment_timeout": {},
"health_check_path": {},
"health_check_host": {}
}

Response:

{
"id": "string",
"name": "string",
"slug": "string",
"project_id": "string",
"project_slug": "string",
"organization_slug": "string",
"platform": "string",
"process_counts": {},
"process_pod_classes": {},
"github_repository": {},
"github_repository_is_private": true,
"auto_deploy_branch": {},
"subdirectory": {},
"github_app_installation_id": {},
"github_environment_name": {},
"deployment_timeout": {},
"health_check_path": "string",
"health_check_host": {},
"privileged": true,
"created": {},
"updated": {},
"latest_image": {},
"latest_release": {},
"latest_deployment": {}
}