Skip to content

API 설계

mintaek edited this page Nov 15, 2024 · 6 revisions

API 명세서

API 명세서

API 설계

Name HTTP URI
쉘 전체 가져오기 GET /api/shells
쉘 삭제 DELETE /api/shells/:shell-id
쉘 쿼리 수정 PUT /api/shells/:shell-id
쉘 추가 POST /api/shells

QUERY

Name HTTP URI
쿼리 실행 POST /api/shells/execute

ERD

Name HTTP URI
ERD 가져오기 GET /api/erd

response format

  • 정상
{
  "status": true,
  "data": {
    "id": 123,
    "name": "John Doe",
    "email": "[email protected]"
  },
  "message": "Request processed successfully"
}
  • 에러
{
  "status": false,
  "error": {
    "code": 404,
    "message": "Resource not found"
  }
}

Clone this wiki locally