lablup / lablup/backend.ai

Add Deployment REST API endpoints

Open
#7,379 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Overview

Implement REST API endpoints for Deployment CRUD operations.

## Tasks

1. Create REST endpoints in manager API:
- POST /deployments - Create deployment
- GET /deployments - List deployments (with pagination, filtering)
- GET /deployments/{id} - Get deployment detail
- PATCH /deployments/{id} - Update deployment
- DELETE /deployments/{id} - Delete deployment
1. Implement request validation using DTOs
1. Implement proper error responses
1. Add OpenAPI documentation
1. Write integration tests

## Notes

- Use pydantic DTOs from previous story
- Separate from existing /endpoints API

JIRA Issue: BA-3431

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.