-
Notifications
You must be signed in to change notification settings - Fork 4
지역구조회
KIMSOYEON edited this page Jan 8, 2019
·
5 revisions
선필
메소드 | 경로 | 설명 |
---|---|---|
GET | /category/district | 카페 지역구 리스트 조회 |
Content-Type: application/json
Authorization: token
카페 지역구 아이디 조회 성공시
{
"status": 200,
"message": "지역구 리스트 조회 성공",
"data": [
{
"address_district_id": 1,
"address_district_name": "종로구"
},
{
"address_district_id": 2,
"address_district_name": "중구"
},
{
"address_district_id": 3,
"address_district_name": "용산구"
},
{
"address_district_id": 4,
"address_district_name": "성동구"
},
{
"address_district_id": 5,
"address_district_name": "광진구"
},
{
"address_district_id": 6,
"address_district_name": "동대문구"
},
{
"address_district_id": 7,
"address_district_name": "중랑구"
},
{
"address_district_id": 8,
"address_district_name": "성북구"
},
{
"address_district_id": 9,
"address_district_name": "강북구"
},
{
"address_district_id": 10,
"address_district_name": "도봉구"
},
{
"address_district_id": 11,
"address_district_name": "노원구"
},
{
"address_district_id": 12,
"address_district_name": "은평구"
},
{
"address_district_id": 13,
"address_district_name": "서대문구"
},
{
"address_district_id": 14,
"address_district_name": "마포구"
},
{
"address_district_id": 15,
"address_district_name": "양천구"
},
{
"address_district_id": 16,
"address_district_name": "강서구"
},
{
"address_district_id": 17,
"address_district_name": "구로구"
},
{
"address_district_id": 18,
"address_district_name": "금천구"
},
{
"address_district_id": 19,
"address_district_name": "영등포구"
},
{
"address_district_id": 20,
"address_district_name": "동작구"
},
{
"address_district_id": 21,
"address_district_name": "관악구"
},
{
"address_district_id": 22,
"address_district_name": "서초구"
},
{
"address_district_id": 23,
"address_district_name": "강남구"
},
{
"address_district_id": 24,
"address_district_name": "송파구"
},
{
"address_district_id": 25,
"address_district_name": "강동구"
}
]
}
조회 실패
{
"status" : 404,
"message" : "지역구 리스트 조회 실패",
"data" : null
}
인증 실패
{
"status" : 401,
"message" : "인증 실패",
"data" : null
}
DB 에러
{
"status" : 600,
"message" : "데이터베이스 에러",
"data" : null
}
INTERNAL SERVER ERROR
{
"status" : 500,
"message" : "서버 내부 에러",
"data" : null
}