티스토리 뷰

Project

member-api

ryumodern 2021. 10. 25. 14:55
회원

회원 가입

Request

CURL

$ curl 'https://localhost:8443/api/members' -i -X POST \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/hal+json' \
    -d '{
  "email" : "pandabear@gogo.com",
  "nickname" : "horagin",
  "password" : "123456",
  "license" : null,
  "address" : {
    "city" : "seoul",
    "street" : "yeonhui",
    "zipcode" : "1234"
  },
  "multipartFile" : null
}'

HTTPie

$ echo '{
  "email" : "pandabear@gogo.com",
  "nickname" : "horagin",
  "password" : "123456",
  "license" : null,
  "address" : {
    "city" : "seoul",
    "street" : "yeonhui",
    "zipcode" : "1234"
  },
  "multipartFile" : null
}' | http POST 'https://localhost:8443/api/members' \
    'Content-Type:application/json;charset=UTF-8' \
    'Accept:application/hal+json'

Request Fields

필드 타입 필수값 설명 제한

email

String

true

회원 아이디로 사용될 이메일

이메일 형식, 9-64자

nickname

String

true

회원 이름 or 별칭

문자 형식, 4-24자

password

String

true

비밀번호

문자 형식, 4-24자

license

String

사업자번호

숫자 형식 10자

address.city

String

주소 - 도시명

문자 형식, 2-24자

address.street

String

주소 - 도로명

문자 형식, 2-24자

address.zipcode

String

주소 - 우편번호

문자 형식, 5-6자

multipartFile

Varies

이미지 파일

MultipartFile 형식

Request HTTP Example

POST /api/members HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/hal+json
Content-Length: 225
Host: localhost:8443

{
  "email" : "pandabear@gogo.com",
  "nickname" : "horagin",
  "password" : "123456",
  "license" : null,
  "address" : {
    "city" : "seoul",
    "street" : "yeonhui",
    "zipcode" : "1234"
  },
  "multipartFile" : null
}

Response

Response HTTP Example

HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: SAMEORIGIN
Content-Length: 527

{
  "id" : 14,
  "email" : "pandabear@gogo.com",
  "nickname" : "horagin",
  "profileImage" : null,
  "phone" : null,
  "license" : null,
  "createdDateTime" : "2021-12-22 22:07:50",
  "lastModifiedDateTime" : "2021-12-22 22:07:50",
  "leaveDateTime" : null,
  "authority" : "ROLE_USER",
  "address" : {
    "city" : "seoul",
    "street" : "yeonhui",
    "zipcode" : "1234"
  },
  "authProvider" : "LOCAL",
  "status" : "ACTIVE",
  "_links" : {
    "self" : {
      "href" : "https://localhost:8443/api/members/14"
    }
  }
}

회원 로그인

Request

CURL

$ curl 'https://localhost:8443/api/auth/login' -i -X POST \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/hal+json' \
    -d '{
  "email" : "panda@naver.com",
  "password" : "123456"
}'

HTTPie

$ echo '{
  "email" : "panda@naver.com",
  "password" : "123456"
}' | http POST 'https://localhost:8443/api/auth/login' \
    'Content-Type:application/json;charset=UTF-8' \
    'Accept:application/hal+json'

Request Fields

필드 타입 필수값 설명 제한

email

String

true

이메일

이메일 형식 9-64자

password

String

true

비밀번호

문자 형식 4-24자

Request HTTP Example

POST /api/auth/login HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/hal+json
Content-Length: 58
Host: localhost:8443

{
  "email" : "panda@naver.com",
  "password" : "123456"
}

Response

Response HTTP Example

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Set-Cookie: refreshToken=eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2NDA3ODMyNzB9.NvPvX1fKhNQtaEhy2UUYkryB6Y49K1ovtj8UnfzkOcaWwXC95SPYU61MnLJX6FDVJ2hTuVriyeoaU7sesoa82YGUTZQIuCXpQ_ctvGcDDDhwfCzQE0mcN8gtVae6KsUWo87wCqxopCw6_30z9g0YtT_3-ScDxGgi1QOUm7LcSeESXWtbfghVR2K6e_6kk4xmnFGj5c_eT1jcZnKKX33VynPgrCJ2r1Fr1qLcMxrpJXc9KBhajFxPGl23-XUVtOmSPNoNnSBBaMotHLj4NQEIBD9Xd-Eyl-ArLAYd8Pd28Cim2-H4zOpXAoLA3ZH-pZFWrACyIwdjatlAx0chYrxdPeGo28_DVuTxQ9lGk3d4HKUoU8-cqMNqezJqgYN5s6ThoSdWyS2pbNaLTTXiO9NypVZZvsa7W1_bU4ePnGvBX64pbZLnFdEd8h3KVELD-v8q81BEqiU_XyhPdEwXQ6mG2o9X7g9AyvrS1VEEI3fGPrYQSI3IzF8xpoUqVMqzzFqlXXZBKckRAPXkgmtOPwE7wdHZltVeAefeslOVJS7cp8quax6Mxx2cjcTan73EPZyDuIw092QCZnNN4Kw2TbTGurBpwflyH6-s3AezkoBZCGVzGdvFQ2EtjJOKorzpRZgtzlD0sSFwYm9UPeZRvAJxOTgZFPcSYhNn40zkQ7sC15w; Path=/; Domain=woomool-market; Max-Age=604800; Expires=Wed, 29 Dec 2021 13:07:50 GMT; Secure; HttpOnly
Authorization: eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJwYW5kYUBuYXZlci5jb20iLCJhdXRoIjoiUk9MRV9VU0VSIiwiZXhwIjoxNjQwMTgwMjcwfQ.TOFFH2mzEorLQZ6erqsnp5vCf3dpKfmcvjezl78Lw4mq-hGGLnukwaJAe1fTbAq2JA8GgsbWwSG49RHbB79oNAqrKm40NA9Rp_WjEszYWscY1g9V-UmF5AAWXOMmbYYpIWWtcPFBB_lrX5x74Zg0TJqikqIuBCXLlotj5bGBML1Z86OAd3Gxcjxqg7-Ycra3FNdImzjLi6fZIcjMYJavMytzI9SQ-SS359yby-lTTXCIj3xubej8i7m94roiCTTRMRD93wm7JBDUbJKTj_LyrTOqGZqn4Pd86g7tAzfCExs61d7qDj92J4dKHi_QYPIbscBfyCSWUIDURSTV2WrgeElQJ6Hj_gvnyYSPlyTZTlpMAfnd36rKrtnBJqm4nrgiQMBzkxEoUcCHinr74klR-xFoPv2-QF0y57lrI2xDgt_USpmH3arBiiDjDTZqnUjzb6exxrua5br4a5qhCjYvtF8uJQV1yCos8Hrp3h4cXzI9sXHp2gLZLBnMec-faaWxrOOUwEgA0zsqh4ushXF9Qj6ep_3ckHKGNlKZDaFxXs_9sri6xdOGQDkQDnuU1_tQBzC3MZNr3ZB3x08JvdlHvBhai_ibdQr5acgAZQ7zyPcwlaUqwUiad1_WaRxBm7pKJX4lU0AKuYPrPv7-7j63SVBsq08HLqTesV6mPdly0Yg
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: SAMEORIGIN
Content-Length: 1626

{
  "grantType" : "Bearer ",
  "accessToken" : "eyJhbGciOiJSUzUxMiJ9.eyJzdWIiOiJwYW5kYUBuYXZlci5jb20iLCJhdXRoIjoiUk9MRV9VU0VSIiwiZXhwIjoxNjQwMTgwMjcwfQ.TOFFH2mzEorLQZ6erqsnp5vCf3dpKfmcvjezl78Lw4mq-hGGLnukwaJAe1fTbAq2JA8GgsbWwSG49RHbB79oNAqrKm40NA9Rp_WjEszYWscY1g9V-UmF5AAWXOMmbYYpIWWtcPFBB_lrX5x74Zg0TJqikqIuBCXLlotj5bGBML1Z86OAd3Gxcjxqg7-Ycra3FNdImzjLi6fZIcjMYJavMytzI9SQ-SS359yby-lTTXCIj3xubej8i7m94roiCTTRMRD93wm7JBDUbJKTj_LyrTOqGZqn4Pd86g7tAzfCExs61d7qDj92J4dKHi_QYPIbscBfyCSWUIDURSTV2WrgeElQJ6Hj_gvnyYSPlyTZTlpMAfnd36rKrtnBJqm4nrgiQMBzkxEoUcCHinr74klR-xFoPv2-QF0y57lrI2xDgt_USpmH3arBiiDjDTZqnUjzb6exxrua5br4a5qhCjYvtF8uJQV1yCos8Hrp3h4cXzI9sXHp2gLZLBnMec-faaWxrOOUwEgA0zsqh4ushXF9Qj6ep_3ckHKGNlKZDaFxXs_9sri6xdOGQDkQDnuU1_tQBzC3MZNr3ZB3x08JvdlHvBhai_ibdQr5acgAZQ7zyPcwlaUqwUiad1_WaRxBm7pKJX4lU0AKuYPrPv7-7j63SVBsq08HLqTesV6mPdly0Yg",
  "refreshToken" : "eyJhbGciOiJSUzUxMiJ9.eyJleHAiOjE2NDA3ODMyNzB9.NvPvX1fKhNQtaEhy2UUYkryB6Y49K1ovtj8UnfzkOcaWwXC95SPYU61MnLJX6FDVJ2hTuVriyeoaU7sesoa82YGUTZQIuCXpQ_ctvGcDDDhwfCzQE0mcN8gtVae6KsUWo87wCqxopCw6_30z9g0YtT_3-ScDxGgi1QOUm7LcSeESXWtbfghVR2K6e_6kk4xmnFGj5c_eT1jcZnKKX33VynPgrCJ2r1Fr1qLcMxrpJXc9KBhajFxPGl23-XUVtOmSPNoNnSBBaMotHLj4NQEIBD9Xd-Eyl-ArLAYd8Pd28Cim2-H4zOpXAoLA3ZH-pZFWrACyIwdjatlAx0chYrxdPeGo28_DVuTxQ9lGk3d4HKUoU8-cqMNqezJqgYN5s6ThoSdWyS2pbNaLTTXiO9NypVZZvsa7W1_bU4ePnGvBX64pbZLnFdEd8h3KVELD-v8q81BEqiU_XyhPdEwXQ6mG2o9X7g9AyvrS1VEEI3fGPrYQSI3IzF8xpoUqVMqzzFqlXXZBKckRAPXkgmtOPwE7wdHZltVeAefeslOVJS7cp8quax6Mxx2cjcTan73EPZyDuIw092QCZnNN4Kw2TbTGurBpwflyH6-s3AezkoBZCGVzGdvFQ2EtjJOKorzpRZgtzlD0sSFwYm9UPeZRvAJxOTgZFPcSYhNn40zkQ7sC15w",
  "accessTokenExpiresIn" : 1800000
}

회원 본인 조회

Request

CURL

$ curl 'https://localhost:8443/api/members/26' -i -X GET \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/hal+json'

HTTPie

$ http GET 'https://localhost:8443/api/members/26' \
    'Content-Type:application/json;charset=UTF-8' \
    'Accept:application/hal+json'

Request HTTP Example

GET /api/members/26 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/hal+json
Host: localhost:8443

Response

Response Fields

필드 타입 필수값 설명 제한

id

Number

true

고유 번호

email

String

true

이메일

nickname

String

true

이름 또는 별칭

profileImage

String

프로필 사진

phone

String

전화 번호

license

String

사업자 번호

createdDateTime

Varies

true

회원 가입일

lastModifiedDateTime

Varies

true

최종 수정일

leaveDateTime

Varies

탈퇴일

authority

String

true

권한

authProvider

String

소셜 로그인 여부

status

String

true

활성화 여부

address

Object

주소 - 도시명, 도로명, 우편번호

_links

Object

true

HATEOAS

Response HTTP Example

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: SAMEORIGIN
Content-Length: 703

{
  "id" : 26,
  "email" : "panda@naver.com",
  "nickname" : "panda",
  "profileImage" : null,
  "phone" : "01012345678",
  "license" : null,
  "createdDateTime" : "2021-12-22 22:07:51",
  "lastModifiedDateTime" : "2021-12-22 22:07:51",
  "leaveDateTime" : null,
  "authority" : "ROLE_USER",
  "address" : {
    "city" : "seoul",
    "street" : "yeonhui",
    "zipcode" : "01023"
  },
  "authProvider" : "LOCAL",
  "status" : "ACTIVE",
  "_links" : {
    "self" : {
      "href" : "https://localhost:8443/api/members/26"
    },
    "modify-member" : {
      "href" : "https://localhost:8443/api/members/26"
    },
    "leave-member" : {
      "href" : "https://localhost:8443/api/members/26"
    }
  }
}

회원 정보 수정

Request

CURL

$ curl 'https://localhost:8443/api/members/22' -i -X PATCH \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/hal+json' \
    -d '{
  "nickname" : "kcin",
  "password" : "654321",
  "profileImage" : null,
  "phone" : null,
  "license" : null,
  "address" : {
    "city" : "부산",
    "street" : "갈매기",
    "zipcode" : "끼룩"
  },
  "multipartFile" : null
}'

HTTPie

$ echo '{
  "nickname" : "kcin",
  "password" : "654321",
  "profileImage" : null,
  "phone" : null,
  "license" : null,
  "address" : {
    "city" : "부산",
    "street" : "갈매기",
    "zipcode" : "끼룩"
  },
  "multipartFile" : null
}' | http PATCH 'https://localhost:8443/api/members/22' \
    'Content-Type:application/json;charset=UTF-8' \
    'Accept:application/hal+json'

Request Fields

필드 타입 필수값 설명 제한

nickname

String

회원 이름 또는 별칭

문자 형식 6-24자

password

String

비밀번호

문자 형식 4-24자

profileImage

String

프로필 사진

문자 형식 최대 255자

phone

String

전화번호

문자 형식 10-11자

license

String

사업자 번호

문자 형식 10자

address.city

String

주소 - 도시명

문자 형식, 2-24자

address.street

String

주소 - 도로명

문자 형식, 2-24자

address.zipcode

String

주소 - 우편번호

문자 형식, 5-6자

multipartFile

Varies

이미지 파일

MultipartFile 형식

Request HTTP Example

PATCH /api/members/22 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/hal+json
Content-Length: 236
Host: localhost:8443

{
  "nickname" : "kcin",
  "password" : "654321",
  "profileImage" : null,
  "phone" : null,
  "license" : null,
  "address" : {
    "city" : "부산",
    "street" : "갈매기",
    "zipcode" : "끼룩"
  },
  "multipartFile" : null
}

Response

Response HTTP Example

HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Location: https://localhost:8443/api/members/22
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: SAMEORIGIN

회원 탈퇴

Request

CURL

$ curl 'https://localhost:8443/api/members/23' -i -X DELETE \
    -H 'Accept: application/json'

HTTPie

$ http DELETE 'https://localhost:8443/api/members/23' \
    'Accept:application/json'

Request HTTP Example

DELETE /api/members/23 HTTP/1.1
Accept: application/json
Host: localhost:8443

Response

Response HTTP Example

HTTP/1.1 204 No Content
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: SAMEORIGIN

회원 탈퇴 복구

Request

CURL

$ curl 'https://localhost:8443/api/members/deleted/15' -i -X GET \
    -H 'Accept: application/json'

HTTPie

$ http GET 'https://localhost:8443/api/members/deleted/15' \
    'Accept:application/json'

Request HTTP Example

GET /api/members/deleted/15 HTTP/1.1
Accept: application/json
Host: localhost:8443

Response

Response HTTP Example

HTTP/1.1 201 Created
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: SAMEORIGIN

관리자 - 회원 단건 조회

Request

CURL

$ curl 'https://localhost:8443/api/members/admin/25' -i -X GET \
    -H 'Content-Type: application/json;charset=UTF-8' \
    -H 'Accept: application/hal+json'

HTTPie

$ http GET 'https://localhost:8443/api/members/admin/25' \
    'Content-Type:application/json;charset=UTF-8' \
    'Accept:application/hal+json'

Request HTTP Example

GET /api/members/admin/25 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/hal+json
Host: localhost:8443

Response

Response Fields

필드 타입 필수값 설명 제한

id

Number

true

회원 고유 번호

email

String

true

이메일

nickname

String

true

회원 이름 또는 별칭

profileImage

String

프로필 사진

phone

String

전화번호

license

String

사업자 번호

createdDateTime

Varies

true

생성일

lastModifiedDateTime

Varies

true

최종 수정일

leaveDateTime

Varies

탈퇴일

authority

String

true

권한

address

Object

주소

authProvider

String

소셜 로그인 여부

status

String

true

회원 활성화 여부

_links

Object

true

HATEOAS

Response HTTP Example

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/hal+json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: SAMEORIGIN
Content-Length: 779

{
  "id" : 25,
  "email" : "panda@gmail.com",
  "nickname" : "nick",
  "profileImage" : null,
  "phone" : null,
  "license" : null,
  "createdDateTime" : "2021-12-22 22:07:51",
  "lastModifiedDateTime" : "2021-12-22 22:07:51",
  "leaveDateTime" : null,
  "authority" : "ROLE_USER",
  "address" : {
    "city" : "seoul",
    "street" : "yeonhui",
    "zipcode" : "1234"
  },
  "authProvider" : "LOCAL",
  "status" : "ACTIVE",
  "_links" : {
    "self" : {
      "href" : "https://localhost:8443/api/members/25"
    },
    "previous-member" : {
      "href" : "https://localhost:8443/api/members/24"
    },
    "next-member" : {
      "href" : "https://localhost:8443/api/members/25"
    },
    "modify-member" : {
      "href" : "https://localhost:8443/api/members/25"
    }
  }
}

관리자 - 회원 다건 조회

Request

CURL

$ curl 'https://localhost:8443/api/members/admin' -i -X GET \
    -H 'Accept: application/json'

HTTPie

$ http GET 'https://localhost:8443/api/members/admin' \
    'Accept:application/json'

Request HTTP Example

GET /api/members/admin HTTP/1.1
Accept: application/json
Host: localhost:8443

Response

Response Fields

필드 타입 필수값 설명 제한

_embedded.memberQueryResponseList

Array

true

회원 리스트

_links

Object

true

HATEOAS

page

Object

true

페이지 설정

Response HTTP Example

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: SAMEORIGIN
Content-Length: 2862

{
  "_embedded" : {
    "memberQueryResponseList" : [ {
      "id" : 21,
      "email" : "panda-5@naver.com",
      "nickname" : "nick41",
      "profileImage" : null,
      "phone" : null,
      "license" : null,
      "createdDateTime" : "2021-12-22 22:07:50",
      "lastModifiedDateTime" : "2021-12-22 22:07:50",
      "leaveDateTime" : null,
      "authority" : "ROLE_USER",
      "address" : null,
      "authProvider" : "LOCAL",
      "status" : "ACTIVE"
    }, {
      "id" : 20,
      "email" : "panda-4@naver.com",
      "nickname" : "nick31",
      "profileImage" : null,
      "phone" : null,
      "license" : null,
      "createdDateTime" : "2021-12-22 22:07:50",
      "lastModifiedDateTime" : "2021-12-22 22:07:50",
      "leaveDateTime" : null,
      "authority" : "ROLE_USER",
      "address" : null,
      "authProvider" : "LOCAL",
      "status" : "ACTIVE"
    }, {
      "id" : 19,
      "email" : "panda-3@naver.com",
      "nickname" : "nick21",
      "profileImage" : null,
      "phone" : null,
      "license" : null,
      "createdDateTime" : "2021-12-22 22:07:50",
      "lastModifiedDateTime" : "2021-12-22 22:07:50",
      "leaveDateTime" : null,
      "authority" : "ROLE_USER",
      "address" : null,
      "authProvider" : "LOCAL",
      "status" : "ACTIVE"
    }, {
      "id" : 18,
      "email" : "panda-2@naver.com",
      "nickname" : "nick11",
      "profileImage" : null,
      "phone" : null,
      "license" : null,
      "createdDateTime" : "2021-12-22 22:07:50",
      "lastModifiedDateTime" : "2021-12-22 22:07:50",
      "leaveDateTime" : null,
      "authority" : "ROLE_USER",
      "address" : null,
      "authProvider" : "LOCAL",
      "status" : "ACTIVE"
    }, {
      "id" : 17,
      "email" : "panda-1@naver.com",
      "nickname" : "nick01",
      "profileImage" : null,
      "phone" : null,
      "license" : null,
      "createdDateTime" : "2021-12-22 22:07:50",
      "lastModifiedDateTime" : "2021-12-22 22:07:50",
      "leaveDateTime" : null,
      "authority" : "ROLE_USER",
      "address" : null,
      "authProvider" : "LOCAL",
      "status" : "ACTIVE"
    }, {
      "id" : 16,
      "email" : "panda@naver.com",
      "nickname" : "panda",
      "profileImage" : null,
      "phone" : "01012345678",
      "license" : null,
      "createdDateTime" : "2021-12-22 22:07:50",
      "lastModifiedDateTime" : "2021-12-22 22:07:50",
      "leaveDateTime" : null,
      "authority" : "ROLE_USER",
      "address" : {
        "city" : "seoul",
        "street" : "yeonhui",
        "zipcode" : "01023"
      },
      "authProvider" : "LOCAL",
      "status" : "ACTIVE"
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "https://localhost:8443/api/members/admin?page=0&size=10"
    }
  },
  "page" : {
    "size" : 10,
    "totalElements" : 6,
    "totalPages" : 1,
    "number" : 0
  }
}

'Project' 카테고리의 다른 글

cart-api  (0) 2021.10.25
order-api  (0) 2021.10.25
5주차 Java-Spring 웹 개발 인강 후기  (0) 2021.09.07
4주차 Java-Spring 웹 개발 인강  (0) 2021.09.05
3주차 Java-Spring 웹 개발 인강  (0) 2021.08.29
댓글
링크
글 보관함
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Total
Today
Yesterday