회원가입 (member_api)
{
name,
loginID,
password,
passwordCheck,
email,
phoneNumber,
department,
studentID
}
로그인 API (member_api)
{
loginID,
password,
}
{
accessToken
}
비밀번호 찾기 (TODO)
{
email,
}
{
// 비밀번호 초기화 메일 전송
}
본인 정보 조회 (member_api) // isActivated와 isAdmin가 불필요한 정보인지 모르겠다.
{
"loginID",
"email",
"phoneNumber",
"name",
"department",
"studentID",
"profileImageURL",
"isActivated",
"isAdmin",
}
{
name,
password,
passwordCheck,
email,
phoneNumber
}
게시판 목록 조회
{
[
{
"name",
"urlPath",
"readPermission",
"writePermission",
"id"
}
]
}
특정 게시판 조회 (MEMBER의 ROLE에 따라 가져올 수 있는 지 없는 지 다름)
{
"name",
"urlPath",
"readPermission",
"writePermission",
"id"
}
게시판 생성 (ADMIN만 가능)
{
"name",
"readPermission",
"wrtiePermission"
"urlPath"
}
게시판 수정 (ADMIN만 가능)
{
"name",
"readPermission",
"writePermission",
"urlPath"
}
게시판 삭제 (ADMIN만 가능)
{
[
"postId",
"memberUuid",
"memberName",
"title",
"body",
"createdAt",
"comments" : [
"commentId",
"postId",
"uuid",
"memberName",
"body",
"createdAt"
]
"commentCount"
]
}
{
"postId",
"memberUuid",
"title",
"body",
"createdAt",
"comments": [
"commentId",
"postId",
"uuid",
"memberName",
"body",
"createdAt"
]
"commentCount"
}
{
"boardId"
"title",
"body"
}
{
"postId"
}
{
"body",
"title"
}