Skip to content

GetSearch api

김예지 edited this page Dec 28, 2021 · 2 revisions

getSearchText

default 주소 : https://localhost

메소드 경로 설명
GET /item/result 텍스트 검색

Ex1.

Request Body

{
"searchBy" : "itemNm",
"searchQuery" : "삐아"
}

Response

Success

{
"content" : [
{
"id" : 12,
"brandN," : "삐아",
"untNm" : "삐아 네버다이 틴트 - 01실속파",
"color" : "C24E58",
"price" : 7000,
"similarity" : null,
"repImg" : "/images/prdimg/20201116/10006393/10006393_D_001_360.jpg"
},
{
"id" : 13,
"brandN," : "삐아",
"untNm" : "삐아 네버다이 틴트 - 02의리파",
"color" : "CC4D3F",
"price" : 7000,
"similarity" : null,
"repImg" : "/images/prdimg/20201116/10006393/10006393_D_001_360.jpg"
}
]
}

Ex2.

Request Body

{
"searchBy" : "color",
"searchQuery" : "A62941"
}

Response

Success

{
"content" : [
{
"id" : 89,
"brandN," : "페리페라",
"untNm" : "페리페라 잉크더벨벳AD - 020 여주등극",
"color" : "A62941",
"price" : 9000,
"similarity" : 100,
"repImg" : "/images/prdimg/20210413/10004594/10004594_D_002_360.jpg"
},
{
"id" : 418,
"brandN," : "우드버리",
"untNm" : "우드버리 스무디 벨벳 틴트 - 코랄 핑크",
"color" : "A72D42",
"price" : 11000,
"similarity" : 99,
"repImg" : "/images/prdimg/201800845/1003584/1003584_D_001_360.jpg"
}
]
}

Clone this wiki locally