-
Notifications
You must be signed in to change notification settings - Fork 1
API 설계
Znero edited this page Nov 28, 2024
·
6 revisions
| Name | HTTP | URI |
|---|---|---|
| 쉘 전체 조회 | GET |
/api/shells |
| 쉘 조회 | GET |
/api/shells/:shell-id |
| 쉘 삭제 | DELETE |
/api/shells/:shell-id |
| 쉘 쿼리 수정 | PUT |
/api/shells/:shell-id |
| 쉘 추가 | POST |
/api/shells |
| Name | HTTP | URI |
|---|---|---|
| 쿼리 실행 | POST |
/api/shells/:shell-id/execute |
| Name | HTTP | URI |
|---|---|---|
| 테이블 전체 조회 | GET |
/api/tables |
| 테이블 조회 | GET |
/api/tables/:tableName |
| Name | HTTP | URI |
|---|---|---|
| 랜덤 레코드 삽입 | POST |
/api/record |
| Name | HTTP | URI |
|---|---|---|
| 사용량 조회 | GET |
/api/usage |
- 정상
{
"status": true,
"data": {
"id": 123,
"name": "John Doe",
"email": "john.doe@example.com"
},
"message": "Request processed successfully"
}- 에러
{
"status": false,
"error": {
"code": 404,
"message": "Resource not found"
}
}