성공 응답 포맷
{
"status": "SUCCESS",
"data": {
"testKey": "testValue"
}
}
예외 응답 포맷
{
"status": "ERROR",
"code" : "AA01", // 에러 코드
"message" : "잘못된 파라미터가 포함되었습니다.", // 에러 메세지
"errors": [ // 에러 상세
{
"field": "number",
"message": "필수 값입니다."
},
{
"field": "bakeryName",
"message": "최대 50글자까지만 가능합니다."
},
]
}
인증 예외
{
"status": "ERROR",
"code": "AC001",
"message": "유효한 자격증명이 제공되지 않았습니다. Full authentication is required to access this resource"
}
<aside>
{
"status":"ERROR",
"code": "AB002",
"message": "유효하지 않은 토큰입니다. 유효하지 않은 토큰입니다."
}
</aside>