랜덤 3개 브랜드 별 인기 상품 리스트 조회
메소드 |
경로 |
짧은 설명 |
GET |
/brands/randomPopular/three |
랜덤 3개 브랜드 별 인기 상품 리스트 조회 |
변수 설명
Brand
키값(변수명) |
타입 |
설명 |
idx |
int |
brand_idx(브랜드 고유번호) |
name_korean |
String |
브랜드 명(kor) |
name_english |
String |
브랜드 명(eng) |
gender |
String |
성별 (여성 |
style1 |
string |
상품 style1 |
style2 |
string |
상품 스타일2 |
like_score |
int |
브랜드 좋아요 개수 |
link |
string |
브랜드 홈페이지 링크 |
logo_url |
string |
브랜드 로고 링크 |
mainpage_url |
string |
메인페이지 이미지 링크 |
mainfeed_url |
string |
메인피드 이미지 링크 |
brand_like |
int |
해당 유저의 브랜드 like flag (0 - not like / 1 - like) |
products |
Object[] |
Product Type의 object array |
Product
키값(변수명) |
타입 |
설명 |
idx |
int |
product_idx(상품 고유번호) |
name |
String |
상품 이름 |
price |
String |
상품 가격 |
image_url |
String |
상품 이미지 url |
product_category_index |
int |
상품 카테고리 인덱스 (outer : 0 , jacket : 1 ...) |
brand_idx |
int |
해당 상품 브랜드 고유 번호 |
date |
Date |
상품 등록 일자 |
link |
String |
해당 상품 자사 웹뷰 url |
measure |
Object |
상품 치수 |
like_score |
int |
상품 좋아요 갯수 |
product_like |
int |
로그인 유저의 해당 브랜드 좋아요 유무 0 : x, 1: 좋아요 o |
name_korean |
String |
해당 상품 브랜드 korean 이름 |
name_english |
String |
해당 상품 브랜드 english 이름 |
요청 헤더
Authorization: token
응답 바디
랜덤 3개 브랜드 별 인기 상품 리스트 조회 성공
{
"status": 200,
"message": "랜덤 3개 브랜드 별 인기 상품 리스트 조회 성공",
"data": [
"status": 200,
"message": "랜덤 3개 브랜드 별 인기 상품 리스트 조회 성공",
"data": [
{
"status": 200,
"message": "랜덤 3개 브랜드 별 인기 상품 리스트 조회 성공",
"data": [
{
"idx": 3,
"name_korean": "라퍼지스토어",
"name_english": "LAFUDGESTORE",
"gender": "공용",
"style1": "미니멀",
"style2": "놈코어",
"like_score": 8088,
"link": "http://lafudgestore.com/",
"logo_url": "https://s3.ap-northeast-2.amazonaws.com/befit-server/03.+lafudgestore.png",
"mainpage_url": "https://s3.ap-northeast-2.amazonaws.com/befit-server/03_lafudgestore.png",
"mainfeed_url": "https://s3.ap-northeast-2.amazonaws.com/befit-server/03-lafudgestore.png",
"brand_like": 0,
"products": [
{
"idx": 42,
"name": "울 가디건 코트_Black",
"price": "124,000",
"image_url": "https://image.musinsa.com/images/goods_img/20180906/850133/850133_1_500.jpg",
"product_category_index": 2,
"brand_idx": 3,
"date": "2018-12-20T00:00:00.000+0000",
"link": "m.lafudgestore.com/product/detail.html?product_no=1371&cate_no=43&display_group=1",
"measure": {
"L": {
"총장": "72",
"가슴단면": "61",
"소매길이": "61",
"어깨너비": "47"
},
"M": {
"총장": "70",
"가슴단면": "59",
"소매길이": "60",
"어깨너비": "45"
},
"S": {
"총장": "68",
"가슴단면": "57",
"소매길이": "59",
"어깨너비": "43"
}
},
"like_score": 984,
"product_like": 0,
"name_korean": "라퍼지스토어",
"name_english": "LAFUDGESTORE"
},
{
"idx": 44,
"name": "(Unisex) 퀄팅 스타디움 자켓_Black",
"price": "98,000",
"image_url": "https://image.musinsa.com/images/goods_img/20180816/829191/829191_1_500.jpg",
"product_category_index": 1,
"brand_idx": 3,
"date": "2018-11-26T00:00:00.000+0000",
"link": "m.lafudgestore.com/product/detail.html?product_no=1317&cate_no=43&display_group=1",
"measure": {
"L": {
"총장": "73",
"가슴단면": "62",
"소매길이": "60",
"어깨너비": "56"
},
"M": {
"총장": "71",
"가슴단면": "60",
"소매길이": "59",
"어깨너비": "54"
},
"S": {
"총장": "69",
"가슴단면": "58",
"소매길이": null,
"어깨너비": "52"
}
},
"like_score": 723,
"product_like": 0,
"name_korean": "라퍼지스토어",
"name_english": "LAFUDGESTORE"
},
{
"idx": 47,
"name": "B3 무톤자켓_Rank Black",
"price": "143,000",
"image_url": "https://image.musinsa.com/images/goods_img/20180918/861009/861009_1_500.jpg",
"product_category_index": 0,
"brand_idx": 3,
"date": "2018-11-19T00:00:00.000+0000",
"link": "m.lafudgestore.com/product/detail.html?product_no=1438&cate_no=43&display_group=1",
"measure": {
"L": {
"총장": "68",
"가슴단면": "61",
"소매길이": "64",
"어깨너비": "52"
},
"M": {
"총장": "66",
"가슴단면": "59",
"소매길이": "63",
"어깨너비": "50"
},
"S": {
"총장": "64",
"가슴단면": "57",
"소매길이": "62",
"어깨너비": "48"
}
},
"like_score": 708,
"product_like": 0,
"name_korean": "라퍼지스토어",
"name_english": "LAFUDGESTORE"
}
]
},
{
"brand": {...,
"products" : [{...}, {...}, {...}]
}
},
{
"brand": {...,
"products" : [{...}, {...}, {...}]
}
},
]
}
랜덤 3개 브랜드 별 인기 상품 리스트 조회 실패
{
"status": 400,
"message": "랜덤 3개 브랜드 별 인기 상품 리스트 조회 실패",
"data": null
}
인증 실패
{
"status": 401,
"message": "인증 실패",
"data": null
}
서버 내부 오류
{
"status": 500,
"message": "서버 내부 에러",
"data": null
}
데이터베이스 에러
{
"status": 600,
"message": "데이터베이스 에러",
"data": null
}