/api/users/signup
{
"userName" : "userName",
"userPassword" : "userPassword",
"userEmail" : "userEmail",
"userImageUrl" : "userImageUrl",
"userIntroduce" : "userIntroduce"
}
{
”userId” : 1,
"userName" : "손창현",
"userEmail" : “cson90563@gmail.com",
"userImageUrl" : "s3-image-url.com",
"userIntroduce" : "안녕하세요."
}
/api/users/login
{
"userName" : "userName",
"userPassword" : "password"
}
{
"accessToken" : "accessToken",
"refreshToken" : "refreshToken"
}
/apli/users/logoutAuthorization : “accesstoken”
{
"msg": "요청 성공",
"statusCode": 200
}
/api/users/{userId}Authorization : “accesstoken”
{
"userImageUrl": "imageUrl",
"userIntroduce": "introduce"
}
{
”userId” : 1,
"userName" : "손창현",
"email" : “cson90563@gmail.com",
"imageUrl" : "s3-image-url.com",
"introduce" : "안녕하세요."
}
/api/users/reissueAuthorization : “refreshtoken”
{
"msg": "요청 성공",
"statusCode": 200
}
/api/boardsAuthorization : “accesstoken”
{
"boardTitle" : "boardTitle",
"boardContent" : "boardContent"
}
{
”boardId” : “1”,
"boardTitle" : "게시글1",
”userName” : “손창현”
"boardContent" : "내용1",
"craetedDate" : "2023-11-21",
”modifiedDate" : "2023-11-22"
}
/api/boards/{boardId}Authorization : “accesstoken”
{
”boardId” : “1”,
"boardTitle" : "게시글1",
”userName” : “손창현”
"boardContent" : "내용1",
"craetedDate" : "2023-11-21",
”modifiedDate" : "2023-11-22"
}
/api/boardsAuthorization : “accesstoken”
[
{
"boardId": "1",
"boardTitle": "게시글1",
"userName": "손창현",
"boardContent": "내용1",
"craetedDate": "2023-11-21",
"modifiedDate": "2023-11-22"
},
{
"boardId": "1",
"boardTitle": "게시글1",
"userName": "손창현",
"boardContent": "내용1",
"craetedDate": "2023-11-21",
"modifiedDate": "2023-11-22"
},
{
"boardId": "1",
"boardTitle": "게시글1",
"userName": "손창현",
"boardContent": "내용1",
"craetedDate": "2023-11-21",
"modifiedDate": "2023-11-22"
}
]
/api/boards/{boardId}Authorization : “accesstoken”
{
"boardTitle" : "boardTitle",
"boardContent" : "boardContent"
}
{
”boardId” : “1”,
"boardTitle" : "게시글1",
”userName” : “손창현”
"boardContent" : "내용1",
"craetedDate" : "2023-11-21",
”modifiedDate" : "2023-11-22"
}
/api/boards/{boardId}Authorization : “accesstoken”
{
"msg": "요청 성공",
"statusCode": 200
}
/api/boards/like/{boardId}Authorization : “accesstoken”
{
”userId” : “userId”,
”boardId” : “boardId”
}
{
"msg": "요청 성공",
"statusCode": 200
}
/api/boards/like/{boardId}Authorization : “accesstoken”
{
"msg": "요청 성공",
"statusCode": 200
}
/api/commentsAuthorization : “accesstoken”
{
”boardId” : “boardId”,
"commentContent" : "commentContent"
}
{
"commentId" : 1,
"commentContent" : "좋은 글 감사합니다."
}
/api/comments/{commentId}Authorization : “accesstoken”
{
"commentId" : 1,
"commentContent" : "좋은 글 감사합니다."
}
/api/comments/{commentId}Authorization : “accesstoken”
{
"commentContent" : "commentContent"
}
{
"commentId" : 1,
"commentContent" : "좋은 글 감사합니다."
}
/api/comments/{commentId}Authorization : “accesstoken”
{
"msg": "요청 성공",
"statusCode": 200
}
/api/comments/{commentId}/likeAuthorization : “accesstoken”
{
"msg": "요청 성공",
"statusCode": 200
}
/api/comments/{commentId}/likeAuthorization : “accesstoken”
{
"msg": "요청 성공",
"statusCode": 200
}
/api/users/{userId}/followAuthorization : “accesstoken”
{
"msg": "요청 성공",
"statusCode": 200
}
/api/users/{userId}/followAuthorization : “accesstoken”
{
"msg": "요청 성공",
"statusCode": 200
}