users

사용자 정보 관리

  1. 프로필 수정

프로필 수정

PUT http://localhost:8080/api/users/{user_id}

Path Parameters

Name
Type
Description

user_id*

Long

사용자 id값 (식별자)

Cookies

Name
Type
Description

Authorization*

String

JWT 토큰값

Request Body

Name
Type
Description

password

String

수정할 사용자 비밀번호

nickname

String

수정할 사용자 닉네임

introduction

String

수정할 사용자 자기소개

  1. 회원 탈퇴

회원 탈퇴

DELETE http://localhost:8080/api/users/{user_id}

Path Parameters

Name
Type
Description

user_id*

Long

사용자 id값 (식별자)

Cookies

Name
Type
Description

Authorization*

String

JWT 토큰값

사용자 정보 관리 페이지 관련

  1. 작성한 게시물 조회

작성한 게시물 조회

GET http://localhost:8080/api/users/{user_id}/posts

Path Parameters

Name
Type
Description

user_id*

Long

사용자 id값 (식별자)

Cookies

Name
Type
Description

Authorization*

String

JWT 토큰값

  1. 작성한 댓글 조회

작성한 댓글 조회

GET http://localhost:8080/api/users/{user_id}/comments

Path Parameters

Name
Type
Description

user_id*

Long

사용자 id값 (식별자)

Cookies

Name
Type
Description

Authorization*

String

JWT 토큰값

Last updated