deployments
deployments API, 6 endpoints (generated)
대상 환경으로의 배포 롤아웃, 단계별 로그 및 수동 롤백.
GET /api/v1/deployments/recent
GET/api/v1/deployments/recent
최근 배포 (대시보드)
대시보드 위젯용 최근 배포입니다.
Permission: VIEW
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer |
Responses
| Status | Description |
|---|---|
| 200 | Successful Response (object) |
| 422 | Validation Error (HTTPValidationError) |
GET /api/v1/deployments
GET/api/v1/deployments
배포 목록
호출자 테넌트의 배포 목록입니다.
Permission: VIEW
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
status | query | string? | ||
model | query | string? | ||
page | query | integer | ||
page_size | query | integer? |
Responses
| Status | Description |
|---|---|
| 200 | Successful Response (object) |
| 422 | Validation Error (HTTPValidationError) |
POST /api/v1/deployments
POST/api/v1/deployments
배포 실행
모델 버전을 대상 디바이스에 배포하는 작업을 실행합니다.
Permission: DEPLOY
Request body: application/json, DeploymentCreate
| Field | Type | Required | Description |
|---|---|---|---|
model_name | string | ✓ | Model Name |
version | string | ✓ | Version |
target_device_id | string? | Target Device Id | |
strategy | string | Strategy | |
image | string? | Image | |
previous_version | string? | Previous Version |
Responses
| Status | Description |
|---|---|
| 201 | Successful Response (object) |
| 422 | Validation Error (HTTPValidationError) |
GET /api/v1/deployments/{deployment_id}
GET/api/v1/deployments/{deployment_id}
배포 상세
단일 배포의 전체 상세 정보입니다.
Permission: VIEW
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
deployment_id | path | string (uuid) | ✓ |
Responses
| Status | Description |
|---|---|
| 200 | Successful Response (object) |
| 422 | Validation Error (HTTPValidationError) |
GET /api/v1/deployments/{deployment_id}/logs
GET/api/v1/deployments/{deployment_id}/logs
단계별 로그
배포 파이프라인의 단계별 로그 참조입니다.
Permission: OPERATE
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
deployment_id | path | string (uuid) | ✓ | |
step | query | string? |
Responses
| Status | Description |
|---|---|
| 200 | Successful Response (object) |
| 422 | Validation Error (HTTPValidationError) |
POST /api/v1/deployments/{deployment_id}/rollback
POST/api/v1/deployments/{deployment_id}/rollback
수동 롤백
배포를 이전 버전으로 수동 롤백합니다.
Permission: ROLLBACK
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
deployment_id | path | string (uuid) | ✓ |
Responses
| Status | Description |
|---|---|
| 200 | Successful Response (object) |
| 422 | Validation Error (HTTPValidationError) |