최근검색어
get-list recent search word
GET
http://15.164.213.66/spott/recent
This endpoint allows you to get free cakes.
Headers
Name
Type
Description
Authorization
string
'규칙 참조'
{
"payload": {
"items": [
{
"name": "쇼쇼",
"is_tag": true
},
{
"id": 4,
"nickname": "최지석",
"profile_image": "https://avon-spott-imageserver.s3.ap-northeast-2.amazonaws.com/media/usr/%EC%97%AC%EC%9E%903.jpg",
"is_tag": false
},
{
"id": 3,
"nickname": "박민석",
"profile_image": "https://avon-spott-imageserver.s3.ap-northeast-2.amazonaws.com/media/usr/0.jpg",
"is_tag": false
},
{
"name": "이치원",
"is_tag": true
}
]
},
"message": "create success"
}
POST
Path Parameters
Name
Type
Description
action
string
Request Body
Name
Type
Description
action
integer
'검색된 후
tag_name
string
user_pk
string
'Regacy Method'
PATCH
http://15.164.213.66/spott/recent/:pk
Path Parameters
Name
Type
Description
pk
integer
'최근 검색어 어레이리스트의 포지션'
Headers
Name
Type
Description
Authorization
string
'규칙 참조'
{
"payload": {
"result": true
},
"message": "recent_search_item_click success"
}
DELETE
http://15.164.213.66/spott/recent/:pk
Path Parameters
Name
Type
Description
pk
integer
'전체 삭제 시 -1 부분 삭제시 최금 검색어의 어레이리스트 포지션 값 입력'
Headers
Name
Type
Description
Authorization
string
'규칙 참조'
{
"payload": {
"result": true
},
"message": "delete success"
}
Last updated
Was this helpful?