Skip to content

Repository files navigation

일정 관리 앱

API 명세서

Aa 기능 Method URL Request Response StatusCode Description
일정 생성 POST /schedules {
"name" : "작성자",
"password" : "비밀번호",
"title" : "제목",
"contents" : "내용"
}
{
"id" : "1",
"name" : "작성자",
"title" : "제목",
"contents" : "내용",
"createdAt" : "2025-02-02T17:11:10.25361",
"updatedAt" : "2025-02-02T17:11:10.25361"
}
Code : 200 최초 입력 시, 수정일은 작성일과 동일
전체 일정 조회 GET /schedules

/schedules?updatedAt=2025-02-02

/schedules?name=작성자

/schedules?updatedAt=2025-02-02&name=작성자
- [
{
"id" : "2",
"name" : "작성자",
"title" : "제목",
"contents" : "내용",
"createdAt" : "2025-02-02T17:11:10.25361",
"updatedAt" : "2025-02-04T17:11:10.25361"
},
{
"id" : "1",
"name" : "작성자",
"title" : "제목",
"contents" : "내용",
"createdAt" : "2025-02-02T17:11:10.25361",
"updatedAt" : "2025-02-02T17:11:10.25361"
}
]
Code : 200

Code : 404
Content : "해당 일정이 존재하지 않습니다."
수정일, 작성자 조건을 바탕으로 등록된 일정 목록을 전부 조회

수정일 기준 내림차순(최신순)으로 정렬하여 조회
단건 일정 조회 GET /schedules/{id} - {
"id" : "1",
"name" : "작성자",
"title" : "제목",
"contents" : "내용",
"createdAt" : "2025-02-02T17:11:10.25361",
"updatedAt" : "2025-02-02T17:11:10.25361"
}
Code : 200

Code : 404
Content : "해당 일정이 존재하지 않습니다."
-
단건 일정 수정 PATCH /schedules/{id} {
"name" : "작성자",
"password" : "비밀번호",
"title" : "제목",
"contents" : "내용"
}
{
"id" : "1",
"name" : "작성자",
"title" : "제목",
"contents" : "내용",
"createdAt" : "2025-02-02T17:11:10.25361",
"updatedAt" : "2025-02-02T17:11:10.25361"
}
Code : 200

Code : 404
Content : "해당 일정이 존재하지 않습니다.",
"비밀번호를 잘못 입력하였습니다."
일정 수정 시, 비밀번호 검증
단건 일정 삭제 DELETE /schedules/{id} {
"password" : "비밀번호"
}
- Code : 200

Code : 404
Content : "해당 일정이 존재하지 않습니다.",
"비밀번호를 잘못 입력하였습니다."
일정 삭제 시, 비밀번호 검증

ERD

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages