---
title: "获取可发布的应用列表"
method: GET
path: "/apps/deployment/applications"
tags: ["QuickDeployment"]
---

# 获取可发布的应用列表

`GET /apps/deployment/applications`

根据业务组、部门和环境获取可发布的应用列表

## Query parameters

- `business_group_id` integer, required
- `business_dept_id` integer, required
- `environment` string, required

## Response `200`

OK

- object
  - `code` integer — 状态码
  - `data` ModelApplicationForDeployment[] — 返回的数据
    - `can_deploy` boolean — 是否可以部署
    - `code` string — 应用编码
    - `environment` string — 环境名称
    - `id` integer — 应用ID
    - `jenkins_env_id` integer — Jenkins环境配置ID
    - `job_name` string — Jenkins任务名称
    - `name` string — 应用名称
    - `reason` string — 不能部署的原因
  - `message` string — 提示信息

---

[API](https://skmtc.net/opsre/apis/devops.md) · [All operations](https://skmtc.net/opsre/apis/devops/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opsre/devops/revisions/25cac8835c4c/schema)
