Skip to content

member_setting_main

이동훈 edited this page Jan 1, 2020 · 4 revisions

조직설정 기본화면

Context-type : application/json

GET /mypage/member


Reqest

header

Authorization : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImVoZGduczE3NjZAZ21haWwuY29tIiwibmFtZSI6IuydtOuPme2biCIsImlhdCI6MTU3NzQwNzg1NiwiZXhwIjoxNTc5OTk5ODU2LCJpc3MiOiJGbG9vZFNlcnZlciJ9.Zf_LNfQIEdFl84r-tPQpT1nLaxdotkFutOxwNQy-w58


Response

Sucess

{
    "message": "그룹 멤버 정보 읽기 성공",
    "data": {
        "admin": [
            {
                "_id": "5e05552cb0f4125efbc3ca64",
                "email": "[email protected]",
                "name": "이동훈",
                "rank": "사장",
                "profileImage": "https://flood-master.s3.ap-northeast-2.amazonaws.com/1577507225102.jpg"
            }
        ],
        "member": [
            {
                "_id": "5e04f716b42a621f340be188",
                "email": "test",
                "name": "로그인테스트",
                "rank": "사장",
                "profileImage": "https://flood-master.s3.ap-northeast-2.amazonaws.com/1577430656429.jpg"
            }
        ]
    }
}

Fail: 401

{
    "message": "admin계정이 아닙니다."
}

Fail: 500

{
  "message": "server error"
}
Clone this wiki locally